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