MediaWiki:Common.css: Difference between revisions
From Ephinea PSO Wiki
(revamp?) |
|||
Line 4: | Line 4: | ||
/* Standard Navigationsleisten, aka box hiding thingy | /* Standard Navigationsleisten, aka box hiding thingy | ||
from .de. Documentation at [[Wikipedia:NavFrame]]. */ | from .de. Documentation at [[Wikipedia:NavFrame]]. | ||
Slightly modified because <div> sucks. */ | |||
table.NavFrame { | |||
border: 1px solid #aaa; | |||
border: 1px solid # | |||
text-align: center; | text-align: center; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
font-size: | font-size: 75%; | ||
} | } | ||
table.NavFrame + table.NavFrame { | |||
border-top-style: none; | border-top-style: none; | ||
border-top-style: hidden; | border-top-style: hidden; | ||
} | } | ||
table.NavPic { | |||
background-color: #fff; | background-color: #fff; | ||
margin: 0; | margin: 0; | ||
Line 24: | Line 23: | ||
float: left; | float: left; | ||
} | } | ||
table.NavFrame table.NavHead { | |||
font-size: larger; | |||
font- | background-color: #ccc; | ||
background-color: # | |||
position: relative; | position: relative; | ||
} | } | ||
table.NavFrame p, | |||
table.NavFrame table.NavContent, | |||
table.NavFrame table.NavContent p { | |||
text-align: left; | |||
} | } | ||
table.NavEnd { | |||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; |
Revision as of 21:11, 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; border-collapse: collapse; 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 { font-size: larger; background-color: #ccc; position: relative; } table.NavFrame p, table.NavFrame table.NavContent, table.NavFrame table.NavContent p { 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 > .NavContent { display: none; }