MediaWiki:Common.css: Difference between revisions
From Ephinea PSO Wiki
m (maybe css is picky about order?) |
|||
Line 21: | Line 21: | ||
/* @noflip */ | /* @noflip */ | ||
float: left; | float: left; | ||
} | } | ||
table.NavFrame table.NavHead, | table.NavFrame table.NavHead, | ||
Line 34: | Line 29: | ||
position: relative; | position: relative; | ||
padding-right: 0; | padding-right: 0; | ||
} | |||
table.NavFrame th { | |||
background-color: #ccc; | |||
text-align: right; | |||
padding-right: 1%; | |||
} | } | ||
table.NavFrame p, | table.NavFrame p, |
Revision as of 21:39, 6 September 2018
/* CSS placed here will be applied to all skins */ @import url("/index.php?title=MediaWiki:StickyTableHeaders.css&action=raw&ctype=text/css"); @import url("/index.php?title=MediaWiki:Navbox.css&action=raw&ctype=text/css"); /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. Slightly modified because <div> sucks. */ table.NavFrame { border: 1px solid #aaa; text-align: center; font-size: 75%; } table.NavFrame + table.NavFrame { border-top-style: none; border-top-style: hidden; } table.NavPic { background-color: #fff; margin: 0; padding: 2px; /* @noflip */ float: left; } table.NavFrame table.NavHead, table.NavFrame table.NavHead th { font-size: larger; text-align: center; background-color: #ccc; position: relative; padding-right: 0; } table.NavFrame th { background-color: #ccc; text-align: right; padding-right: 1%; } table.NavFrame p, table.NavFrame table.NavContent, table.NavFrame table.NavContent p, table.NavFrame td, table.NavFrame table.NavContent td { text-align: left; } table.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 > td { display: none; }