MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Eressea
Zur Navigation springenZur Suche springen
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 75: Zeile 75:


table.zebra tbody tr:nth-child(even) th {
table.zebra tbody tr:nth-child(even) th {
   background-color: #999999;
   background-color: #bbb;
}
}


/*
table.zebra tbody tr:nth-child(odd) th {
table.zebra tbody tr:nth-child(odd) th {
   background-color: #cccccc;
   background-color: #999;
}
}
*/

Version vom 4. März 2024, 21:04 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
div.mainpage_content {
  display:flex;
  flex-flow: row wrap;
}

div.mainpage_banner {
  display:flex;
  flex-flow: row wrap;
  width:99%;
  border:1px solid #ccc;
  background:#fbfbfb;
  padding: 3px;
  margin: 3px;
}

.mainpage_banner_heading {
  flex: 1 50%;
  min-width: 20em;
  text-align:center;
  font-size: 180%;
  color: #000;
}

.mainpage_banner_sub {
  flex: 1 50%;
  min-width: 40%;
}

.mainpage_box {
  flex: 1 47%;
  min-width: 40ch;
  background: #fbfbfb;
  border: 1px solid #cfcff0;
  background: #f5faff;
  padding: 3px;
  margin: 3px;
}

.mainpage_box_heading_2 {
  margin: 0.1em;
  background: #cfcff0;
  font-size: 120%;
  font-weight: bold;
  border: 1px solid #a3bfb1;
  text-align: left;
  color: #000;
  padding: 0.2em 0.4em;
}



table.zebra {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 5px;
}

table.center th {
  text-align: center;
}

table.center tr > th:nth-child(1) {
  text-align: left;
}

table.center tr {
  text-align: center;
}

table.zebra tbody tr:nth-child(even) {
  background-color: #aaaaaa;
}


table.zebra tbody tr:nth-child(even) th {
  background-color: #bbb;
}

/*
table.zebra tbody tr:nth-child(odd) th {
  background-color: #999;
}
*/