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
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP */
/* 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;
}

/* changes the background of pre areas  */
pre { 
  background: lightyellow;
  background-color: lightyellow;
  border: 1px solid #ffd700;
  margin-left: 1em;
  margin-right: 1em;
  padding: 0.5em;
  width: 80pc;
  display: scroll;
}

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 10 Pixel Abstand */
#toc, .toc, .mw-warning {
  background-color: #f2f2f2;
  border: 1px solid #aaaaaa;
  margin-left: 10px;
  padding: 5px;
  font-size: 95%;
}

/* Ü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;
}