MediaWiki:Mobile.css: Unterschied zwischen den Versionen

Aus zitieren.at – Das Zitier-Wiki
Zur Navigation springen Zur Suche springen
Markierungen: Mobile Web-Bearbeitung Mobile Bearbeitung
Zeile 1: Zeile 1:
 
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
 
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
 +
 
body.page-Hauptseite h1 { display: none; }
 
body.page-Hauptseite h1 { display: none; }
 +
 
/* Boxen Hauptseite */
 
/* Boxen Hauptseite */
.box-hauptseite-top {
+
 
     margin-bottom: 1em;
+
.spalten {
 +
     display: block;
 
}
 
}
  
.box-hauptseite-top h2 {
+
.spalte-1-1 {
 +
    margin: 0 0 1em 0;
 +
}
 +
 
 +
.spalte-1-2 {
 +
    margin: 0 0 1em 0;
 +
}
 +
 
 +
.text-center {
 
     text-align: center;
 
     text-align: center;
    background-color: #d3d7de;
+
}
     margin-bottom: 0;
+
 
     margin-top: 1em;
+
.box-hauptseite h2 {
 +
     text-align: center;
 +
     margin: 0;
 
     padding: 0.2em 0.8em;
 
     padding: 0.2em 0.8em;
    border: #8898bf thin solid;
 
 
}
 
}
  
.box-hauptseite-top-content {
+
.box-content {
    text-align: center;
 
 
     background-color: #ffffff;
 
     background-color: #ffffff;
 
     margin-bottom: 0;
 
     margin-bottom: 0;
 
     margin-top: 0;
 
     margin-top: 0;
 
     padding: 0.3em 0.8em;
 
     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;
 
     border-bottom: #8898bf thin solid;
    border-right: #8898bf thin solid;
 
    border-left: #8898bf thin solid;
 
 
}
 
}
  
.spalte-1-1, .spalte-1-2 {
+
.box-gruen {
     margin-bottom: 1em;
+
     border: #158e59 thin solid;
 
}
 
}
  
.box-hauptseite-gruen h2 {
+
.box-gruen h2 {
    text-align: center;
 
 
     color: #158e59;
 
     color: #158e59;
 
     background-color: #8bddc2;
 
     background-color: #8bddc2;
     margin-bottom: 0;
+
     border-bottom: #158e59 thin solid;
    margin-top: 0;
 
    padding: 0.2em 0.8em;
 
    border: #158e59 thin solid;
 
 
}
 
}
  
.box-hauptseite-gruen-content {
+
.box-gruen .box-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;
 
 
     background-image: url(static/medien/bg-check.png);
 
     background-image: url(static/medien/bg-check.png);
 
     background-size: 200px 200px;
 
     background-size: 200px 200px;
Zeile 54: Zeile 64:
 
}
 
}
  
.content .box-hauptseite-gruen-content p {
+
.box-rot {
line-height: 2;
+
    border: #972621 thin solid;
 
}
 
}
  
.box-hauptseite-rot h2 {
+
.box-rot h2 {
    text-align: center;
 
 
     color: #972621;
 
     color: #972621;
 
     background-color: #dd938b;
 
     background-color: #dd938b;
     margin-bottom: 0;
+
     border-bottom: #972621 thin solid;
    margin-top: 0;
 
    padding: 0.2em 0.8em;
 
    border: #972621 thin solid;
 
 
}
 
}
  
.box-hauptseite-rot-content {
+
.box-rot .box-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;
 
 
     background-image: url(static/medien/bg-no.png);
 
     background-image: url(static/medien/bg-no.png);
 
     background-size: 200px 200px;
 
     background-size: 200px 200px;
Zeile 82: Zeile 81:
 
}
 
}
  
.content .box-hauptseite-rot-content p {
+
.box-blau {
line-height: 2;
+
    border: #8898bf thin solid;
 
}
 
}
  
.box-hauptseite-bottom h2 {
+
.box-blau h2 {
    text-align: center;
 
 
     background-color: #d8e8ff;
 
     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-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;
 
 
}
 
}

Version vom 26. Juni 2021, 08:13 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

body.page-Hauptseite h1 { display: none; }

/* Boxen Hauptseite */

.spalten {
    display: block;
}

.spalte-1-1 {
    margin: 0 0 1em 0;
}

.spalte-1-2 {
    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-rot {
    border: #972621 thin solid;
}

.box-rot h2 {
    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 h2 {
    background-color: #d8e8ff;
    border-bottom: #8898bf thin solid;
}