Aller au contenu

« MediaWiki:Common.css » : différence entre les versions

De Banane Atomic
Aucun résumé des modifications
Balise : Révocation manuelle
Aucun résumé des modifications
Ligne 40 : Ligne 40 :
     background-position: 0 .2em;
     background-position: 0 .2em;
     padding-left: 1.4em;
     padding-left: 1.4em;
}
/* tableaux */
/* monospace dans les colonnes */
table.wtmono1 tr td:first-child {
    font-family: Inconsolata-g, monospace;
}
table.wtmono2 tr td:nth-child(2) {
    font-family: Inconsolata-g, monospace;
}
table.wtmono3 tr td:nth-child(3) {
    font-family: Inconsolata-g, monospace;
}
table.wtmono4 tr td:nth-child(4) {
    font-family: Inconsolata-g, monospace;
}
/* colorer une ligne sur 2 */
table.bicolor tr:nth-child(2n) {
    background-color: DarkSlateGrey;
}
}

Version du 8 mars 2025 à 18:34

/* Le CSS placé ici sera appliqué à tous les habillages. */

.infobox td:nth-child(2), .warnbox td:nth-child(2) { padding: 0 10px; }
.infobox, .warnbox { margin-left: 20px; }
.infobox { border: 1px solid #6EB5F8; border-radius: 10px;}
.warnbox { border: 1px solid #FFB472; border-radius: 10px;}

/* espacement entre infobox,warnbox et infobox,warnbox,kode,filebox */
.infobox+table, .warnbox+table {
    margin-top: 5px;
}

.boxx {
    background: #202020;
    color: #d0d0d0;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 1px 4px;
    font-family: monospace,Courier;
}

div.list-plus > ul,
div.list-minus > ul {
    list-style-type: none;
    list-style-image: none;
    padding: 0;
    margin: 0;
    margin-left: .2em;
}
div.list-plus > ul > li {
    background-image: url(/resources/assets/images/list-plus.svg);
}
div.list-minus > ul > li {
    background-image: url(/resources/assets/images/list-minus.svg);
}
div.list-plus > ul > li,
div.list-minus > ul > li {
    background-size: 1em;
    background-repeat: no-repeat;
    background-position: 0 .2em;
    padding-left: 1.4em;
}

/* tableaux */
/* monospace dans les colonnes */
table.wtmono1 tr td:first-child {
    font-family: Inconsolata-g, monospace;
}

table.wtmono2 tr td:nth-child(2) {
    font-family: Inconsolata-g, monospace;
}

table.wtmono3 tr td:nth-child(3) {
    font-family: Inconsolata-g, monospace;
}

table.wtmono4 tr td:nth-child(4) {
    font-family: Inconsolata-g, monospace;
}

/* colorer une ligne sur 2 */
table.bicolor tr:nth-child(2n) {
    background-color: DarkSlateGrey;
}