MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| (4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
. | /* ============================================================ | ||
MediaWiki:Common.css – FLBK-Wiki | |||
Bereinigte Fassung (Basis: Wikipedia-Common.css). | |||
Wikipedia-Infrastruktur & ungenutzte Vorlagen-Styles entfernt. | |||
Hinweis: Gilt NICHT für die mobile Ansicht – dafür MediaWiki:Mobile.css. | |||
============================================================ */ | |||
/* Personennamen in Kapitälchen */ | |||
.Person { | |||
font-variant: small-caps; | |||
} | |||
/* prettytable: sauberes Alias für wikitable (ohne Wikipedia-Warnfärbung) */ | |||
.prettytable { | |||
background-color: #f8f9fa; | |||
border: 1px solid #a2a9b1; | |||
border-collapse: collapse; | |||
color: black; | |||
margin: 1em 0; | |||
} | |||
table.prettytable > * > tr > th, | |||
table.prettytable > * > tr > td { | |||
border: 1px solid #a2a9b1; | |||
padding: .2em .4em; | |||
} | |||
table.prettytable > * > tr > th { | |||
text-align: center; | |||
} | } | ||
. | table.prettytable > caption { | ||
font-weight: bold; | |||
} | } | ||
/* Zebra-Tabellen (.wikitable.zebra) */ | |||
table.wikitable.zebra > tbody > :nth-child(even):not([class*="hintergrundfarbe"]) { | |||
background: white; | |||
} | } | ||
/* | /* Ausrichtungs-Hilfsklassen für Bausteine, Tabellen, Galerien */ | ||
/* @noflip */ | |||
div.float-left, | |||
table.float-left, | |||
ul.float-left, | |||
.float-left { | |||
clear: left; | |||
float: left; | |||
margin: 1em 1em 1em 0; | |||
} | |||
/* @noflip */ | |||
div.float-right, | |||
table.float-right, | |||
ul.float-right, | |||
.float-right { | |||
clear: right; | |||
float: right; | |||
margin: 1em 0 1em 1em; | |||
} | |||
div.centered, | |||
table.centered, | |||
ul.centered, | |||
.centered { | |||
margin-left: auto; | |||
margin-right: auto; | |||
} | |||
/* Obenbündige Textausrichtung in Tabellenzellen */ | |||
.toptextcells > * > * > td { | |||
vertical-align: top; | |||
} | |||
/* Metadaten ausblenden */ | |||
.metadata { | |||
display: none; | |||
} | |||
/* <noscript>-Emulation */ | |||
.client-js .noscript { | |||
display: none; | |||
} | |||
/* Abkürzungen dezenter unterstreicheln */ | |||
*/ | abbr[title]:not(:hover), | ||
.explain[title]:not(:hover) { | |||
border-bottom-color: rgba(127, 127, 127, .5); | |||
text-decoration-color: rgba(127, 127, 127, .5); | |||
} | |||
/* blockquote: grauen linken Rand entfernen */ | |||
.mw-body-content blockquote { | |||
border-left: none; | |||
padding: 0; | |||
} | |||
/* Infoboxen nicht in Kategorie-Inhalt ragen lassen */ | |||
. | div.mw-category-generated { | ||
clear: both; | |||
} | } | ||