MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
HaFu (Diskussion | Beiträge) |
HaFu (Diskussion | Beiträge) |
||
| Zeile 4: | Zeile 4: | ||
.box-hauptseite-top { | .box-hauptseite-top { | ||
display: table; | display: table; | ||
| − | |||
margin-left: auto; | margin-left: auto; | ||
margin-right: auto; | margin-right: auto; | ||
| Zeile 27: | Zeile 26: | ||
border-right: #8898bf thin solid; | border-right: #8898bf thin solid; | ||
border-left: #8898bf thin solid; | border-left: #8898bf thin solid; | ||
| + | } | ||
| + | |||
| + | .spalten { | ||
| + | display: flex; | ||
| + | justify-content: space-between; | ||
| + | margin: 1em 0; | ||
| + | } | ||
| + | |||
| + | .spalte-1-2 { | ||
| + | width: calc(50% - 0.5em); | ||
| + | margin: 1em 0; | ||
| + | } | ||
| + | |||
| + | .box-hauptseite-gruen { | ||
| + | width: 100%; | ||
| + | } | ||
| + | |||
| + | .box-hauptseite-gruen h2 { | ||
| + | background-color: #4fb694; | ||
| + | margin-bottom: 0; | ||
| + | margin-top: 0; | ||
| + | padding: 0.2em 0.8em; | ||
| + | border: #075d32 thin solid; | ||
| + | } | ||
| + | |||
| + | .box-hauptseite-gruen-content { | ||
| + | background-color: #ffffff; | ||
| + | margin-bottom: 0; | ||
| + | margin-top: 0; | ||
| + | padding: 0.3em 0.8em; | ||
| + | border-bottom: #075d32 thin solid; | ||
| + | border-right: #075d32 thin solid; | ||
| + | border-left: #075d32 thin solid; | ||
| + | } | ||
| + | |||
| + | .box-hauptseite-rot { | ||
| + | width: 100%; | ||
| + | } | ||
| + | |||
| + | .box-hauptseite-rot h2 { | ||
| + | background-color: #b6584f; | ||
| + | margin-bottom: 0; | ||
| + | margin-top: 0; | ||
| + | padding: 0.2em 0.8em; | ||
| + | border: #6d130e thin solid; | ||
| + | } | ||
| + | |||
| + | .box-hauptseite-rot-content { | ||
| + | background-color: #ffffff; | ||
| + | margin-bottom: 0; | ||
| + | margin-top: 0; | ||
| + | padding: 0.3em 0.8em; | ||
| + | border-bottom: #6d130e thin solid; | ||
| + | border-right: #6d130e thin solid; | ||
| + | border-left: #6d130e thin solid; | ||
} | } | ||
Version vom 24. Juni 2021, 08:47 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
body.page-Hauptseite h1 { display: none; }
/* Boxen Hauptseite */
.box-hauptseite-top {
display: table;
margin-left: auto;
margin-right: auto;
text-align: center;
}
.box-hauptseite-top h2 {
background-color: #d8e8ff;
margin-bottom: 0;
margin-top: 0;
padding: 0.2em 0.8em;
border: #8898bf thin solid;
}
.box-hauptseite-top-content {
text-align: center;
background-color: #ffffff;
margin-bottom: 0;
margin-top: 0;
padding: 0.3em 0.8em;
border-bottom: #8898bf thin solid;
border-right: #8898bf thin solid;
border-left: #8898bf thin solid;
}
.spalten {
display: flex;
justify-content: space-between;
margin: 1em 0;
}
.spalte-1-2 {
width: calc(50% - 0.5em);
margin: 1em 0;
}
.box-hauptseite-gruen {
width: 100%;
}
.box-hauptseite-gruen h2 {
background-color: #4fb694;
margin-bottom: 0;
margin-top: 0;
padding: 0.2em 0.8em;
border: #075d32 thin solid;
}
.box-hauptseite-gruen-content {
background-color: #ffffff;
margin-bottom: 0;
margin-top: 0;
padding: 0.3em 0.8em;
border-bottom: #075d32 thin solid;
border-right: #075d32 thin solid;
border-left: #075d32 thin solid;
}
.box-hauptseite-rot {
width: 100%;
}
.box-hauptseite-rot h2 {
background-color: #b6584f;
margin-bottom: 0;
margin-top: 0;
padding: 0.2em 0.8em;
border: #6d130e thin solid;
}
.box-hauptseite-rot-content {
background-color: #ffffff;
margin-bottom: 0;
margin-top: 0;
padding: 0.3em 0.8em;
border-bottom: #6d130e thin solid;
border-right: #6d130e thin solid;
border-left: #6d130e thin solid;
}