MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| (19 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 3: | Zeile 3: | ||
/* Quelle: http://de.wikipedia.org/wiki/MediaWiki:Common.css */ | /* Quelle: http://de.wikipedia.org/wiki/MediaWiki:Common.css */ | ||
/* aus Vorlage zur Entlastung, skinabhängigen Darstellung und Kombinierbarkeit hierher ausgelagert */ | /* aus Vorlage zur Entlastung, skinabhängigen Darstellung und Kombinierbarkeit hierher ausgelagert */ | ||
/* Titel der Hauptseite verbergen */ | |||
body.page-Hauptseite.action-view h1.firstHeading { display: none; } | |||
.wikitable, | .wikitable, | ||
.prettytable { | .prettytable { | ||
| Zeile 217: | Zeile 221: | ||
{ | { | ||
position:relative; | position:relative; | ||
top:- | top:-114px; | ||
left:20px; | left:20px; | ||
z-index:2; | z-index:2; | ||
| Zeile 225: | Zeile 229: | ||
{ | { | ||
position:relative; | position:relative; | ||
top:- | top:-229px; | ||
z-index:1; | z-index:1; | ||
} | } | ||
| Zeile 239: | Zeile 243: | ||
} | } | ||
/* Tabelle horizontal scrollbar */ | |||
.scrolltable { | |||
overflow-x: auto; | |||
white-space: nowrap; | |||
} | |||
Aktuelle Version vom 13. August 2025, 11:43 Uhr
/** CSS an dieser Stelle wirkt sich auf alle Skins aus */
/* Quelle: http://de.wikipedia.org/wiki/MediaWiki:Common.css */
/* aus Vorlage zur Entlastung, skinabhängigen Darstellung und Kombinierbarkeit hierher ausgelagert */
/* Titel der Hauptseite verbergen */
body.page-Hauptseite.action-view h1.firstHeading { display: none; }
.wikitable,
.prettytable {
margin: 1em 1em 1em 0;
background: #ffffff;
border: 1px #AAA solid;
border-collapse: collapse;
empty-cells:show;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
border: 1px #AAA solid;
padding: 0.3em;
}
.wikitable caption,
.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
.nogrid th, .nogrid td {border: none;}
.float-left { float: left; clear: left; }
.float-right { float: right; clear: right; margin: 1em 0 1em 1em; }
.centered { margin-left: auto; margin-right: auto; }
/*
* Farbdefinitionen für Rahmen und Hintergründe von [[Wikipedia:Textbausteine|Textbausteinen]].
* Hier: Standardvorgaben für "dunkle Schrift auf hellem Grund".
* Für Hell-auf-dunkel-Skins ([[MediaWiki:Amethyst.css|Amethyst]]) müssen dort entsprechende Definitionen
* zusätzlich eingetragen werden! Anpassungen für andere Skins sind optional.
* (Die Angaben der Rahmenstärke dienen der Bequemlichkeit, so dass man
* für dünne Rahmen nur noch "border-style" angeben muss.)
*/
.rahmenfarbe1 { /* Wie Inhaltsverzeichnis */
border-color: #aaaaaa;
border-width: 1px;
}
.rahmenfarbe2 { /* Unauffällig, geringer Kontrast */
border-color: #e9e9e9;
border-width: 1px;
}
.rahmenfarbe3 { /* "Rot", auffällig */
border-color: #c00000;
border-width: 1px;
}
.rahmenfarbe4 { /* Neutrale Farbe, deutlich */
border-color: #8888aa;
border-width: 1px;
}
.rahmenfarbe5 { /* "Schwarz", hoher Kontrast */
border-color: #000000;
border-width: 1px;
}
.hintergrundfarbe1 { /* Wie Inhaltsverzeichnis */
background-color: #f9f9f9;
}
.hintergrundfarbe2 { /* "Weiß", für Nicht-Artikel-Seiten, neutral */
background-color: #ffffff;
}
.hintergrundfarbe3 { /* "Gelb", auffällig */
background-color: #ffff40;
}
.hintergrundfarbe4 { /* Sehr auffällig */
background-color: #ffaa00;
}
.hintergrundfarbe5 { /* Neutral, abgesetzt */
background-color: #e0e0e0;
}
.hintergrundfarbe6 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
background-color: #b3b7ff;
}
.hintergrundfarbe7 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
background-color: #ffcbcb;
}
.hintergrundfarbe8 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
background-color: #ffebad;
}
.hintergrundfarbe9 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
background-color: #b9ffc5;
}
/* Stylesheet-Ergänzung zu Standard-[[Wikipedia:Navigationsleisten|Navigationsleisten]] */
div.NavFrame {
display: inline-block; /* IE <= 7 */
}
div.NavFrame {
border: 1px solid #aaaaaa;
clear: both;
display: block;
font-size: 95%;
margin-top: 1.5em;
padding: 2px;
text-align: center;
}
/* Automatisches Verschmelzen, funktioniert nicht im IE 6 */
div.NavFrame + div.NavFrame {
margin-top: -1px;
}
div.NavPic {
float: left;
padding: 2px;
}
div.NavHead {
background: #d1d2ff;
font-weight: bold;
}
/* Redundant zu .visualClear in shared.css und IE60Fixes.css */
div.NavEnd {
display: none; /* broken */
}
div.NavFrame:after {
clear: both;
content: "";
display: block;
}
/* Stylesheet fuer den 'Ausklappen'-Button an Navileisten, der in [[MediaWiki:Common.js]] implementiert wird */
.NavToggle {
float: right;
font-size: x-small;
}
/* [[Vorlage:NaviBlock]] */
div.BoxenVerschmelzen {
border: 1px solid #aaa;
clear: both;
font-size: 95%;
margin-top: 1.5em;
padding-top: 2px;
}
div.BoxenVerschmelzen div.NavFrame {
border: none;
font-size: 100%;
margin: 0;
padding-top: 0;
}
table.collapsed tr.collapsable {
display: none;
}
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */
float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
font-weight: normal; /* are styled here so they can be customised. */
text-align: right;
width: auto;
}
/* Stylesheet-Ergänzung zu SideBoxen (ehedem [[Wikipedia:TownBox|TownBox]]) */
div.sideBox {
background: white;
border: 1px solid gray;
clear: right;
float: right;
margin-left: 1em;
overflow: hidden;
padding: 0.3em;
position: relative; /* IE 6 */
width: 200px;
}
div.sideBox dl {
font-size: 96%;
margin: 0 0 0.3em;
}
div.sideBox dl dt {
background: none;
margin: 0.4em 0 0;
}
div.sideBox dl dd {
background: #f3f3f3;
margin: 0.1em 0 0 1.1em;
}
/* Stylesheet-Ergänzung zu SideBoxen (ehedem [[Wikipedia:TownBox|TownBox]]) */
div.sideBox {
position: relative;
float: right;
background: white;
margin-left: 1em;
border: 1px solid gray;
padding: 0.3em;
width: 200px;
overflow: hidden;
clear: right;
}
div.sideBox dl {
padding: 0;
margin: 0 0 0.3em 0;
font-size: 96%;
}
div.sideBox dl dt {
background: none;
margin: 0.4em 0 0 0;
}
div.sideBox dl dd {
margin: 0.1em 0 0 1.1em;
background-color: #f3f3f3;
}
#oben
{
z-index:1;
}
#Bild
{
position:relative;
top:-114px;
left:20px;
z-index:2;
}
#unten
{
position:relative;
top:-229px;
z-index:1;
}
/* Keine Vergrößerung der Zeilenhöhe durch hochgestellte Zahlen der Fußnoten */
sup.reference {
font-style: normal;
font-weight: 400;
}
sup,
sub {
line-height: 1em;
}
/* Tabelle horizontal scrollbar */
.scrolltable {
overflow-x: auto;
white-space: nowrap;
}