css: Add a little style to the progressbar.

This commit is contained in:
Brett Smith 2017-11-27 13:30:27 -05:00
parent 0add4633c1
commit 828fd09d11
2 changed files with 11 additions and 7 deletions

View file

@ -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

View file

@ -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 %}
<div class="fundraiser-top-text">
<em>
<p>
{% 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 &mdash; <a href="/supporter">sign up now</a>!
@ -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! <a href="/supporter/">Join today!</a>
{% endif %}
</em>
</p>
<div id="siteprogressbar">
<a href="/supporter">
We've matched