Better formatting on fundraising-percentage.

This commit is contained in:
Bradley M. Kuhn 2015-03-08 21:46:48 -07:00
parent ad787ca5a9
commit df9976598c
2 changed files with 4 additions and 2 deletions

View file

@ -128,7 +128,9 @@ h3 { margin-top: .6em; margin-bottom: .4em; }
#fundraiser-percentage { #fundraiser-percentage {
float: right; float: right;
align: center; align: center;
vertical-align: middle; width: 100%;
top: 2.5%;
position: absolute;
margin-right: 40%; margin-right: 40%;
font-style: bold; font-style: bold;
color: green; color: green;

View file

@ -106,7 +106,7 @@ el.attachEvent('on'+ev, function() {handler.apply(el);});
<h3>Support NPO Accounting Project Now!</h3> <h3>Support NPO Accounting Project Now!</h3>
$<span id="fundraiser-so-far">{{ fundgoal.fundraiser_so_far_amount|floatformat:0|intcomma }}</span> raised toward<br/> $<span id="fundraiser-so-far">{{ fundgoal.fundraiser_so_far_amount|floatformat:0|intcomma }}</span> raised toward<br/>
our $<span id="fundraiser-goal">{{ fundgoal.fundraiser_goal_amount|floatformat:0|intcomma }}</span> goal.<br/> our $<span id="fundraiser-goal">{{ fundgoal.fundraiser_goal_amount|floatformat:0|intcomma }}</span> goal.<br/>
<div id="progressbar"><span id="fundraiser-percentage" style="float:right; align:center; margin-right:40%">{{ fundgoal.percentage_there|floatformat:1 }}%</span></div> <div id="progressbar"><span id="fundraiser-percentage">{{ fundgoal.percentage_there|floatformat:1 }}%</span></div>
<p style="font-size: 75%">(Progress bar updated daily.)</p> <p style="font-size: 75%">(Progress bar updated daily.)</p>
<a id="donate" style="text-decoration:none"></a> <a id="donate" style="text-decoration:none"></a>
<h3>Help us reach our goal:</h3> <h3>Help us reach our goal:</h3>