MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus zitieren.at – Das Zitier-Wiki
Zur Navigation springen Zur Suche springen
Zeile 30: Zeile 30:
 
.spalte-1-1 {
 
.spalte-1-1 {
 
     width: 100%;
 
     width: 100%;
     margin: 1em 0;
+
     margin: 0 0 1em 0;
 
}
 
}
  
 
.spalte-1-2 {
 
.spalte-1-2 {
 
     width: calc(50% - 0.5em);
 
     width: calc(50% - 0.5em);
     margin: 1em 0;
+
     margin: 0 0 1em 0;
 
}
 
}
  
 
.box-hauptseite-gruen h2 {
 
.box-hauptseite-gruen h2 {
 +
    text-align: center;
 
     color: #158e59;
 
     color: #158e59;
 
     background-color: #8bddc2;
 
     background-color: #8bddc2;
Zeile 58: Zeile 59:
  
 
.box-hauptseite-rot h2 {
 
.box-hauptseite-rot h2 {
 +
    text-align: center;
 
     color: #972621;
 
     color: #972621;
 
     background-color: #dd938b;
 
     background-color: #dd938b;
Zeile 80: Zeile 82:
 
     background-color: #d8e8ff;
 
     background-color: #d8e8ff;
 
     margin-bottom: 0;
 
     margin-bottom: 0;
     margin-top: 1em;
+
     margin: 0;
 
     padding: 0.2em 0.8em;
 
     padding: 0.2em 0.8em;
 
     border: #8898bf thin solid;
 
     border: #8898bf thin solid;

Version vom 24. Juni 2021, 10:25 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
body.page-Hauptseite h1 { display: none; }
/* Boxen Hauptseite */
.box-hauptseite-top h2 {
    text-align: center;
    background-color: #d8e8ff;
    margin-bottom: 0;
    margin-top: 1em;
    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;
    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;
}

.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;
}

.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 {
    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;
}

.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;
}