„MediaWiki:Vector.css“ – Versionsunterschied

Inhalt gelöscht Inhalt hinzugefügt
Entlinkt (Diskussion | Beiträge)
Koordinatenposition unterhalb der Linie fixiert; gegenüber dem MediaWiki-Originalzustand wird die Lücke unter der Überschrift dadurch um rund 3px größer, aber kleiner, als sie in den letzten 4 Monaten wegen des #jump-to-nav-Workarounds war
Entlinkt (Diskussion | Beiträge)
Koordinatenpositionierung retour wegen Überlappung mit FlaggedRevs, evtl. nochmal versuchen, wenn Bug 48713 gefixt ist
Zeile 1: Zeile 1:
/* CSS an dieser Stelle wirkt sich auf den Vector-Skin aus. Für allgemeingültige
/* CSS an dieser Stelle wirkt sich auf den Vector-Skin aus. Für allgemeingültige
Skin-Anpassungen bitte [[MediaWiki:Common.css]] bearbeiten. */
Skin-Anpassungen bitte [[MediaWiki:Common.css]] bearbeiten. */

/*
* Block formatting context and stacking context for #bodyContent because of
* absolutely positioned templates
*/
#bodyContent {
display: inline-block;
z-index: 0;
}

/*
* The above uncovers that the way #jump-to-nav tries to hide itself does not
* work if #firstHeading is removed, so reset it for the main page
*/
.page-Wikipedia_Hauptseite #bodyContent {
display: block;
}


/* Koordinaten in Artikeln oben rechts */
/* Koordinaten in Artikeln oben rechts */
Zeile 31: Zeile 14:
text-align: right;
text-align: right;
text-indent: 0;
text-indent: 0;
top: 0;
top: -1.4em;
white-space: nowrap;
white-space: nowrap;
}
}
Zeile 44: Zeile 27:
#firstHeading {
#firstHeading {
overflow: visible;
overflow: visible;
}

/* Screenreader-Links stören wegen margin oben und unten die Position von
coordinates ([[bugzilla:48687]]) */
/* Hide, but keep accessible for screen-readers */
#jump-to-nav {
position: absolute;
top: -9999px;
}
}



Version vom 22. Mai 2013, 23:46 Uhr

/* CSS an dieser Stelle wirkt sich auf den Vector-Skin aus. Für allgemeingültige
   Skin-Anpassungen bitte [[MediaWiki:Common.css]] bearbeiten. */

/* Koordinaten in Artikeln oben rechts */
#coordinates,
#editcount,
#issnlink,
#shortcut {
	display: block;
	font-size: x-small;
	line-height: 1;
	position: absolute;
	right: 0;
	text-align: right;
	text-indent: 0;
	top: -1.4em;
	white-space: nowrap;
}

/* showTopicon in [[MediaWiki:Vector.js]] */
div.topicon {
	float: right;
	font-size: 0.8em;
	line-height: 1;
	margin-left: 3px;
}
#firstHeading {
	overflow: visible;
}

/* Screenreader-Links stören wegen margin oben und unten die Position von
   coordinates ([[bugzilla:48687]]) */
/* Hide, but keep accessible for screen-readers */
#jump-to-nav {
	position: absolute;
	top: -9999px;
}

/* [[bugzilla:24515]] */
html {
	font-size: 100%;
}