MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus paznaunerisch.at
Wechseln zu: Navigation, Suche
Zeile 8: Zeile 8:
 
*/
 
*/
  
 
+
/* even and odd in tables*/
== wikitable, sortablewikitable, and prettytable class definitions==
+
.paztable .row-even {background-color:#ccc;}
* based on meta.wikimedia.org MediaWiki:Common.css
+
.paztable .row-odd {background-color:#fff;}
<pre>
 
*/
 
 
table.wikitable, table.sortablewikitable,
 
table.prettytable {
 
  margin: 1em 1em 1em 0;
 
  background: #f9f9f9;
 
  border: 1px #aaaaaa solid;
 
  border-collapse: collapse;
 
}
 
 
table.wikitable th, table.wikitable td,
 
table.sortablewikitable th,  table.sortablewikitable td,
 
table.prettytable th, table.prettytable td {
 
  border: 1px #aaaaaa solid;
 
  padding: 0.2em;
 
}
 
 
table.wikitable th,
 
table.sortablewikitable th,
 
table.prettytable th {
 
  background: #E6E6FA; /* lavender; wikimedia: #f2f2f2 */
 
  text-align: center;
 
}
 
 
table.wikitable caption,
 
table.sortablewikitable caption,
 
table.prettytable caption {
 
  margin-left: inherit;
 
  margin-right: inherit;
 
}
 
 
/** class=datatable from www.mediawiki.org */
 
table.datatable th, td {
 
padding: 4px;
 
}
 
table.datatable th {
 
text-align: left;
 
background-color: #999999;
 
}
 
table.datatable tr {
 
background-color: #CCCCCC;
 
}
 
table.datatable tr:hover {
 
background-color: #FFFFCC;
 
}
 

Version vom 24. Januar 2013, 18:30 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. 

table.alternategrey tr:nth-child(even) {background: #E0E0E0;}
 
tr.odd { background: #ccc; }
tr.even { background: #fff; }

*/

/* even and odd in tables*/
.paztable .row-even {background-color:#ccc;}
.paztable .row-odd {background-color:#fff;}