MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Eressea
Zur Navigation springenZur Suche springen
(row_layout: z.B. 2 Tabellen nebeneinander) |
KKeine Bearbeitungszusammenfassung |
||
Zeile 17: | Zeile 17: | ||
.mainpage_banner_heading { | .mainpage_banner_heading { | ||
flex: 1 50%; | flex: 1 50%; | ||
min-width: | min-width: 15em; | ||
text-align:center; | text-align:center; | ||
font-size: 180%; | font-size: 180%; |
Version vom 6. März 2024, 22:14 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: 15em; 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; } /* layout divs in a row if possible */ .row_layout { display: flex; flex-flow: row wrap; } .row_element { flex: 1; } table.center_content th { text-align: center; } table.center_content tr > th:nth-child(1) { text-align: left; } table.center_content tr { text-align: center; } table.zebra tbody tr:nth-child(even) { background-color: #bbb; } table.zebra tbody tr:nth-child(even) th { background-color: #bbb; } /* table.zebra tbody tr:nth-child(odd) th { background-color: #999; } */ .wikitable tr.fake_table td { background: #fff; border: 0; text-align: left; }