MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
imported>Admin |
imported>Admin |
||
Zeile 1: | Zeile 1: | ||
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | /* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | ||
− | < | + | |
− | + | <article> | |
+ | .infobox section { | ||
position: absolute; | position: absolute; | ||
display: block; | display: block; | ||
Zeile 9: | Zeile 10: | ||
background-color: #c5d2de; | background-color: #c5d2de; | ||
} | } | ||
− | + | .infobox section h2 { | |
position: absolute; | position: absolute; | ||
left: 0; | left: 0; | ||
Zeile 24: | Zeile 25: | ||
z-index: 1; | z-index: 1; | ||
} | } | ||
− | + | .infobox section:nth-child(2) h2 { | |
left: 120px; | left: 120px; | ||
z-index: 0; | z-index: 0; | ||
} | } | ||
− | + | .infobox section:nth-child(3) h2 { | |
left: 240px; | left: 240px; | ||
z-index: -1; | z-index: -1; | ||
} | } | ||
− | + | .infobox section h2 a { | |
display: block; | display: block; | ||
margin: 5px 0 0 0; | margin: 5px 0 0 0; | ||
Zeile 39: | Zeile 40: | ||
color: #c5d2de; | color: #c5d2de; | ||
} | } | ||
+ | </article> | ||
+ | <style> | ||
.statements {border-spacing: 1px;} | .statements {border-spacing: 1px;} | ||
.statement {border-spacing: 1px;} | .statement {border-spacing: 1px;} |
Version vom 5. August 2020, 13:21 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ <article> .infobox section { position: absolute; display: block; width: 400px; height: 200px; top: 100px; background-color: #c5d2de; } .infobox section h2 { position: absolute; left: 0; top: -30px; width: 124px; height: 29px; font-family: Verdana; font-size: 15px; margin: 0; background-color: #194b7d; border-radius: 15px 15px 0 0; border: solid #ffffff; border-width: 1px 1px 0 0; z-index: 1; } .infobox section:nth-child(2) h2 { left: 120px; z-index: 0; } .infobox section:nth-child(3) h2 { left: 240px; z-index: -1; } .infobox section h2 a { display: block; margin: 5px 0 0 0; text-align: center; text-decoration: none; color: #c5d2de; } </article> <style> .statements {border-spacing: 1px;} .statement {border-spacing: 1px;} .property {background-color: Tomato; color: #E6E6E6; font-size: 14px;} .values {background-color: #FEF3DD;} .value {} .qstatements {background-color:#E1CCA4; border-color: grey;} .qstatement {background-color:#E1CCA4;} .qproperty {background-color:#E1CCA4;} .qvalues {background-color:#E1CCA4;} .qvalue {} </style>