MediaWiki:Common.css: Unterschied zwischen den Versionen

KKeine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
KKeine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
Zeile 1: Zeile 1:
Mediawiki:Common.css
/*----------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------*/
/* 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 zwei grundlegende Abschnitte gegliedert:
  * Common.css ist in drei grundlegende Abschnitte gegliedert:
  *
  *
  * 1. Anpassungen der Anzeige von editierbaren Seiteninhalten
  * 1. Anpassungen der Anzeige von editierbaren Seiteninhalten
Zeile 16: Zeile 15:
  *    (c) HTML-Elemente
  *    (c) HTML-Elemente
  * 2. Anpassungen der Bedienoberfläche
  * 2. Anpassungen der Bedienoberfläche
  *    (a) Anpassungen für die Flagged-Revisions-Erweiterung
  *    (a) Seitenbearbeitung und Hochladen
  *    (b) Unsortierte Anpassungen
*    (b) Anpassungen für die Flagged-Revisions-Erweiterung
  *    (c) Unsortierte Anpassungen
* 3. Hauptseite
  *
  *
  * 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 54: Zeile 55:
padding: 2px;
padding: 2px;
}
}
div.NavHead {
.NavHead {
background: #eaecf0;
background: #eaecf0;
font-weight: bold;
font-weight: 500;
}
}
div.NavFrame:after {
div.NavFrame:after {
Zeile 114: Zeile 115:
  */
  */
.prettytable {
.prettytable {
background-color: #f8f9fa;
background-color: #FFFFFF;
border: 1px solid #a2a9b1;
border-collapse: collapse;
border-collapse: collapse;
color: black;
  margin: 5px;
margin: 1em 0;
  border: 0px solid black;
  outline: 1px solid #9cacbf;
  outline-offset: 5px;
}
}
table.prettytable > * > tr > th,
table.prettytable > * > tr > th,
table.prettytable > * > tr > td {
table.prettytable > * > tr > td {
border: 1px solid #a2a9b1;
border: 0px solid #9cacbf;
padding: .2em .4em;
padding: .2em .4em;
}
}
table.prettytable > * > tr > th {
table.prettytable > * > tr > th {
/* background-color: #eaecf0; */
/* background-color: #FFFFFF; */
text-align: center;
text-align: center;
}
}
table.prettytable > caption {
table.prettytable > caption {
font-weight: bold;
font-weight: 500;
}
}


/* Temporäres Vergrämen aus dem ANR */
.prettytableGoalie {
.ns-0 table.prettytable::before {
background-color: #FFFFFF;
  background-color: #ffff00;
border: 0px solid #ED6A0B;
  content: "class=prettytable ist veraltet, wikitable verwenden";
border-collapse: collapse;
  color: #FF0000;
  margin: 5px;
  border: 0px solid black;
  outline: 1px solid #ED6A0B;
  outline-offset: 5px;
}
}
.ns-0 .prettytable {
table.prettytableGoalie > * > tr > th,
  background-color: #ff69b4;
table.prettytableGoalie > * > tr > td {
  border: 1em solid #ff0000;
border: 0px solid #ED6A0B;
padding: .2em .4em;
}
}
.ns-0 table.prettytable > * > tr > th,
table.prettytableGoalie > * > tr > th {
.ns-0 table.prettytable > * > tr > td {
/* background-color: #FFFFFF; */
  border: 1em solid #ff0000;
text-align: center;
}
table.prettytableGoalie > caption {
font-weight: 500;
}
 
.prettytableRef {
background-color: #FFFFFF;
border: 0px solid #FFBF00;
border-collapse: collapse;
  margin: 5px;
  border: 0px solid black;
  outline: 1px solid #FFBF00;
  outline-offset: 5px;
}
table.prettytableRef > * > tr > th,
table.prettytableRef > * > tr > td {
border: 0px solid #FFBF00;
padding: .2em .4em;
}
table.prettytableRef > * > tr > th {
/* background-color: #FFFFFF; */
text-align: center;
}
table.prettytableRef > caption {
font-weight: 500;
}
 
 
.prettytableInfobox {
background-color: #FFFFFF;
border: 0px solid #FFFFFF;
border-collapse: collapse;
  margin: 5px;
  border: 0px solid black;
  outline: 1px solid #FFFFFF;
  outline-offset: 5px;
}
table.prettytableInfobox > * > tr > th,
table.prettytableInfobox > * > tr > td {
border: 0px solid #FFFFFF;
padding: .2em .4em;
}
table.prettytableInfobox > * > tr > th {
/* background-color: #FFFFFF; */
text-align: center;
}
table.prettytableInfobox > caption {
font-weight: 500;
}
 
.prettytableHOF {
background-color: #FFFFFF;
border: 0px solid #EDC900;
border-collapse: collapse;
  margin: 5px;
  border: 0px solid black;
  outline: 1px solid #EDC900;
  outline-offset: 5px;
}
table.prettytableHOF > * > tr > th,
table.prettytableHOF > * > tr > td {
border: 0px solid #EDC900;
padding: .2em .4em;
}
table.prettytableHOF > * > tr > th {
/* background-color: #FFFFFF; */
text-align: center;
}
table.prettytableHOF > caption {
font-weight: 500;
}
}


