MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 41: | Line 41: | ||
.infobox .element:last-child { | .infobox .element:last-child { | ||
border-bottom: none; | border-bottom: none; | ||
} | |||
a, a:link, a:hover { | |||
color: blue; | |||
} | } | ||
Revision as of 16:53, 24 March 2024
/* CSS placed here will be applied to all skins */ .infobox { border: 1px solid #CCC; background-color: #FFF; padding: 0; margin: 0 0 10px 10px; width: calc(45% - 30px); float: right; position: relative; } .infobox:after { clear: after; } .infobox img { width: 100%; max-width: 100%; min-width: 100%; height: auto; } .infobox .title { background-color: #CCC; padding: 10px; text-align: center; color: #000; font-weight: bold; } .infobox .element:first-child { border-top: 1px solid #CCC; } .infobox .element { border-bottom: 1px solid #CCC; padding: 10px; } .infobox .element:last-child { border-bottom: none; } a, a:link, a:hover { color: blue; } a:visited { color: blue; }