MediaWiki:Common.css: Difference between revisions
Till Kraemer (talk | contribs) No edit summary |
Till Kraemer (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/** Kleinschreibung nicht erzwingen */ | |||
.portlet h5, | |||
.portlet h6, | |||
#p-personal ul, | |||
#p-cactions li a { | |||
text-transform: none; | |||
} | |||
body.page-Main_Page h1.firstHeading { display:none; } | body.page-Main_Page h1.firstHeading { display:none; } | ||
div.topicon { | |||
position: absolute; | |||
z-index: 10; | |||
top: 10px; | |||
display: block !important; | |||
} | |||
/* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */ | /* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */ | ||
Line 77: | Line 92: | ||
sup.reference:target { background-color: #ddeeff; } | sup.reference:target { background-color: #ddeeff; } | ||
/* Stylesheet-Ergänzung zu Standard-[[Wikipedia:Navigationsleisten|Navigationsleisten]] */ | /* Stylesheet-Ergänzung zu Standard-[[Wikipedia:Navigationsleisten|Navigationsleisten]] */ | ||
div.NavFrame { | div.NavFrame { | ||
Line 239: | Line 255: | ||
/* [[ | |||
/* [[Vorlage:NaviBlock]] */ | |||
div.BoxenVerschmelzen { | div.BoxenVerschmelzen { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; |
Revision as of 00:21, 3 March 2016
/* CSS placed here will be applied to all skins */ /** Kleinschreibung nicht erzwingen */ .portlet h5, .portlet h6, #p-personal ul, #p-cactions li a { text-transform: none; } body.page-Main_Page h1.firstHeading { display:none; } div.topicon { position: absolute; z-index: 10; top: 10px; display: block !important; } /* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */ .my-buttons { padding: 0.5em; } .my-buttons a { color: black; background-color: #F9F9F9 !important; font-weight: normal; font-size: 0.9em; text-decoration: none; border: thin #7D8891 outset; padding: 0 0.1em 0.1em 0.1em; } .my-buttons a:hover, .my-buttons a:active { background-color: #AAAAAA; border-style: inset; } /***** ** Table formatting *****/ table.wikitable, table.prettytable { margin:1em 1em 1em 0; background:#F9F9F9; border:1px #AAA solid; border-collapse:collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border:1px #AAA solid; padding:0.2em; } table.wikitable th, table.prettytable th { background:#F2F2F2; text-align:center; } table.wikitable caption, table.prettytable caption { margin-left:inherit; margin-right:inherit; } table.collapsed tr.collapsible { display: none; } .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ font-weight: normal; /* are styled here so they can be customised. */ text-align: right; width: auto; } /***** ** Simple Security Extension *****/ #security-info-toggle { background: transparent url(/wiki/skins/monobook/lock_icon.gif) no-repeat scroll left center; padding-left: 16px; } #security-info { border: 1px solid #ccc; background: #eee; } /* make the list of references look smaller and highlight clicked reference in blue */ ol.references { font-size: 80%; } .references-small { font-size: 70%;} ol.references > li:target { background-color: #ddeeff; } sup.reference:target { background-color: #ddeeff; } /* Stylesheet-Ergänzung zu Standard-[[Wikipedia:Navigationsleisten|Navigationsleisten]] */ div.NavFrame { display: inline-block; /* IE <= 7 */ } div.NavFrame { border: 1px solid #aaa; clear: both; display: block; font-size: 95%; margin-top: 1.5em; padding: 2px; text-align: center; } /* Automatisches Verschmelzen, funktioniert nicht im IE 6 */ div.NavFrame + div.NavFrame { margin-top: -1px; } div.NavPic { float: left; padding: 2px; } div.NavHead { /* background: #efefef; */ font-weight: bold; } /* Redundant zu .visualClear in shared.css und IE60Fixes.css */ div.NavEnd { display: none; /* broken */ } div.NavFrame:after { clear: both; content: ""; display: block; } /* Default skin for navigation boxes */ table.navbox { /* Navbox container style */ border: 1px solid #aaa; width: 100%; margin: auto; clear: both; font-size: 88%; text-align: center; padding: 1px; } table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ } .navbox-title, .navbox-abovebelow, table.navbox th { text-align: center; /* Title and above/below styles */ padding-left: 1em; padding-right: 1em; } .navbox-group { /* Group style */ white-space: nowrap; text-align: right; font-weight: bold; padding-left: 1em; padding-right: 1em; } .navbox, .navbox-subgroup { background: #fdfdfd; /* Background color */ } .navbox-list { border-color: #fdfdfd; /* Must match background color */ } .navbox-title, table.navbox th { background: #e6e6fa; /* Level 1 color */ } .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: #ddddff; /* Level 2 color */ } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: #e6e6ff; /* Level 3 color */ } .navbox-even { background: #f7f7f7; /* Even row striping */ } .navbox-odd { background: transparent; /* Odd row striping */ } .collapseButton { /* 'show'/'hide' buttons created dynamically */ float: right; /* by the CollapsibleTables javascript in */ font-weight: normal; /* [[MediaWiki:Common.js]] are styled here */ text-align: right; /* so they can be customised. */ width: auto; } .navbox .collapseButton { /* In navboxes, the show/hide button balances */ width: 6em; /* the vde links from [[Template:Navbar]], */ } /* so they need to be the same width. */ .navbar { /* Navbox template links */ font-size: 88%; /* Default font-size */ font-weight: normal; } .navbox .navbar { font-size: 100%; /* Font-size when nested within navbox */ } /* Entfernt underlines von bestimmten Links */ .nounderlines a, .IPA a:link, .IPA a:visited { text-decoration: none; } /* Standard-Navigationsleisten from .de. Documentation at [[Wikipedia:NavFrame]]. */ div.NavFrame { margin: 0; padding: 4px; border: 1px solid #aaa; 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; float: left; } div.NavFrame div.NavHead { 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; right: 3px; font-weight: normal; font-size: 90%; } /* [[Vorlage:NaviBlock]] */ div.BoxenVerschmelzen { border: 1px solid #aaa; clear: both; font-size: 95%; margin-top: 1.5em; padding-top: 2px; } div.BoxenVerschmelzen div.NavFrame { border: none; font-size: 100%; margin: 0; padding-top: 0; } /* Warnhinweise */ .warningcolors { border: 1px solid #bf9090; background-color: #fbf7f7; padding: 5px; font-size: 95%; color: #510041; } /* Notice */ .noticecolors { border: 1px solid #aaaaaa; background-color: #f9f9f9; padding: 5px; font-size: 95%; color: #000000; }