MediaWiki:Common.css: Unterschied zwischen den Versionen

Zeile 55: Zeile 55:
 
max-height: 50px;
 
max-height: 50px;
 
overflow: hidden;
 
overflow: hidden;
 +
}
 +
 +
/* Give a bit of space to the TOC */
 +
#toc {
 +
margin: 1em 0;
 +
}
 +
 +
/**
 +
* Allow limiting of which header levels are shown in a TOC;
 +
* , for instance, will limit to
 +
* showing ==headings== and ===headings=== but no further.
 +
* Used in [[Template:TOCright]]
 +
*/
 +
.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 25. März 2021, 13:10 Uhr

table.portal {
	border-collapse: separate;
	float: right;
}
table.portalboxes {
	border-collapse: separate;
}
table.portal th, table.portal td, table.portalboxes th, table.portalboxes td {
	padding: 10px;
	border: 0;
	vertical-align: top;
}

.tblue th {
	background-color: #CADAEA;
}
.tblue td {
	background-color: #E0ECF8;
}

.tyellow th {
	background-color: #F7E1B2;
}
.tyellow td {
	background-color: #E0ECF8;
}

.twhite th {
	background-color: #787878;
	color: #FFF;
}
.twhite td {
	background-color: #FFF;
}

.tgrey th {
	background-color: #ACB1CF;
	color: #FFF;
}
.tgrey td {
	background-color: #E6E7EB;
}

.mw-wiki-logo {
	background-size: contain;
    background-position: center;
}

/** cropped image **/
img.responsive {
	width: 100%;
	height: auto;
}
.crop {
	max-height: 50px;
	overflow: hidden;
}

/* Give a bit of space to the TOC */
#toc {
	margin: 1em 0;
}

/**
 * Allow limiting of which header levels are shown in a TOC;
 * , for instance, will limit to
 * showing ==headings== and ===headings=== but no further.
 * Used in [[Template:TOCright]]
 */
.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;
}