MediaWiki:Common.css: Unterschied zwischen den Versionen
Qapla (Diskussion | Beiträge) |
|||
Zeile 102: | Zeile 102: | ||
.toclimit-7 .toclevel-6 ul { | .toclimit-7 .toclevel-6 ul { | ||
display: none; | display: none; | ||
+ | } | ||
+ | |||
+ | /* Standard Navigationsleisten, aka box hiding thingy | ||
+ | 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; | ||
+ | /* @noflip */ | ||
+ | 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; | ||
+ | /* @noflip */ | ||
+ | right: 3px; | ||
+ | font-weight: normal; | ||
+ | font-size: 90%; | ||
} | } |
Version vom 28. Mai 2013, 22:33 Uhr
/** CSS an dieser Stelle wirkt sich auf alle Skins aus */
.Infobox {
float: right;
width: 250px;
border: 1px solid #000;
border-width: 0 1px 1px 1px;
margin: 0px 0px 6px 6px;
}
.InfoboxTitel {
text-align: center;
font-size: 120%;
font-weight: bold;
border-top: 1px solid #000;
padding: 0.4em;
}
.InfoboxTitel span {
font-size: 90%;
font-weight: normal;
}
.InfoboxAbschnitt {
text-align: center;
font-weight: bold;
padding: 0.4em;
border-top: 1px solid #000;
}
.InfoboxZeile {
text-align: center;
padding: 0.4em;
border-top: 1px solid #000;
background-color:#FFF;
}
.InfoboxZeileL {
font-weight: bold;
width: 88px;
padding: 6px;
float: left;
border-top: 1px solid #000;
}
.InfoboxZeileR {
padding: 6px;
float: right;
text-align: left;
width: 137px;
background-color: #fff;
border: 1px solid #000;
border-width: 1px 0 0 1px;
}
.InfoboxBild {
text-align: center;
padding: 6px 0px;
background-color: #fff;
border-top: 1px solid #000;
}
.InfoboxBild span {
font-size: 80%;
font-weight: bold;
}
.Infoleiste {
border-width:2px;
border-style:solid;
position:relative;
text-align:center;
padding:12px;
margin:6px 0px;
}
.wikitable,
.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #AAA solid;
border-collapse: collapse;
empty-cells:show;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
border: 1px #AAA solid;
padding: 0.3em;
}
.wikitable caption,
.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
.nogrid th, .nogrid td {border: none;}
.float-left { float: left; clear: left; }
.float-right { float: right; clear: right; margin: 1em 0 1em 1em; }
.centered { margin-left: auto; margin-right: auto; }
.toptextcells td { vertical-align: top; }
/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS).
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
/* Standard Navigationsleisten, aka box hiding thingy
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;
/* @noflip */
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;
/* @noflip */
right: 3px;
font-weight: normal;
font-size: 90%;
}