MediaWiki: Common.css

Aus Pfeilheimwiki
Wechseln zu: Navigation, Suche
K
(Added news-template, first version)
Zeile 7: Zeile 7:
  
 
.mainpanel {
 
.mainpanel {
    background-color: orange;
+
}
 +
 
 +
.mainpanel: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: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:last-child>div:first-child {
 +
margin-top: 15px;
 +
padding-left: 10px;
 +
margin-bottom:15px;
 +
border-bottom: 1px solid grey;
 +
}
 +
 
 +
.mainpanel:last-child>div:last-child {
 +
margin:15px;
 
}
 
}

Version vom 21. Februar 2018, 04:20 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: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: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:last-child>div:first-child {
 margin-top: 15px;
 padding-left: 10px;
 margin-bottom:15px;
 border-bottom: 1px solid grey;
}

.mainpanel:last-child>div:last-child {
 margin:15px;
}