MediaWiki:Common.css: Unterschied zwischen den Versionen
K |
Qapla (Diskussion | Beiträge) |
||
Zeile 89: | Zeile 89: | ||
.centered { margin-left: auto; margin-right: auto; } | .centered { margin-left: auto; margin-right: auto; } | ||
.toptextcells td { vertical-align: top; } | .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; | ||
+ | } |
Version vom 8. Juni 2011, 11:12 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;
}