MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
imported>Admin |
imported>Admin |
||
Zeile 2: | Zeile 2: | ||
<class> | <class> | ||
− | article.infobox section { | + | .article.infobox section { |
position: absolute; | position: absolute; | ||
display: block; | display: block; | ||
Zeile 10: | Zeile 10: | ||
background-color: #c5d2de; | background-color: #c5d2de; | ||
} | } | ||
− | article.infobox section h2 { | + | .article.infobox section h2 { |
position: absolute; | position: absolute; | ||
left: 0; | left: 0; | ||
Zeile 25: | Zeile 25: | ||
z-index: 1; | z-index: 1; | ||
} | } | ||
− | article.infobox section:nth-child(2) h2 { | + | .article.infobox section:nth-child(2) h2 { |
left: 120px; | left: 120px; | ||
z-index: 0; | z-index: 0; | ||
} | } | ||
− | article.infobox section:nth-child(3) h2 { | + | .article.infobox section:nth-child(3) h2 { |
left: 240px; | left: 240px; | ||
z-index: -1; | z-index: -1; | ||
} | } | ||
− | article.infobox section h2 a { | + | .article.infobox section h2 a { |
display: block; | display: block; | ||
margin: 5px 0 0 0; | margin: 5px 0 0 0; |
Version vom 5. August 2020, 13:23 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ <class> .article.infobox section { position: absolute; display: block; width: 400px; height: 200px; top: 100px; background-color: #c5d2de; } .article.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; } .article.infobox section:nth-child(2) h2 { left: 120px; z-index: 0; } .article.infobox section:nth-child(3) h2 { left: 240px; z-index: -1; } .article.infobox section h2 a { display: block; margin: 5px 0 0 0; text-align: center; text-decoration: none; color: #c5d2de; } </class> <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>