MediaWiki:Common.css: Unterschied zwischen den Versionen

(Die Seite wurde neu angelegt: „table.portal { border-spacing: 20px 2px; border-collapse: separate; } table.portalboxes { border-spacing: 20px; border-collapse: separate; } table.portal t…“)
 
K
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
table.portal {
 
table.portal {
border-spacing: 20px 2px;
 
 
border-collapse: separate;
 
border-collapse: separate;
 +
float: right;
 +
margin: 0 0 10px 10px;
 
}
 
}
 
table.portalboxes {
 
table.portalboxes {
border-spacing: 20px;
 
 
border-collapse: separate;
 
border-collapse: separate;
 
}
 
}
Zeile 56: Zeile 56:
 
max-height: 50px;
 
max-height: 50px;
 
overflow: hidden;
 
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;
 
}
 
}

Aktuelle Version vom 25. März 2021, 13:12 Uhr

table.portal {
	border-collapse: separate;
	float: right;
	margin: 0 0 10px 10px;
}
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;
}