From cadee0ff370da33f852eca7ed8ef2e7f1aab8d8e Mon Sep 17 00:00:00 2001 From: Martin Wright Date: Tue, 3 Apr 2018 15:49:52 +0100 Subject: [PATCH] replace the gender balance promo with one for democratic commons --- views/country.erb | 16 +++++----------- views/sass/_custom.scss | 15 +++++++++++++++ 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/views/country.erb b/views/country.erb index eb3022ee5..3e1498b75 100644 --- a/views/country.erb +++ b/views/country.erb @@ -41,19 +41,13 @@ -
+
-
-

Help us collect gender information for <%= @page.country.name %> by playing our fiendishly addictive online game, Gender Balance!

-

Swipe your way through politicians in a flash, and work your way up our leaderboard.

-

Play Gender Balance now

- - -
- Gender-Balance app preview -
-
+
+

Part of the Democratic Commons

+

A growing community of individuals and organisations working to make information on every politician in the world freely available to all, through Wikidata.

+

Help gather the data, use it for your own projects — or give us feedback

diff --git a/views/sass/_custom.scss b/views/sass/_custom.scss index 0cd7c00f8..12703abb1 100644 --- a/views/sass/_custom.scss +++ b/views/sass/_custom.scss @@ -176,6 +176,20 @@ } } +.page-section--demo-commons-promo { + @media (min-width: $medium_screen) { + padding: 3em 0; + } +} + +.demo-commons-promo { + //Bare-bones promo for now, there's room for a logo or graphics when they exist + max-width: 40em; // avoid silly long lines + a { + text-decoration: underline; + } +} + // My kingdom for a parent selector in CSS! // Add some extra margin above the promo section because the screencast // sticks out and it feels a bit tight against the previous section. @@ -184,6 +198,7 @@ margin-top: 2em; padding: 3em 0; } + } .gender-balance-promo {