MediaWiki:Common.css

Aus Mikiwiki
Zur Navigation springen Zur Suche springen

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 Ctrl+F5 oder Ctrl+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Ctrl+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer/Edge: Ctrl+F5 drücken oder Ctrl drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Ctrl+F5
/* CSS placed here will be applied to all skins */

/* replace the book in the background with something else */
/* stop background image from scrolling with content area */
body {
  background: gold;
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  color: #FF0000;
}

h2 {
  margin-top: 0.5em;
}

p {
  text-align: justify;
}

pre { 
  background: lightyellow;
  background-color: lightyellow;
  border: 1px solid #ffd700;
  font-family: monospace;
  font-size: 1em;
  margin-left: 1em;
  margin-right: 1em;
  padding: 0.5em;
  width: 49em;
}

pre.wiki { 
  background: white;
  background-color: white;
  border: 0px solid #000000;
  width: 95%;
}

table th, table td {
  vertical-align: top;
}

table.wiki {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px solid #aaaaaa;
  border-collapse: collapse;
}

table.wiki th, table.wiki td {
  border: 1px solid #aaaaaa;
  padding: 0.2em;
  vertical-align: top;
}

table.wiki th {
  background: #f2f2f2;
  text-align: left;
}

table.wiki caption {
  margin-left: inherit;
  margin-right: inherit;
}

table.wikitable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px solid #aaaaaa;
  border-collapse: collapse;
}

table.wikitable th, table.wikitable td {
  border: 1px solid #aaaaaa;
  padding: 0.2em;
  vertical-align: top;
}

table.wikitable th {
  background: #f2f2f2;
  text-align: left;
}

table.wikitable caption {
  margin-left: inherit;
  margin-right: inherit;
}

/* Links vom Inhaltsverzeichnis 17 Pixel Abstand */
#toc, .toc, .mw-warning {
  background-color: #f2f2f2;
  border: 1px solid #aaaaaa;
  margin-left: 17px;
  padding: 5px;
  font-size: 95%;
  width: 310px;
}

/* Überschrift "Inhaltsverzeichnis" ist linksbündig */
#toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle {
  text-align: left;
}

/* Keine automatische Nummerierung der Inhaltsverzeichniseinträge */
#toc .tocnumber {
  display: none;
}

/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
 
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;
}