„MediaWiki:Vector.css“ – Versionsunterschied
Inhalt gelöscht Inhalt hinzugefügt
Change coordinates positioning to avoid conflicts with the MediaWiki software, attempt 2 Markierung: Zurückgesetzt |
Remove workaround for bug T325391 in Vector 2022 – no longer needed Markierung: Manuelle Zurücksetzung |
||
Zeile 24: | Zeile 24: | ||
text-align: right; |
text-align: right; |
||
text-indent: 0; |
text-indent: 0; |
||
top: - |
top: -9em; |
||
white-space: nowrap; |
white-space: nowrap; |
||
} |
} |
||
Zeile 33: | Zeile 33: | ||
body.ns-special.skin-vector-legacy #mw-content-text .specialpage-helplink { |
body.ns-special.skin-vector-legacy #mw-content-text .specialpage-helplink { |
||
top: -7em; |
top: -7em; |
||
} |
|||
/* Vector 2022: |
|||
* Set consistent margin whether indicators are present or not, otherwise they affect the positioning of coordinates. |
|||
*/ |
|||
.mw-body-content { |
|||
margin-top: 0; |
|||
} |
|||
.vector-body { |
|||
margin-top: 16px; |
|||
} |
|||
.vector-body .mw-indicators { |
|||
margin-top: -16px; |
|||
} |
} |
||
Version vom 25. Februar 2023, 23:18 Uhr
/* CSS an dieser Stelle wirkt sich auf den Vector-Skin aus. Für allgemeingültige
Skin-Anpassungen bitte [[MediaWiki:Common.css]] bearbeiten. */
/*
* Koordinaten und diverse andere Anzeigen oben rechts, siehe
* [[:Kategorie:Vorlage:mit Seitenindikator#Textelemente]].
* Beachte, dass diese Elemente im Wikitext an beliebigen Stellen auftreten und
* deshalb allerhand Eigenschaften erben können. Das gilt insbesondere für die
* Schriftgröße.
* Der folgende Darstellungsfehler ist bekannt: Wenn die Fensterbreite kleiner
* als 982px ist und die Schriftgröße des Wurzelelements wie üblich 16px ist,
* überlappen sich die 17px hohen Icons der Gadgets „WikiMiniAtlas“ und
* „OpenStreetMap“ mit der SiteNotice.
*/
#mw-content-text #coordinates,
#mw-content-text #editcount,
#mw-content-text #shortcut,
body.ns-special #mw-content-text .specialpage-helplink {
display: block;
font-size: x-small;
line-height: 1.5;
position: absolute;
right: 0;
text-align: right;
text-indent: 0;
top: -9em;
white-space: nowrap;
}
.skin-vector-legacy #mw-content-text #coordinates,
.skin-vector-legacy #mw-content-text #editcount,
.skin-vector-legacy #mw-content-text #shortcut,
body.ns-special.skin-vector-legacy #mw-content-text .specialpage-helplink {
top: -7em;
}
/* VectorLegacy 2019:
* bessere Darstellung des Angebots zum Verbleiben beim bisherigen Vector-Skin
*/
.vector-emphasized-sidebar-action {
line-height: 0.9em;
}