MediaWiki:Common.css: Difference between revisions
From Ephinea PSO Wiki
m (oop 2) |
(oop 3) |
||
Line 1: | Line 1: | ||
/* 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 { | table.NavFrame { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
text-align: center; | text-align: center; | ||
font-size: 75%; | font-size: 75%; | ||
} | } | ||
Line 25: | Line 31: | ||
background-color: #ccc; | background-color: #ccc; | ||
text-align: right; | text-align: right; | ||
padding-right: 1%; | padding-right: 1%; | ||
} | } | ||
table.NavFrame p, | |||
table.NavFrame table.NavContent, | |||
table.NavFrame table.NavContent p, | |||
table.NavFrame td { | table.NavFrame td { | ||
text-align: left; | text-align: left; |
Revision as of 21:31, 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 { font-size: larger; background-color: #ccc; position: relative; } table.NavFrame th { font-size: larger; background-color: #ccc; text-align: right; padding-right: 1%; } table.NavFrame p, table.NavFrame table.NavContent, table.NavFrame table.NavContent p, table.NavFrame 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; }