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

De Wikimatica
Ligne 16 : Ligne 16 :
 
}
 
}
 
.infobox th {
 
.infobox th {
     text-align: right;
+
     text-align: center;
 
     vertical-align: top;
 
     vertical-align: top;
 
     width: 120px;
 
     width: 120px;
 +
    background: #E0E0E0;
 
}
 
}
 
.infobox td {
 
.infobox td {
 
     vertical-align: top;
 
     vertical-align: top;
 
}
 
}

Version du 1 octobre 2020 à 03:50

/* 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 th {
    text-align: center;
    vertical-align: top;
    width: 120px;
    background: #E0E0E0;
}
.infobox td {
    vertical-align: top;
}