Zeile 337: Zeile 413:
/* 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: italic;
font-style: normal;
}
}


Zeile 362: Zeile 438:
#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 382: Zeile 457:
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);
}
/* +++++ 2. ANPASSUNGEN DER BEDIENOBERFLÄCHE +++++ */
/* +++++ 2. (a) SEITENBEARBEITUNG UND HOCHLADEN +++++ */
/* Für [[MediaWiki:Missingcommentheader]] */
div#mw-missingcommentheader strong {
color: red;
}
/* Für [[MediaWiki:Missingsummary]] */
div#mw-missingsummary {
background: #d3e1f2;
border: 1px solid #1a47ff;
margin: 1em auto;
padding: 1em;
width: 80%;
}
/*
* Falls bei der Seitenbearbeitung vergessen wurde, die Zusammenfassung
* auszufüllen
*/
.mw-summarymissed {
border: 5px solid red;
padding: 2px;
}
/* Copyrightwarnung: [[MediaWiki:Wikimedia-copyrightwarning]] */
div#editpage-copywarn {
background: #fff;
border: 1px solid #c00000;
margin: 1em 0;
}
/* Warnmeldung für gesperrte Titel: [[MediaWiki:Titleprotectedwarning]] */
.mw-titleprotectedwarning {
background: #eaecf0;
border: 2px solid red;
padding: 1em;
}
}


/*
/*
  * blockquote-Styling (grauer Rand links) lokal überschreiben,
  * Warnmeldung bei der Bearbeitung von Seiten im MediaWiki-Namensraum:
  * führt u.a. zu unschöner Darstellung bei linksfließenden Elementen,
  * [[MediaWiki:Editinginterface]], [[MediaWiki:Translateinterface]]
* vgl. [[phab:T265947]] und [[Special:Permalink/205770389#blockquote_durch_MediaWiki.css]]
  */
  */
.mw-body-content blockquote {
.mw-editinginterface,
  border-left: none;
.mw-translateinterface {
  padding:     0;
background: #f8f9fa;
border: 1px solid #c00000;
padding: 2px;
}
.mw-editinginterface + .mw-translateinterface {
border-top: none;
margin-top: -8px;
}
 
/* Gestaltung der Edittools-Leiste: [[MediaWiki:Onlyifediting.js]] */
div#specialchars {
background: white;
border: 1px solid #a2a9b1;
margin-top: 3px;
padding: 1px;
text-align: left;
}
}


/* +++++ 2. ANPASSUNGEN DER BEDIENOBERFLÄCHE +++++ */
/* [[Special:Upload]]: Höheres Feld für die Beschreibung */
textarea#wpUploadDescription {
height: 20em;
}


/* +++++ 2. (a) ANPASSUNGEN FÜR DIE FLAGGED-REVISIONS-ERWEITERUNG +++++ */
/* +++++ 2. (b) ANPASSUNGEN FÜR DIE FLAGGED-REVISIONS-ERWEITERUNG +++++ */


/* Für den Abgleich: [[phab:diffusion/EFLR/browse/master/frontend/modules]] */
/* Für den Abgleich: [[phab:diffusion/EFLR/browse/master/frontend/modules]] */
Zeile 446: Zeile 579:
}
}


/* +++++ 2. (b) UNSORTIERTE ANPASSUNGEN +++++ */
/* Bring the text to 14px */
 
#bodyContent {
/*
  font-size: 0.9em;
* 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 */
#catlinks { display:block }
.mw-search-interwiki-header {
border-top: 3px solid #c00000;
}


/* Link [[Spezial:Buch|Buch erstellen]] in Sidebar ausblenden */
#firstHeading {display: none;}
#coll-create_a_book {
display: none;
}