Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
| Line 46: | Line 46: | ||
* Used in [[Template:TOC]] | * Used in [[Template:TOC]] | ||
*/ | */ | ||
| − | .toclimit- | + | .toclimit-1 .toclevel-1 ul, |
| − | .toclimit- | + | .toclimit-2 .toclevel-2 ul, |
| − | .toclimit- | + | .toclimit-3 .toclevel-3 ul, |
| − | .toclimit- | + | .toclimit-4 .toclevel-4 ul, |
| − | .toclimit- | + | .toclimit-5 .toclevel-5 ul, |
| − | .toclimit- | + | .toclimit-6 .toclevel-6 ul { |
display: none; | display: none; | ||
} | } | ||
Revision as of 15:47, 24 October 2021
/* CSS placed here will be applied to all skins */
table.infobox {
width:22em;
float:right;
clear:right;
border-collapse:collapse;
border:1px solid #aaaaaa;
background-color:#f9f9f9;
color:#000000;
margin:0.5em 0 0.5em 1em;
padding:0.2em;
text-align:left;
font-size:88%;
line-height:1.2em;
table-layout: fixed;
}
table.infobox th, table.infobox td {
padding: 0.4em 0.6em 0.4em 0.6em;
vertical-align: top;
}
table.infobox tr {
border-bottom:1px solid #aaaaaa;
}
table.infobox tr.cont {
border-bottom: none;
}
table.infobox tr.cont td, table.infobox tr.cont th {
padding-bottom: 0;
margin-bottom: 0;
}
table.infobox th {
font-size:1.25em;
}
.references-small { font-size: 0.85em; }
/*
* 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.
* Used in [[Template:TOC]]
*/
.toclimit-1 .toclevel-1 ul,
.toclimit-2 .toclevel-2 ul,
.toclimit-3 .toclevel-3 ul,
.toclimit-4 .toclevel-4 ul,
.toclimit-5 .toclevel-5 ul,
.toclimit-6 .toclevel-6 ul {
display: none;
}