Différences entre versions de « MediaWiki:Common.css »

De Wikimatica
Ligne 15 : Ligne 15 :
 
     text-align: center;
 
     text-align: center;
 
}
 
}
.infobox th {
+
.infobox .infosub{
     text-align: left;
+
     background: #e0e0e0;
     vertical-align: top;
+
     text-align: center;
     width: 120px;
+
     font-weight: bold;
 
}
 
}
 +
 
.infobox td {
 
.infobox td {
 
     vertical-align: top;
 
     vertical-align: top;
 
}
 
}

Version du 1 octobre 2020 à 04:01

/* Le CSS placé ici sera appliqué à tous les habillages. */
.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox .infosub{
    background: #e0e0e0;
    text-align: center;
    font-weight: bold;
}

.infobox td {
    vertical-align: top;
}