MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Gemini-Wiki
Zur Navigation springen Zur Suche springen
 
Zeile 40: Zeile 40:
 
   background-color: #f9f9f9;
 
   background-color: #f9f9f9;
 
}
 
}
 +
 +
/** ----- SyntaxHighlight-Tables ----- **/
 +
pre { overflow: auto; }

Aktuelle Version vom 12. September 2013, 12:45 Uhr

/** ----- Tabellenzeilen wechselweise gefärbt: Zebra-Look (SBL) ----- **/
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
.wikitable th,
.prettytable th {
    background: #f1f1f1;
    text-align: center;
}
 
.wikitable tr:nth-child(odd),
.prettytable tr:nth-child(odd) { /* The striping is handled by the :nth-child pseudo-class, with the odd row adjusted. */
    background: #f5f5f5;
}
.wikitable caption,
.prettytable caption {
    font-weight: bold;
}
.wikitable th
{
 background-color: #e9e9e9; /* changed */
 text-align: center;
 font-weight: bold; /* added */
}

/** ----- SyntaxHighlight ----- **/
div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px dashed #2f6fab;
  background-color: #f9f9f9;
}

/** ----- SyntaxHighlight-Tables ----- **/
pre { overflow: auto; }