MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Stadtsprachen
Herbst (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Herbst (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 9: | Zeile 9: | ||
background: linear-gradient(0deg, white 50%, #DCDCDC 50%); | background: linear-gradient(0deg, white 50%, #DCDCDC 50%); | ||
} | } | ||
.container > :nth-child( | .container > :nth-child(5){ | ||
width: 70vw; | width: 70vw; | ||
margin: auto; | margin: auto; | ||
Version vom 3. Mai 2021, 20:40 Uhr
/*@import url("https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css");*/
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
.container{
width: 100vw;
}
/* Header */
.container > :nth-child(1) {
background: linear-gradient(0deg, white 50%, #DCDCDC 50%);
}
.container > :nth-child(5){
width: 70vw;
margin: auto;
}
.container > :nth-child(1) a {
color: black;
}
.container > :nth-child(1) div.col-lg-9{
padding-top: 1vh;
}
a.new:link {
color: dark-blue !important;
}
#p-search{
margin-top: 6%;
}
#p-logo > a > img{
width: 180px;
}
#mw-navigation-collapse > ul{
display: inline-block;
text-align: center;
float: none;
}
.container > :nth-child(2) > div{
margin-top: 1vh;
}
#mw-navigation{
background-color: white;
border: none !important;
text-align: center;
}
#p-contentnavigation a {
color: black;
}
/* Hauptseite */
.panel-footer {
color: darkred;
font-weight: bold;
font-size: 1.2em;
}
.panel{
width: 20vw;
margin: 5px 1vw 0 0;
background-color: white;
box-shadow: 0 4px 4px 0 rgba(0,0,0,0.8);
transition: 0.3s;
}
.panel:hover {
box-shadow: 0 8px 8px 0 rgba(0,0,0,0.8);
}
.panel-footer{
background-color: white;
text-align: center;
overflow-wrap: break-word;
}
.panel img{
max-width:100%;
height:auto;
}
.panel-group > .row {
margin: auto;
padding: 15px;
}
.col-centered{
padding-left: 15%;
}