MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Mikiwiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 61: Zeile 61:
#toc .tocnumber {
#toc .tocnumber {
   display: none;
   display: none;
}
/* Fix the sidebar's position while you scroll */
div[id=column-one] {    /* Using the attribute selector hides this from IE */
  position: fixed;
  height: 100%;        /* If you shrink the browser too small, the side column will      */
  overflow: auto;      /*  become scrollable, so stuff is always accessible, albeit ugly */
  z-index: 2;
}
}

Version vom 11. Januar 2009, 14:09 Uhr

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

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

table.wikitable th, table.wikitable td {
  border: 1px #aaaaaa solid;
  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 {
  margin-left: 10px;
}

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