MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus STA Dokumentationsplattform
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. */
 
<style>
 
<style>
 +
.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;
 +
}
 
.statements {border-spacing: 1px;}
 
.statements {border-spacing: 1px;}
 
.statement {border-spacing: 1px;}
 
.statement {border-spacing: 1px;}

Version vom 5. August 2020, 13:17 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
<style>
.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;
}
.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>