Template:Navcard: Difference between revisions
m CSS test |
m CSS test |
||
(44 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC____NOEDITSECTION____NOTITLE__{{#css: | __NOTOC____NOEDITSECTION____NOTITLE__{{#css: | ||
#link-overlay { | #link-overlay { | ||
border: solid; | border: solid; | ||
border-radius: | border-radius: 4px; | ||
border-color: #c8ccd1; | |||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
.display { | |||
height: 100%; | |||
width: 200px; | |||
} | |||
.mini { | |||
height: 120px; | |||
width: 150px; | |||
font-size: 18px; | |||
} | |||
.regular { | |||
height: 150px; | |||
width: 180px; | |||
font-size: 23px; | |||
} | } | ||
Line 16: | Line 27: | ||
background-color: #f7faeb; | background-color: #f7faeb; | ||
color: #000; | color: #000; | ||
} | } | ||
.test { | .test { | ||
position: absolute; | position: absolute; | ||
} | } | ||
Line 43: | Line 43: | ||
height: 75%; | height: 75%; | ||
width: auto; | width: auto; | ||
overflow: hidden; | |||
} | } | ||
Line 57: | Line 51: | ||
width: auto; | width: auto; | ||
text-align: center; | text-align: center; | ||
align-content: center; | |||
color: #54595d; | |||
background-color: #eaecf0; | |||
} | } | ||
@media screen { | |||
html.skin-theme-clientpref-night .background-basic { | |||
background-color: #383838; | |||
color: #ace; | |||
} | |||
html.skin-theme-clientpref-night #title { | |||
color: #a2a9b1; | |||
background-color: #27292d; | |||
} | |||
html.skin-theme-clientpref-night #link-overlay { | |||
border-color: #404244; | |||
} | |||
} | } | ||
}} | }} | ||
<div id="link-overlay" class=" | <div id="link-overlay" class="{{{size|regular}}}"><div id="test">[[File:Invisible-png.png|link={{{link|Stillwind}}}|class=test]]</div><div id="container"><div id="img-container">[[File:{{{image|Stillwindsclimate.jpg}}}|link=|center|class=display]]</div><div id="title">'''{{{text|Category}}}'''</div></div></div> |