Navigation menu
MediaWiki:Common.css: Difference between revisions
From Metroid Wiki
(more generalized) |
m (fix border) |
||
Line 51: | Line 51: | ||
} | } | ||
/* | /* Standard layout */ | ||
.outer-box { | .outer-box { | ||
border-radius: 20px; | border-radius: 20px; | ||
Line 60: | Line 60: | ||
.content-box { | .content-box { | ||
border-radius: 15px; | border-radius: 15px; | ||
border: | border: 1px solid; | ||
margin: 3px; | margin: 3px; | ||
padding: 0.4em 0.4em 1.2em; | padding: 0.4em 0.4em 1.2em; | ||
} | } | ||
/* Template:Notice */ | |||
.notice.outer-box { | .notice.outer-box { | ||
width: 50%; | width: 50%; | ||
margin-left:10%; | margin-left: 10%; | ||
} | } | ||
.notice .content-box { | .notice .content-box { | ||
text-align: center; | text-align: center; | ||
} | } |
Revision as of 17:40, 14 August 2021
/* CSS placed here will be applied to all skins */ /* 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; } /* Standard layout */ .outer-box { border-radius: 20px; border: 2px solid; margin-bottom: 10px; } .content-box { border-radius: 15px; border: 1px solid; margin: 3px; padding: 0.4em 0.4em 1.2em; } /* Template:Notice */ .notice.outer-box { width: 50%; margin-left: 10%; } .notice .content-box { text-align: center; }