MediaWiki: Common.css

Aus Pfeilheimwiki
Wechseln zu: Navigation, Suche
K
K
Zeile 33: Zeile 33:
 
}
 
}
  
.mainpanel>div:last-child>div:div:nth-child(2n) {
+
.mainpanel>div:last-child>div:nth-child(2n+1) {
 
  margin-top: 15px;
 
  margin-top: 15px;
 
  padding-left: 10px;
 
  padding-left: 10px;
Zeile 40: Zeile 40:
 
}
 
}
  
.mainpanel>div:last-child>div:nth-child(2n+1) {
+
.mainpanel>div:last-child>div:nth-child(2n) {
 
  margin:15px;
 
  margin:15px;
 
}
 
}

Version vom 21. Februar 2018, 04:34 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
@import url(http://fonts.googleapis.com/css?family=Droid+Serif&v1);

* {
    font-family: Droid Serif;
  }

.mainpanel {
}

.mainpanel>div:first-child {
 padding: 10px;
 margin-bottom: 0;
 font-size: 22px;
 font-weight: 300;
 border: 1px solid transparent;
 border-radius: 4px;
 background-image: linear-gradient(to bottom,#337ab7 0,#265a88 100%);
 color: #fff;
 background-color: #337ab7;
 border-color: #2e6da4;
 padding: 0.2em;
 text-align: center;
 vertical-align: middle;
}

.mainpanel>div:last-child {
 padding: 0.5em;
 margin-top: 1em;
 box-shadow: 2px 2px 8px grey;
 border-radius: 5pt;
 background-image: linear-gradient(to bottom,#f8f8f8 0,#f0f0f0 100%);
}

.mainpanel>div:last-child>div:nth-child(2n+1) {
 margin-top: 15px;
 padding-left: 10px;
 margin-bottom:15px;
 border-bottom: 1px solid grey;
}

.mainpanel>div:last-child>div:nth-child(2n) {
 margin:15px;
}