MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
HaFu (Diskussion | Beiträge) |
HaFu (Diskussion | Beiträge) |
||
Zeile 2: | Zeile 2: | ||
body.page-Hauptseite h1 { display: none; } | body.page-Hauptseite h1 { display: none; } | ||
/* Boxen Hauptseite */ | /* Boxen Hauptseite */ | ||
+ | .spalten { | ||
+ | display: flex; | ||
+ | justify-content: space-between; | ||
+ | flex-wrap: wrap; | ||
+ | margin: 1em 0; | ||
+ | } | ||
+ | |||
+ | .spalte-1-1 { | ||
+ | width: 100%; | ||
+ | margin: 1em 0; | ||
+ | } | ||
+ | |||
+ | .spalte-1-2 { | ||
+ | width: calc(50% - 0.5em); | ||
+ | margin: 1em 0; | ||
+ | } | ||
+ | |||
.box-hauptseite-top h2 { | .box-hauptseite-top h2 { | ||
text-align: center; | text-align: center; | ||
Zeile 20: | Zeile 37: | ||
border-right: #8898bf thin solid; | border-right: #8898bf thin solid; | ||
border-left: #8898bf thin solid; | border-left: #8898bf thin solid; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Version vom 24. Juni 2021, 10:08 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
body.page-Hauptseite h1 { display: none; }
/* Boxen Hauptseite */
.spalten {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin: 1em 0;
}
.spalte-1-1 {
width: 100%;
margin: 1em 0;
}
.spalte-1-2 {
width: calc(50% - 0.5em);
margin: 1em 0;
}
.box-hauptseite-top h2 {
text-align: center;
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;
}
.box-hauptseite-gruen h2 {
color: #158e59;
background-color: #8bddc2;
margin-bottom: 0;
margin-top: 0;
padding: 0.2em 0.8em;
border: #158e59 thin solid;
}
.box-hauptseite-gruen-content {
background-color: #ffffff;
margin-bottom: 0;
margin-top: 0;
padding: 0.3em 0.8em;
border-bottom: #158e59 thin solid;
border-right: #158e59 thin solid;
border-left: #158e59 thin solid;
}
.box-hauptseite-rot h2 {
color: #972621;
background-color: #dd938b;
margin-bottom: 0;
margin-top: 0;
padding: 0.2em 0.8em;
border: #972621 thin solid;
}
.box-hauptseite-rot-content {
background-color: #ffffff;
margin-bottom: 0;
margin-top: 0;
padding: 0.3em 0.8em;
border-bottom: #972621 thin solid;
border-right: #972621 thin solid;
border-left: #972621 thin solid;
}