MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus dem IServ-Wiki
Zur Navigation springen Zur Suche springen
K (+css für die Hauptseite)
K
Zeile 1: Zeile 1:
/* wikitable/prettytable class for skinning normal tables */
+
<pre> <!-- nur für die Darstellung innerhalb des MediaWikis; bei der Verarbeitung als CSS-Datei werden die Tags ignoriert. -->
  
table.wikitable,
+
/* Tabellen */
table.prettytable {
+
 
 +
table.wikitable, table.prettytable {
 
   margin: 1em 1em 1em 0;
 
   margin: 1em 1em 1em 0;
 
   background: #f9f9f9;
 
   background: #f9f9f9;
Zeile 9: Zeile 10:
 
}
 
}
  
table.wikitable th, table.wikitable td,
+
table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td {
table.prettytable th, table.prettytable td {
 
 
   border: 1px solid #8cacbb;
 
   border: 1px solid #8cacbb;
 
   padding: 0.2em;
 
   padding: 0.2em;
 
}
 
}
  
table.wikitable th,
+
table.wikitable th, table.prettytable th {
table.prettytable th {
 
 
   background: #dee7ec;
 
   background: #dee7ec;
 
   text-align: left;
 
   text-align: left;
 
}
 
}
  
table.wikitable caption,
+
table.wikitable caption, table.prettytable caption {
table.prettytable caption {
 
 
   margin-left: inherit;
 
   margin-left: inherit;
 
   margin-right: inherit;
 
   margin-right: inherit;
 
}
 
}
  
/* +++++ 3. NEUE [[Hauptseite|HAUPTSEITE]] (ab 2006) +++++ */
+
/* Hauptseite */
  
 
#hauptseite h2 {
 
#hauptseite h2 {
      background-color: #d8e8ff;
+
  background-color: #d8e8ff;
      border: 1px solid #8898bf;
+
  border: 1px solid #8898bf;
      font-size: 1em;
+
  font-size: 1em;
      font-weight: bold;
+
  font-weight: bold;
      margin-top: 0;
+
  margin-top: 0;
      margin-bottom: 0;
+
  margin-bottom: 0;
      padding-top: 0.1em;
+
  padding-top: 0.1em;
      padding-bottom: 0.1em;
+
  padding-bottom: 0.1em;
}
+
}
#hauptseite .inhalt {
+
 
      background-color: #ffffff;
+
#hauptseite .inhalt {
      border: 1px solid #8898bf;
+
  background-color: #ffffff;
      border-top: 0px solid white;
+
  border: 1px solid #8898bf;
      padding: 0.3em 0.8em 0.4em 0.8em;
+
  border-top: 0px solid white;
}
+
  padding: 0.3em 0.8em 0.4em 0.8em;
#hauptseite .inhalt hr {
+
}
      background-color: #8898bf;
+
 
      color: #8898bf;
+
#hauptseite .inhalt hr {
      height: 1px;
+
  background-color: #8898bf;
      margin:0.5em 0;
+
  color: #8898bf;
      padding: 0;
+
  height: 1px;
}
+
  margin:0.5em 0;
#hauptseite .inhalt .mehr {
+
  padding: 0;
      clear: both;
+
}
      font-size: 95%;
+
 
      margin-top: 0.8em;
+
#hauptseite .inhalt .mehr {
      text-align: right;
+
  clear: both;
}
+
  font-size: 95%;
.hauptseite-oben,
+
  margin-top: 0.8em;
.hauptseite-links,
+
  text-align: right;
.hauptseite-rechts {
+
}
      margin-bottom: 1em;
+
 
}
+
.hauptseite-oben, .hauptseite-links, .hauptseite-rechts {
.hauptseite-links {
+
  margin-bottom: 1em;
      margin-right: 0.5em;
+
}
}
+
 
.hauptseite-rechts {
+
.hauptseite-links {
      margin-left: 0.5em;
+
  margin-right: 0.5em;
}
+
}
.hauptseite-oben h2,
+
 
.hauptseite-unten h2 {
+
.hauptseite-rechts {
      text-align: center;
+
  margin-left: 0.5em;
}
+
}
.hauptseite-oben .inhalt .portale {
+
 
      font-weight: bold;
+
.hauptseite-oben h2, .hauptseite-unten h2 {
      margin-top: 0.2em;
+
  text-align: center;
      margin-bottom: 0.2em;
+
}
}
+
 
.hauptseite-oben .inhalt .intern {
+
.hauptseite-oben .inhalt .portale {
      font-size: 90%;
+
  font-weight: bold;
      text-align: center;
+
  margin-top: 0.2em;
}
+
  margin-bottom: 0.2em;
.hauptseite-links h2,
+
}
.hauptseite-rechts h2 {
+
 
      text-indent: 0.8em;
+
.hauptseite-oben .inhalt .intern {
}
+
  font-size: 90%;
#hauptseite-schwesterprojekte .inhalt a {
+
  text-align: center;
      font-weight: bold;
+
}
}
+
 
 +
.hauptseite-links h2, .hauptseite-rechts h2 {
 +
  text-indent: 0.8em;
 +
}
 +
 
 +
#hauptseite-schwesterprojekte .inhalt a {
 +
  font-weight: bold;
 +
}
 +
</pre>

Version vom 31. Juli 2006, 21:34 Uhr

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

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