MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus www.erkenfara.com
Bero (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
Bero (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
||
| (21 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | /* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | ||
. | /* Extra small devices (xs): Mobile first */ | ||
.template-box { | |||
border: 2px solid #aaa; | |||
width: | padding: .5em; | ||
} | |||
.template-box-info { | |||
background-color: #ccf; | |||
} | |||
.template-box-warn { | |||
background-color: #fcc; | |||
} | |||
.columnized { | |||
column-count: 1; | |||
} | |||
.flex-container { | |||
align-items: stretch; | |||
display: flex; | |||
flex-direction: row; | |||
flex-wrap: wrap; | |||
justify-content: space-between; | |||
} | |||
.flex-container .flex-item { | |||
width: 100%; | |||
} | } | ||
.infobox-reich { | table.wikitable.infobox-charakter, | ||
table.wikitable.infobox-gott, | |||
table.wikitable.infobox-ort, | |||
table.wikitable.infobox-reich, | |||
table.wikitable.infobox-tier, | |||
table.wikitable.infobox-treffen, | |||
table.wikitable.infobox-treffen-ausgefallen | |||
{ | |||
float: right; | float: right; | ||
margin-left: 2em; | margin-left: 2em; | ||
max-width: 100%; | max-width: 100%; | ||
width: 400px; | width: 400px; | ||
} | |||
.flex-container .flex-item table.wikitable.infobox-treffen, | |||
.flex-container .flex-item table.wikitable.infobox-treffen-ausgefallen { | |||
width: 100%; | |||
} | |||
/* Small devices (sm) */ | |||
@media (min-width: 576px) { | |||
} | |||
/* Medium devices (md) */ | |||
@media (min-width: 768px) { | |||
} | |||
/* Large devices (lg) */ | |||
@media (min-width: 992px) { | |||
.columnized { | |||
column-count: 2; | |||
} | |||
.flex-container .flex-item { | |||
width: 49%; | |||
} | |||
} | |||
/* Extra large devices (xl) */ | |||
@media (min-width: 1200px) { | |||
.columnized { | |||
column-count: 3; | |||
} | |||
.flex-container .flex-item { | |||
width: 33%; | |||
} | |||
} | |||
/* xs, sm & md */ | |||
@media (max-width: 768px) { | |||
div.tright, div.floatright, table.floatright { | |||
/* clear: right;*/ | |||
float: none; | |||
} | |||
} | |||
/* fix display of columnized definition lists */ | |||
@media (min-width: 992px) { | |||
.mw-body dt { | |||
margin-top: 0; | |||
} | |||
/*.mw-body dd { | |||
margin-bottom: 0; | |||
} | |||
.mw-body dl dt + dd:last-of-type { | |||
margin-bottom: 1em; | |||
}*/ | |||
} | } | ||
Aktuelle Version vom 22. Juli 2025, 08:22 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Extra small devices (xs): Mobile first */
.template-box {
border: 2px solid #aaa;
padding: .5em;
}
.template-box-info {
background-color: #ccf;
}
.template-box-warn {
background-color: #fcc;
}
.columnized {
column-count: 1;
}
.flex-container {
align-items: stretch;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
}
.flex-container .flex-item {
width: 100%;
}
table.wikitable.infobox-charakter,
table.wikitable.infobox-gott,
table.wikitable.infobox-ort,
table.wikitable.infobox-reich,
table.wikitable.infobox-tier,
table.wikitable.infobox-treffen,
table.wikitable.infobox-treffen-ausgefallen
{
float: right;
margin-left: 2em;
max-width: 100%;
width: 400px;
}
.flex-container .flex-item table.wikitable.infobox-treffen,
.flex-container .flex-item table.wikitable.infobox-treffen-ausgefallen {
width: 100%;
}
/* Small devices (sm) */
@media (min-width: 576px) {
}
/* Medium devices (md) */
@media (min-width: 768px) {
}
/* Large devices (lg) */
@media (min-width: 992px) {
.columnized {
column-count: 2;
}
.flex-container .flex-item {
width: 49%;
}
}
/* Extra large devices (xl) */
@media (min-width: 1200px) {
.columnized {
column-count: 3;
}
.flex-container .flex-item {
width: 33%;
}
}
/* xs, sm & md */
@media (max-width: 768px) {
div.tright, div.floatright, table.floatright {
/* clear: right;*/
float: none;
}
}
/* fix display of columnized definition lists */
@media (min-width: 992px) {
.mw-body dt {
margin-top: 0;
}
/*.mw-body dd {
margin-bottom: 0;
}
.mw-body dl dt + dd:last-of-type {
margin-bottom: 1em;
}*/
}
