MediaWiki:Common.css: Unterschied zwischen den Versionen
KKeine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
KKeine Bearbeitungszusammenfassung Markierungen: Manuelle Zurücksetzung Zurückgesetzt |
||
Zeile 1: | Zeile 1: | ||
/*----------------------------------------------------------------------------------------------*/ | /*----------------------------------------------------------------------------------------------*/ | ||
/* ACHTUNG! Common.css enthält die gemeinsamen Skin-Anpassungen der deutschsprachigen Wikipedia */ | /* ACHTUNG! Common.css enthält die gemeinsamen Skin-Anpassungen der deutschsprachigen Wikipedia */ | ||
/*----------------------------------------------------------------------------------------------*/ | |||
/*----------------------------------------------------------------------------------------------*/ | |||
/* ACHTUNG! MediaWiki:Common.css steht in der mobilen Version nicht zur | |||
* Verfügung. Anpassungen müssen ggf. separat in MediaWiki:Mobile.css übernommen werden. */ | |||
/*----------------------------------------------------------------------------------------------*/ | /*----------------------------------------------------------------------------------------------*/ | ||
/* | /* | ||
* Common.css ist in | * Common.css ist in zwei grundlegende Abschnitte gegliedert: | ||
* | * | ||
* 1. Anpassungen der Anzeige von editierbaren Seiteninhalten | * 1. Anpassungen der Anzeige von editierbaren Seiteninhalten | ||
Zeile 11: | Zeile 16: | ||
* (c) HTML-Elemente | * (c) HTML-Elemente | ||
* 2. Anpassungen der Bedienoberfläche | * 2. Anpassungen der Bedienoberfläche | ||
* (a | * (a) Anpassungen für die Flagged-Revisions-Erweiterung | ||
* (b) Unsortierte Anpassungen | |||
* ( | |||
* | * | ||
* Jede Ergänzung/Änderung muss vorher jeweils für alle Skins auf Tauglichkeit | * Jede Ergänzung/Änderung muss vorher jeweils für alle Skins auf Tauglichkeit | ||
Zeile 51: | Zeile 54: | ||
padding: 2px; | padding: 2px; | ||
} | } | ||
.NavHead { | div.NavHead { | ||
background: #eaecf0; | background: #eaecf0; | ||
font-weight: | font-weight: bold; | ||
} | } | ||
div.NavFrame:after { | div.NavFrame:after { | ||
Zeile 111: | Zeile 114: | ||
*/ | */ | ||
.prettytable { | .prettytable { | ||
background-color: # | background-color: #f8f9fa; | ||
border: 1px solid #a2a9b1; | |||
border-collapse: collapse; | border-collapse: collapse; | ||
color: black; | |||
margin: 1em 0; | |||
} | } | ||
table.prettytable > * > tr > th, | table.prettytable > * > tr > th, | ||
table.prettytable > * > tr > td { | table.prettytable > * > tr > td { | ||
border: | border: 1px solid #a2a9b1; | ||
padding: .2em .4em; | padding: .2em .4em; | ||
} | } | ||
table.prettytable > * > tr > th { | table.prettytable > * > tr > th { | ||
/* background-color: # | /* background-color: #eaecf0; */ | ||
text-align: center; | text-align: center; | ||
} | } | ||
table.prettytable > caption { | table.prettytable > caption { | ||
font-weight: | font-weight: bold; | ||
} | } | ||
/* Temporäres Vergrämen aus dem ANR */ | |||
. | .ns-0 table.prettytable::before { | ||
background-color: #ffff00; | |||
content: "class=prettytable ist veraltet, wikitable verwenden"; | |||
color: #FF0000; | |||
} | } | ||
.ns-0 .prettytable { | |||
background-color: #ff69b4; | |||
border: 1em solid #ff0000; | |||
. | |||
} | } | ||
table. | .ns-0 table.prettytable > * > tr > th, | ||
.ns-0 table.prettytable > * > tr > td { | |||
border: 1em solid #ff0000; | |||
} | } | ||
Zeile 409: | Zeile 337: | ||
/* Hochgestellte Buchstaben in der Einzelnachweiseliste kursiv setzen */ | /* Hochgestellte Buchstaben in der Einzelnachweiseliste kursiv setzen */ | ||
ol.references li a[href|="#cite_ref"] { | ol.references li a[href|="#cite_ref"] { | ||
font-style: | font-style: italic; | ||
} | } | ||
Zeile 434: | Zeile 362: | ||
#mw-content-text a.external[href^="http://www.wikidata.org"], | #mw-content-text a.external[href^="http://www.wikidata.org"], | ||
#mw-content-text a.external[href^="https://www.wikidata.org"], | #mw-content-text a.external[href^="https://www.wikidata.org"], | ||
#mw-content-text a.external[href*=".toolforge.org/"], | |||
#mw-content-text a.external[href^="//tools.wmflabs.org"], | #mw-content-text a.external[href^="//tools.wmflabs.org"], | ||
#mw-content-text a.external[href^="http://tools.wmflabs.org"], | #mw-content-text a.external[href^="http://tools.wmflabs.org"], | ||
Zeile 453: | Zeile 382: | ||
border-bottom-color: rgba(50%, 50%, 50%, .5); | border-bottom-color: rgba(50%, 50%, 50%, .5); | ||
text-decoration-color: rgba(50%, 50%, 50%, .5); | text-decoration-color: rgba(50%, 50%, 50%, .5); | ||
} | } | ||
/* | /* | ||
* | * blockquote-Styling (grauer Rand links) lokal überschreiben, | ||
* | * führt u.a. zu unschöner Darstellung bei linksfließenden Elementen, | ||
* vgl. [[phab:T265947]] und [[Special:Permalink/205770389#blockquote_durch_MediaWiki.css]] | |||
*/ | */ | ||
.mw- | .mw-body-content blockquote { | ||
border-left: none; | |||
padding: 0; | |||
} | } | ||
/* | /* +++++ 2. ANPASSUNGEN DER BEDIENOBERFLÄCHE +++++ */ | ||
. | |||
/* +++++ 2. (a) ANPASSUNGEN FÜR DIE FLAGGED-REVISIONS-ERWEITERUNG +++++ */ | |||
/* +++++ 2. ( | |||
/* Für den Abgleich: [[phab:diffusion/EFLR/browse/master/frontend/modules]] */ | /* Für den Abgleich: [[phab:diffusion/EFLR/browse/master/frontend/modules]] */ | ||
Zeile 575: | Zeile 446: | ||
} | } | ||
/* | /* +++++ 2. (b) UNSORTIERTE ANPASSUNGEN +++++ */ | ||
/* | |||
* Verhindere, dass Infoboxen etc. in den Inhalt von Kategorien hineinragen. | |||
* Das betrifft nur Kategorieseiten. | |||
*/ | |||
div.mw-category-generated { | |||
clear: both; | |||
} | } | ||
/* [[Special:Search]]: Suchergebnisse aus anderssprachigen Wikipedien */ | |||
.mw-search-interwiki-header { | |||
border-top: 3px solid #c00000; | |||
} | |||
/*# | /* Link [[Spezial:Buch|Buch erstellen]] in Sidebar ausblenden */ | ||
#coll-create_a_book { | |||
display: none; | |||
} |