From 828fd09d113f9319ff8dc0792618406fa8ad59dc Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Mon, 27 Nov 2017 13:30:27 -0500 Subject: [PATCH] css: Add a little style to the progressbar. --- www/conservancy/static/css/conservancy.css | 14 +++++++++----- www/conservancy/templates/base_conservancy.html | 4 ++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/www/conservancy/static/css/conservancy.css b/www/conservancy/static/css/conservancy.css index 29503745..31dd584c 100644 --- a/www/conservancy/static/css/conservancy.css +++ b/www/conservancy/static/css/conservancy.css @@ -138,9 +138,6 @@ h3 { margin-top: .6em; margin-bottom: .4em; } background: rgb(206, 31, 31); } -#siteprogressbar { - margin: .5em 20% .5em 2%; -} #siteprogressbar .goalText { color: #557733; font-size: 10pt; @@ -455,10 +452,17 @@ dd { .fundraiser-top-text { background: #F0FFB8; - padding: .7em .7em .7em .7em; + padding: .2em .7em; } -.fundraiser-top-text em { +.fundraiser-top-text * { + margin: .5em auto; + max-width: 70em; + width: 95%; +} +.fundraiser-top-text p { font-size: 110%; + font-style: italic; + text-align: center; } /* Fallback elements created by conservancy.js when no video source is diff --git a/www/conservancy/templates/base_conservancy.html b/www/conservancy/templates/base_conservancy.html index ba4d18aa..043ef634 100644 --- a/www/conservancy/templates/base_conservancy.html +++ b/www/conservancy/templates/base_conservancy.html @@ -65,7 +65,7 @@ this_match_remaining: this_match_goal - this_match_so_far {% with this_match_goal=sitefundgoal.fundraiser_goal_amount this_match_so_far=sitefundgoal.fundraiser_so_far_amount %} {% with this_match_remaining=this_match_goal|subtract:this_match_so_far %}
- +

{% if this_match_remaining <= 0 %} Thanks to {{ sitegoal.fundraiser_donation_count|intcomma }} Supporters we earned our full match! Help us go further to stand up for software freedom — sign up now! @@ -73,7 +73,7 @@ this_match_remaining: this_match_goal - this_match_so_far Let's stand up for software freedom together! The next ${{ this_match_remaining|floatformat:0|intcomma }} we receive from Supporters and donors will be matched! Join today! {% endif %} - +