MediaWiki:Common.css
Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.
- Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
- Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
- Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
- Opera: Strg+F5
/** CSS an dieser Stelle wirkt sich auf alle Skins aus */
@import url("/w/index.php?title=MediaWiki:Common.css/addin-mooc.css&action=raw&ctype=text/css") screen;
span[id ^='mediawiki'] {
padding-left: 25px;
background: transparent url(https://upload.wikimedia.org/wikipedia/commons/5/5f/MediaWiki_Icon_Button.gif) no-repeat center left;
}
td {vertical-align: top;}
/*<pre><nowiki>*/
/*--------------------------------------------------------------------------------*/
/* boxen */
/** grundsätzliches layout einer box */
.box {
border-width: 1px;
border-style: solid;
padding: .5em 1em;
}
/* einleitendes worum es auf der boxtragenden Seite geht */
.box.about {
color: black;
background-color: white;
border-color: #dfdfdf;
}
/* um vor gefährlichen Aktionen zu warnen */
.box.warning {
color: black;
background-color: white;
border-color: #c00000;
border-width: 2px;
}
/*--------------------------------------------------------------------------------*/
/* tabellen */
/* prettytable class for skinning normal tables */
table.prettytable {
margin: 1em 1em 1em 0;
font-size:95%;
background: #f9f9f9;
color: black;
border: 1px #aaaaaa solid;
border-collapse: collapse;
empty-cells: show;
}
table.prettytable th, table.prettytable td {
border: 1px #aaaaaa solid;
padding: 0.2em 0.6em;
}
table.prettytable th {
background: #ddddff;
text-align: left;
}
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-size: larger;
font-weight: bold;
}
/* Navigation templates */
div.Boxmerge,
div.NavFrame {
margin: 0px;
padding: 4px;
border: 1px solid #aaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.Boxmerge div.NavFrame {
border-style: none;
border-style: hidden;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #fff;
margin: 0px;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
background-color: #ccccff;
position:relative;
}
div.NavFrame p {
font-size: 100%;
}
div.NavFrame div.NavContent {
font-size: 100%;
}
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0px;
padding: 0px;
line-height: 1px;
clear: both;
}
a.NavToggle {
position: absolute;
top: 0px;
right: 3px;
font-weight: normal;
font-size: smaller;
}
/* Content-Bereich von Seiten im Wikiversity-Namensraum (ns-4) */
div.content-ns-4 {
border: 1px solid #AAAAAA;
background-color: #FFFFFF;
padding: 0.8em;
}
/*--------------------------------------------------------------------------------*/
/* Kleinigkeiten... */
/* DIVs in ImageMaps inlinen (Vorschlag von Revolus) */
.imagemap-inline div {
display: inline;
}
/* als H3 geschriebene Aufgaben-Links im entsprechenden DIV automatisch durchzählen (für CSS2) */
div.Aufgaben h2 { counter-reset: task; }
div.Aufgaben h3 { counter-increment: task; }
div.Aufgaben h3 a:after { content: ' ' counter(task);}
/* Kapitelnummerierung innerhalb DIVs der Klasse "chapter" */
div.chapter {
counter-reset: chapter section; /* Kapitel und Abschnittszähler */
}
div.chapter .nextChapter {
counter-increment: chapter; /* Subklasse zum Kapitelinkrementieren */
}
div.chapter .nextDecChapter {
counter-increment: chapter 10; /* Subklasse zum Kapiteldezimalinkrementieren */
}
div.chapter #toctitle {
display: none; /* Unterdrückung der Überschrift des Inhaltsverzeichnisses */
}
div.chapter .tocnumber:before {
content: counter(chapter) "."; /* Kapitelnummer im Inhaltsverzeichnis */
}
div.chapter h2:before {
content: counter(chapter) "." counter(section) " "; /* Kapitel und Abschnittsnummer vor H2 */
counter-increment: section; /* Abschnittsinkrementierung */
}
/* DIVs mit class="latex" und darunterliegende DIVs und Ps inlinen */
div.latex, div.latex div, div.latex p {
display: inline;
}
/* Quickinfo-Box-Einblendungen (für CSS2) */
#quickinfo .quickinfo {
visibility: hidden;
position: absolute;
text-align: left;
background-color: white;
padding: 1em;
}
#quickinfo:hover .quickinfo {
border: 1px solid black;
visibility: visible;
/*display: block;*/
padding: 10px;
}
/* Verschiebbare Quickinfo-Tabellen (für CSS2) */
table.quickinfo {
font-size: 95%;
font-family: Arial,sans-serif;
position: relative;
background-color: navy;
background-color: ActiveCaption;
border: 1px outset black;
border-color: ActiveBorder;
margin: 0;
padding: 0;
border-spacing: 0;
}
table.quickinfo th div {
position: relative;
text-align: left;
cursor: move;
color: white;
color: CaptionText;
padding: 3px;
}
table.quickinfo td {
background: lightyellow;
background: InfoBackground;
color: black;
color: InfoText;
text-align: left;
padding: 5px;
}
/* Close-Button, speziell in Quickinfo-Tabelle (für CSS2) */
.closebutton {
width: 1.75em;
text-align: center;
padding: 0;
margin: 0;
font: inherit;
cursor: pointer;
}
table.quickinfo th div .closebutton {
position: absolute;
top: 2px;
right: 0;
}
/* Container für verschiebbare Quickinfo-Tabelle (für CSS2) */
.movecontainer {
position: absolute;
visibility: hidden;
}
/* Anmerkung (*) zum Einblenden der verschiebbaren Quickinfo-Tabelle (für CSS2) */
.moveasterisk {
color: red;
font-weight: bold;
cursor: pointer;
font-size: 120%;
}
/*
* Hide the numbers are shown in a TOC
* [[Vorlage:TOC nonum]]
*/
.nonumtoc .tocnumber {
display: none;
}
/*--------------------------------------------------------------------------------*/
/*</nowiki></pre>*/
/*--------------------------------------------------------------------------------*/
/* Skinabhängige absolute Positionierungen ausblenden
* Bitte [[MediaWiki Diskussion:Common.css/Archiv/1#Absolute Positionierungen]]
* beachten
*/
#mw-content-text #coordinates,
#mw-content-text #editcount,
#mw-content-text #shortcut,
body.ns-special #mw-content-text .specialpage-helplink {
display: none;
}