MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus dem IServ-Wiki
Zur Navigation springen Zur Suche springen
K
K (geklaut aus en.wikipedia)
Zeile 96: Zeile 96:
 
#hauptseite-schwesterprojekte .inhalt a {
 
#hauptseite-schwesterprojekte .inhalt a {
 
   font-weight: bold;
 
   font-weight: bold;
 +
}
 +
 +
/* Infoboxen */
 +
 +
/* Infobox template style */
 +
 +
.infobox {
 +
  border: 1px solid #aaaaaa;
 +
  background-color: #f9f9f9;
 +
  color: black;
 +
  margin-bottom: 0.5em;
 +
  margin-left: 1em;
 +
  padding: 0.2em;
 +
  float: right;
 +
  clear: right;
 +
}
 +
 +
.infobox td, .infobox th {
 +
  vertical-align: top;
 +
}
 +
 +
.infobox caption {
 +
  font-size: larger;
 +
  margin-left: inherit;
 +
}
 +
 +
.infobox.bordered {
 +
  border-collapse: collapse;
 +
}
 +
 +
.infobox.bordered td, .infobox.bordered th {
 +
  border: 1px solid #aaaaaa;
 +
}
 +
 +
.infobox.bordered .borderless td, .infobox.bordered .borderless th {
 +
  border: 0;
 +
}
 +
 +
.infobox.sisterproject {
 +
  width: 20em;
 +
  font-size: 90%;
 +
}
 +
 +
/* styles for bordered infobox with merged rows */
 +
.infobox.bordered .mergedtoprow td, .infobox.bordered .mergedtoprow th {
 +
  border: 0;
 +
  border-top: 1px solid #aaaaaa;
 +
  border-right: 1px solid #aaaaaa;
 +
}
 +
 +
.infobox.bordered .mergedrow td, .infobox.bordered .mergedrow th {
 +
  border: 0;
 +
  border-right: 1px solid #aaaaaa;
 
}
 
}
  
 
/* </pre> */
 
/* </pre> */

Version vom 2. August 2006, 16:20 Uhr

/*
<!-- nur für die Darstellung innerhalb des MediaWikis; bei der Verarbeitung als CSS-Datei werden die Tags ignoriert. -->
<pre>
*/

/* Tabellen */

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

table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td {
  border: 1px solid #8cacbb;
  padding: 0.2em;
}

table.wikitable th, table.prettytable th {
  background: #dee7ec;
  text-align: left;
}

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

/* Hauptseite */

#hauptseite h2 {
  background-color: #d8e8ff;
  border: 1px solid #8898bf;
  font-size: 1em;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0.1em;
  padding-bottom: 0.1em;
}

#hauptseite .inhalt {
  background-color: #ffffff;
  border: 1px solid #8898bf;
  border-top: 0px solid white;
  padding: 0.3em 0.8em 0.4em 0.8em;
}

#hauptseite .inhalt hr {
  background-color: #8898bf;
  color: #8898bf;
  height: 1px;
  margin:0.5em 0;
  padding: 0;
}

#hauptseite .inhalt .mehr {
  clear: both;
  font-size: 95%;
  margin-top: 0.8em;
  text-align: right;
}

.hauptseite-oben, .hauptseite-links, .hauptseite-rechts {
  margin-bottom: 1em;
}

.hauptseite-links {
  margin-right: 0.5em;
}

.hauptseite-rechts {
  margin-left: 0.5em;
}

.hauptseite-oben h2, .hauptseite-unten h2 {
  text-align: center;
}

.hauptseite-oben .inhalt .portale {
  font-weight: bold;
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}

.hauptseite-oben .inhalt .intern {
  font-size: 90%;
  text-align: center;
}

.hauptseite-links h2, .hauptseite-rechts h2 {
  text-indent: 0.8em;
}

#hauptseite-schwesterprojekte .inhalt a {
  font-weight: bold;
}

/* Infoboxen */

/* Infobox template style */

.infobox {
  border: 1px solid #aaaaaa;
  background-color: #f9f9f9;
  color: black;
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding: 0.2em;
  float: right;
  clear: right;
}

.infobox td, .infobox th {
  vertical-align: top;
}

.infobox caption {
  font-size: larger;
  margin-left: inherit;
}

.infobox.bordered {
  border-collapse: collapse;
}

.infobox.bordered td, .infobox.bordered th {
  border: 1px solid #aaaaaa;
}

.infobox.bordered .borderless td, .infobox.bordered .borderless th {
  border: 0;
}

.infobox.sisterproject {
  width: 20em;
  font-size: 90%;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td, .infobox.bordered .mergedtoprow th {
  border: 0;
  border-top: 1px solid #aaaaaa;
  border-right: 1px solid #aaaaaa;
}

.infobox.bordered .mergedrow td, .infobox.bordered .mergedrow th {
  border: 0;
  border-right: 1px solid #aaaaaa;
}

/* </pre> */