Vorlage:Vergleich von BSD-Betriebssystemen/style.css

aus Wikipedia, der freien Enzyklopädie
Zur Navigation springen Zur Suche springen
/**
 **
 **  in Arbeit
 **
 **/



/**   Tabelle   **/
.wikitable.bsd-vergleich  {
	vertical-align: top;
	text-align: left;
}

.wikitable.bsd-vergleich caption {
	text-align: left;
}

/**   alle Spalten   **/
.wikitable.bsd-vergleich tr > th, .wikitable.bsd-vergleich tr > td {
	width: 10%;
	vertical-align: top;
	text-align: left;
}

/**   alle Spalten   **/
.wikitable.bsd-vergleich tr > th:last-of-type, .wikitable.bsd-vergleich tr > td:last-of-type {
	width: 30%;
}

/**
 **
 ** THEAD
 **/

/**   alle th-Spalten   **/
.wikitable.bsd-vergleich > thead > tr > th  {
}

/**   1. und 2. th-Spalte   **/
.wikitable.bsd-vergleich > thead > tr > th:nth-of-type(1),
.wikitable.bsd-vergleich > thead > tr > th:nth-of-type(2) {
	text-align: center;
}

/**
 **
 ** TBODY
 **/

/**   alle th-Spalten   **/
.wikitable.bsd-vergleich > tbody > tr > th  {
}

/**   alle td-Spalten   **/
.wikitable.bsd-vergleich > tbody > tr > td  {
	vertical-align: top;
}

.wikitable.bsd-vergleich > tbody > tr > td:last-of-type  {
	width: 30%;
}

/**   1.–4. td-Spalte   **/
.wikitable.bsd-vergleich > tbody > tr > td:nth-of-type(1),
.wikitable.bsd-vergleich > tbody > tr > td:nth-of-type(2),
.wikitable.bsd-vergleich > tbody > tr > td:nth-of-type(3),
.wikitable.bsd-vergleich > tbody > tr > td:nth-of-type(4) {
	white-space: nowrap;
}

/**   1. td-Spalte   **/
.wikitable.bsd-vergleich > tbody > tr > td:nth-of-type(1)  {
	text-align: center;
}

/**   1. td-Spalte, ggf. mit Klasse inaktiv   **/
.wikitable.bsd-vergleich > tbody > tr > td:nth-of-type(1):not(.trennzeile),
.wikitable.bsd-vergleich > tbody > tr > td:nth-of-type(1).inaktiv  {
	background-color: #FFCBCB;
}
.wikitable.zebra.bsd-vergleich > tbody > tr:nth-child(even) > td:nth-of-type(1):not(.trennzeile),
.wikitable.zebra.bsd-vergleich > tbody > tr:nth-child(even) > td:nth-of-type(1).inaktiv  {
	background-color: #ffd1d1;
}

/**   1. td-Spalte, mit Klasse aktiv   **/
.wikitable.bsd-vergleich > tbody > tr > td:nth-of-type(1).aktiv  {
	background-color: #B9FFC5;
}
.wikitable.zebra.bsd-vergleich > tbody > tr:nth-child(even) > td:nth-of-type(1).aktiv  {
	background-color: #c7ffd0;
}

/**   2. und 3. td-Spalte   **/
.wikitable.bsd-vergleich > tbody > tr > td:nth-of-type(2),
.wikitable.bsd-vergleich > tbody > tr > td:nth-of-type(3)  {
	white-space: nowrap;
	text-align:  right;
}

/**   5. td-Spalte   **/
.wikitable.bsd-vergleich > tbody > tr > td:nth-of-type(5)  {
	white-space: pre-line;
}



/*
.wikitable.zebra.bsd-vergleich > tbody > tr:nth-child(even):not([class*="hintergrundfarbe"]) td:nth-of-type(2) {
    background-color: orange;
}

table.wikitable.zebra > tbody > :nth-child(even):not([class*="hintergrundfarbe"])


*/