Changeset - df9976598c65
[Not reviewed]
0 2 0
Bradley Kuhn (bkuhn) - 7 years ago 2015-03-09 04:46:48
bkuhn@ebb.org
Better formatting on fundraising-percentage.
2 files changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/conservancy.css
Show inline comments
...
 
@@ -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;
www/conservancy/static/npoacct/index.html
Show inline comments
...
 
@@ -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>
0 comments (0 inline, 0 general)