MediaWiki: Common.css
Aus Pfeilheimwiki
Mkurz (Diskussion | Beiträge) (Added news-template, first version) |
Mkurz (Diskussion | Beiträge) K |
||
Zeile 9: | Zeile 9: | ||
} | } | ||
− | .mainpanel:first-child { | + | .mainpanel>div:first-child { |
padding: 10px; | padding: 10px; | ||
margin-bottom: 0; | margin-bottom: 0; | ||
Zeile 25: | Zeile 25: | ||
} | } | ||
− | .mainpanel:last-child { | + | .mainpanel>div:last-child { |
padding: 0.5em; | padding: 0.5em; | ||
margin-top: 1em; | margin-top: 1em; | ||
Zeile 33: | Zeile 33: | ||
} | } | ||
− | .mainpanel:last-child>div:first-child { | + | .mainpanel>div:last-child>div:first-child { |
margin-top: 15px; | margin-top: 15px; | ||
padding-left: 10px; | padding-left: 10px; | ||
Zeile 40: | Zeile 40: | ||
} | } | ||
− | .mainpanel:last-child>div:last-child { | + | .mainpanel>div:last-child>div:last-child { |
margin:15px; | margin:15px; | ||
} | } |
Version vom 21. Februar 2018, 04:26 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:first-child { margin-top: 15px; padding-left: 10px; margin-bottom:15px; border-bottom: 1px solid grey; } .mainpanel>div:last-child>div:last-child { margin:15px; }