MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
HaFu (Diskussion | Beiträge) |
HaFu (Diskussion | Beiträge) |
||
Zeile 28: | Zeile 28: | ||
text-align: center; | text-align: center; | ||
margin: 0; | margin: 0; | ||
− | padding: 0. | + | padding: 0.4em 0.8em; |
} | } | ||
Version vom 26. Juni 2021, 08:31 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;
}
.spalte-1-1 {
width: 100%;
margin: 0 0 1em 0;
}
.spalte-1-2 {
width: calc(50% - 0.5em);
margin: 0 0 1em 0;
}
.text-center {
text-align: center;
}
.box-header {
text-align: center;
margin: 0;
padding: 0.4em 0.8em;
}
h2.box-header {
margin: 0;
}
.box-content {
background-color: #ffffff;
margin-bottom: 0;
margin-top: 0;
padding: 0.3em 0.8em;
}
.box-content p {
line-height: 2;
}
.box-grau {
border: #8898bf thin solid;
}
.box-grau .box-header {
background-color: #d3d7de;
border-bottom: #8898bf thin solid;
}
.box-gruen {
border: #158e59 thin solid;
}
.box-gruen .box-header {
color: #158e59;
background-color: #8bddc2;
border-bottom: #158e59 thin solid;
}
.box-gruen .box-content {
background-image: url(static/medien/bg-check.png);
background-size: 200px 200px;
background-position: center top;
background-repeat: no-repeat;
}
.box-rot {
border: #972621 thin solid;
}
.box-rot .box-header {
color: #972621;
background-color: #dd938b;
border-bottom: #972621 thin solid;
}
.box-rot .box-content {
background-image: url(static/medien/bg-no.png);
background-size: 200px 200px;
background-position: center top;
background-repeat: no-repeat;
}
.box-blau {
border: #8898bf thin solid;
}
.box-blau .box-header {
background-color: #d8e8ff;
border-bottom: #8898bf thin solid;
}
@media only screen and (max-width: 900px) {
.spalten {
display: block;
}
.spalte-1-2 {
width: 100%;
}
}