Navigation menu
MediaWiki:Common.css: Difference between revisions
From Metroid Wiki
(noticebox) |
m (fix) |
||
Line 63: | Line 63: | ||
border-radius: 15px; | border-radius: 15px; | ||
border: 2px solid; | border: 2px solid; | ||
margin: 3px; | margin: 3px; | ||
padding: 0.4em 0.4em 1.2em; | padding: 0.4em 0.4em 1.2em; | ||
text-align: center; | text-align: center; | ||
} | } |
Revision as of 17:08, 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; } /* Template:Notice */ .noticebox { border-radius: 20px; border: 2px solid; width: 50%; margin-left:10%; margin-bottom: 10px; } .noticebox-contents { border-radius: 15px; border: 2px solid; margin: 3px; padding: 0.4em 0.4em 1.2em; text-align: center; }