MediaWiki:Vector.css: Unterschied zwischen den Versionen

aus Helmstedt-Wiki, der freien Enzyklopädie über den Landkreis Helmstedt
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Markierung: Manuelle Zurücksetzung
 
(18 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Fixes for Typography refresh:
/* CSS an dieser Stelle wirkt sich auf den Vector-Skin aus. */
  * 1. margin for H1 (in talk pages)
 
  * 2. lists line-height
/*
  * See also [[Bugzilla:64653]]
* 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.
  */
  */
div#content h1 {
#mw-content-text :is(#coordinates, #editcount, #shortcut),
    margin-top: 1em;
body.ns-special #mw-content-text .specialpage-helplink {
}
display: block;
div#content #firstHeading {
font-size: x-small;
    margin-top: 0;
line-height: 1.5;
}
position: absolute;
div#content dd,
right: 0;
div#content ol,
text-align: right;
div#content ul {
text-indent: 0;
    line-height: 1.6;
top: -7em;
white-space: nowrap;
}
}


/* Fix for changelist legend due to above fix (which will probably be merged at some point,
/* Korrektur Schriftart der Überschriften */
  so this should probably be scoped in mediawiki.special.changeslist.legend.css) */
.mw-body #firstHeading,
div#content .mw-changeslist-legend dd {
.mw-body :is(h1, h2) {
line-height: 1.3em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #262626;
}
}


/* Don't display some stuff on the main page */
/* tabelle-kopf-fixiert */
body.page-Main_Page #deleteconfirm,
@media screen and (min-width: 721px) {
body.page-Main_Page #t-cite,
table.wikitable.tabelle-kopf-fixiert th,
body.page-Main_Page #footer-info-lastmod,
table.wikitable.tabelle-kopf-fixiert tr.tabelle-zaehler-kopf::before {
body.action-view.page-Main_Page #siteSub,
position: sticky;
body.action-view.page-Main_Page #contentSub,
top: 0;
body.action-view.page-Main_Page h1.firstHeading {
z-index: 12;
    display: none !important;
}
table.wikitable.tabelle-kopf-fixiert {
border-collapse: separate;
border-spacing: 0;
border-bottom-style: none;
border-left-style: none;
}
table.wikitable.tabelle-kopf-fixiert th,
table.wikitable.tabelle-kopf-fixiert td {
border-right-style: none;
border-top-style: none;
}
}
}
 
@media screen and (min-width: 1000px) {
/* Position Main Page top banner */
html.client-js.vector-sticky-header-enabled table.wikitable.tabelle-kopf-fixiert th,
body.page-Main_Page #mp-topbanner {
html.client-js.vector-sticky-header-enabled table.wikitable.tabelle-kopf-fixiert tr.tabelle-zaehler-kopf::before {
  margin-top: 0 !important;
top: 3.125rem;
}
}
 
/* Position coordinates */
#coordinates {
    position: absolute;
    top: 0;
    right: 0;
    float: right;
    margin: 0;
    padding: 0;
    line-height: 1.5em;
    text-align: right;
    text-indent: 0;
    font-size: 85%;
    text-transform: none;
    white-space: nowrap;
}
 
/* For positioning icons at top-right, used in Templates
  "Spoken Article" and "Featured Article" */
div.topicon {
    position: absolute;
    top: -2.3em;
    margin-right: -10px;
    display: block !important;
}
 
/* FR topicon position */
div.flaggedrevs_short {
    position: absolute;
    top: -3em;
    right: 100px;
    z-index: 1;
    margin-left: 0;
    /* Because this is not yet a topicon, we emulate its behavior,
      this ensures compatibility with edit lead section gadget. */
    margin-right: -10px;
}
 
/* On rtl interfaces, we need to override the defaults.
  It is content included (so ltr), but positioned in part of the rtl interface. */
body.rtl #protected-icon {
    /* @noflip */
    left: 55px;
}
body.rtl #spoken-icon,
body.rtl #commons-icon {
    /* @noflip */
    left: 30px;
}
body.rtl #featured-star {
    /* @noflip */
    left: 10px;
}
 
/* Menu over FR box */
div.vectorMenu div {
    z-index: 2;
}
 
/* Display "From Wikipedia, the free encyclopedia" */
#siteSub {
    display: inline;
    font-size: 92%;
}
 
/* Bullets for Good and Featured interwiki links */
li.GA {
    list-style-image: url(//upload.wikimedia.org/wikipedia/commons/4/42/Monobook-bullet-ga.png);
}
li.FA {
    list-style-image: url(//upload.wikimedia.org/wikipedia/commons/d/d4/Monobook-bullet-star.png);
}
 
/* Styling for updated markers on watchlist, history and recent/related changes */
li.mw-changeslist-line-watched,
li.mw-history-line-updated {
    list-style-image: url(//upload.wikimedia.org/wikipedia/commons/c/c2/ChangedBulletVector.png);
}
 
/* Blue instead of yellow padlock for secure links. */
#bodyContent a.external[href ^="https://"],
.link-https {
    background: url(//upload.wikimedia.org/wikipedia/en/0/00/Lock_icon_blue.gif) center right no-repeat;
    /* @noflip */
    padding-right: 16px;
}
}

Aktuelle Version vom 27. Februar 2026, 11:06 Uhr

/* CSS an dieser Stelle wirkt sich auf den Vector-Skin aus. */

/*
 * 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 :is(#coordinates, #editcount, #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: -7em;
	white-space: nowrap;
}

/* Korrektur Schriftart der Überschriften */
.mw-body #firstHeading,
.mw-body :is(h1, h2) {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #262626;
}

/* tabelle-kopf-fixiert */
@media screen and (min-width: 721px) {
	table.wikitable.tabelle-kopf-fixiert th,
	table.wikitable.tabelle-kopf-fixiert tr.tabelle-zaehler-kopf::before {
		position: sticky;
		top: 0;
		z-index: 12;
	}
	table.wikitable.tabelle-kopf-fixiert {
		border-collapse: separate;
		border-spacing: 0;
		border-bottom-style: none;
		border-left-style: none;
	}
	table.wikitable.tabelle-kopf-fixiert th,
	table.wikitable.tabelle-kopf-fixiert td {
		border-right-style: none;
		border-top-style: none;
	}
}
@media screen and (min-width: 1000px) {
	html.client-js.vector-sticky-header-enabled table.wikitable.tabelle-kopf-fixiert th,
	html.client-js.vector-sticky-header-enabled table.wikitable.tabelle-kopf-fixiert tr.tabelle-zaehler-kopf::before {
		top: 3.125rem;
	}
}