Difference between revisions of "MediaWiki:Common.css"
m (Added max-width to infobox-image.) |
m |
||
Line 50: | Line 50: | ||
} | } | ||
+ | |||
+ | /* Infobox CSS. */ | ||
+ | |||
+ | .infobox { | ||
+ | background: #eee; | ||
+ | border: 1px solid #aaa; | ||
+ | float: right; | ||
+ | margin: 0 0 1em 1em; | ||
+ | padding: 1em; | ||
+ | width: 400px; | ||
} | } | ||
.infobox-title { | .infobox-title { | ||
Line 58: | Line 68: | ||
text-align: center; | text-align: center; | ||
max-width: 200px; | max-width: 200px; | ||
+ | } | ||
+ | .infobox th { | ||
+ | text-align: right; | ||
+ | vertical-align: top; | ||
+ | width: 120px; | ||
+ | } | ||
+ | .infobox td { | ||
+ | vertical-align: top; | ||
+ | } |
Revision as of 12:09, 19 August 2020
/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */ div.NavFrame { margin: 0; padding: 4px; border: 1px solid #a2a9b1; text-align: center; border-collapse: collapse; font-size: 95%; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #fff; margin: 0; padding: 2px; /* @noflip */ float: left; } div.NavFrame div.NavHead { line-height: 1.6em; font-weight: bold; background-color: #ccf; position: relative; } div.NavFrame p, div.NavFrame div.NavContent, div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } a.NavToggle { position: absolute; top: 0; /* @noflip */ right: 3px; font-weight: normal; font-size: 90%; } .client-js .NavFrame.collapsed > .NavContent { display: none; } /* Infobox CSS. */ .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; max-width: 200px; } .infobox th { text-align: right; vertical-align: top; width: 120px; } .infobox td { vertical-align: top; }