Template:meter

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
m (tweak)
m (tweak)
Line 1: Line 1:
-
<div style="margin-bottom: .5em; border-style: solid; border-color: white; width: auto; clear: right; float: right; border-width: .5em 0 .8em 1.4em;"><div style="width:110px; border: 1px solid #ccc; background-color: #f9f9f9; font-size: 94%; text-align: center; overflow: hidden;"><div style="font-size: 200%; color: red; font-weight: bold; border: 1px #ccc solid; margin: 3px;"><div style="margin: 10px auto; border: none;"> {{{1}}}% </div><div style="background: #ffc; height: 250px; width: 50px; border: 1px #000 solid; margin: 10px auto; padding: 0; overflow: hidden; position: relative;"><div style="height: 250px; margin-top: 250px; position: absolute; top: -{{{1}}}%; left: 0; border: none;">[[Image:Pledge-o-meter.gif]]</div></div></div><div style="border: none; text-align: left; line-height: 1.4em; padding: .3em 0 .1em 0; text-align: center; margin: 5px auto;"> {{{2}}} </div></div></div>
+
<div style="margin-bottom: .5em; border-style: solid; border-color: white; width: auto; clear: right; float: right; border-width: .5em 0 .8em 1.4em;"><div style="width:110px; border: 1px solid #ccc; background-color: #f9f9f9; font-size: 94%; text-align: center; overflow: hidden;"><div style="font-size: 200%; color: red; font-weight: bold; border: 1px #ccc solid; margin: 3px;"><div style="margin: 10px auto; border: none;"> {{{1}}}% </div><div style="background: #ffc; height: 250px; width: 50px; border: 1px #000 solid; margin: 10px auto; padding: 0; overflow: hidden; position: relative;"><div style="height: 500px; /* 2x total height to accommodate meters that exceed 100% */ margin-top: 250px; position: absolute; top: -{{{1}}}%; left: 0; border: none;">[[Image:Pledge-o-meter.gif]]</div></div></div><div style="border: none; text-align: left; line-height: 1.4em; padding: .3em 0 .1em 0; text-align: center; margin: 5px auto;"> {{{2}}} </div></div></div>

Revision as of 02:02, 26 October 2006

{{{1}}}%
Image:Pledge-o-meter.gif
{{{2}}}
Personal tools