Better formatting on fundraising-percentage.
This commit is contained in:
parent
ad787ca5a9
commit
df9976598c
2 changed files with 4 additions and 2 deletions
|
@ -128,7 +128,9 @@ h3 { margin-top: .6em; margin-bottom: .4em; }
|
|||
#fundraiser-percentage {
|
||||
float: right;
|
||||
align: center;
|
||||
vertical-align: middle;
|
||||
width: 100%;
|
||||
top: 2.5%;
|
||||
position: absolute;
|
||||
margin-right: 40%;
|
||||
font-style: bold;
|
||||
color: green;
|
||||
|
|
|
@ -106,7 +106,7 @@ el.attachEvent('on'+ev, function() {handler.apply(el);});
|
|||
<h3>Support NPO Accounting Project Now!</h3>
|
||||
$<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/>
|
||||
<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>
|
||||
<a id="donate" style="text-decoration:none"></a>
|
||||
<h3>Help us reach our goal:</h3>
|
||||
|
|
Loading…
Reference in a new issue