Template:Benchmark: Difference between revisions
From Step Mods | Change The Game
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{ | {{#css: | ||
.benchmark { | |||
position: relative; | |||
margin: 5px auto; | |||
width: 250px; | |||
height: 45px; | |||
border: 2px solid #678; | |||
background-color: #2b2b2b; | |||
border-radius: 25px; | |||
box-shadow: 0 0 10px -2px #9CC; | |||
color: #000; | |||
} | |||
.benchmark img { | |||
margin: 7px 10px; | |||
} | |||
.text { | |||
position: absolute; | |||
top: 50%; | |||
height: 1.5em; | |||
margin-top: -0.7em; | |||
margin-left: 70px; | |||
text-shadow: 0 0 5px #F81, 0 0 5px #F81, 0 0 5px #F81; | |||
font-size: 1.5em; | |||
} | |||
}} | |||
<div class="benchmark"> | |||
<div style="float: left;">[[Image:Benchmark32.png]]</div> | |||
<div class="text">'''Benchmark'''</div> | |||
<div style="float:right;">[[Image:Benchmark32.png]]</div> | |||
</div> |
Revision as of 10:47, January 8, 2013
{{#css: .benchmark {
position: relative; margin: 5px auto; width: 250px; height: 45px; border: 2px solid #678; background-color: #2b2b2b; border-radius: 25px; box-shadow: 0 0 10px -2px #9CC; color: #000;
} .benchmark img {
margin: 7px 10px;
} .text {
position: absolute; top: 50%; height: 1.5em; margin-top: -0.7em; margin-left: 70px; text-shadow: 0 0 5px #F81, 0 0 5px #F81, 0 0 5px #F81; font-size: 1.5em;
} }}