MediaWiki:Common.css: Unterschied zwischen den Versionen

Zeile 60: Zeile 60:
 
#toc {
 
#toc {
 
margin: 1em 0;
 
margin: 1em 0;
 +
width: fit-content;
 
}
 
}
  

Version vom 25. März 2021, 13:11 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;
	width: fit-content;
}

/**
 * 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;
}