Template:Wondercard/LA: Difference between revisions

m
make width the same as the others.
m (here, CSS's calc() function can be used as well.)
m (make width the same as the others.)
Line 1: Line 1:
<div style="background: #FAF3DD; {{roundy|5px}}; border: 5px solid #746C64; width: 320px; height: {{{h|190}}}px">
<div style="background: #FAF3DD; {{roundy|5px}}; border: 5px solid #746C64; width: 310px; height: {{{h|190}}}px">
<div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundybr}}; float: left"></div>
<div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundybr}}; float: left"></div>
<div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundybl}}; float: right"></div>
<div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundybl}}; float: right"></div>
<div style="background: #394D68; text-align: center; color: #FAF3DD; {{roundy|2px}}; margin-top: 11px">{{{title|&nbsp;}}}</div>
<div style="background: #394D68; text-align: center; color: #FAF3DD; {{roundy|2px}}; margin-top: 11px">{{{title|&nbsp;}}}</div>
<div style="height: calc({{{h|190}}}px - 60px); color: #394D68; display: table; padding:10px; background: #FAF3DD">{{#tag:ab|{{{msg|}}}}}</div>
<div style="height: calc({{{h|190}}}px - 60px); color: #394D68; display: table; padding: 10px">{{#tag:ab|{{{msg|}}}}}</div>
<div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundytr}}; float: left"></div>
<div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundytr}}; float: left"></div>
<div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundytl}}; float: right"></div>
<div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundytl}}; float: right"></div>
</div><noinclude>[[Category:Event templates]][[Category:Table templates]]</noinclude>
</div><noinclude>[[Category:Event templates]][[Category:Table templates]]</noinclude>