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

De Banane Atomic
Aller à la navigationAller à la recherche
Aucun résumé des modifications
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;
}
table.kode {
    width: 100%;
    table-layout: fixed; /* force the cells to fit the table */
}
table.kode td:first-child {
    /* force la largeur de la première colonne, ainsi la deuxième colonne occupe toute la place restante */
    width: 40px;
}
table.kode div {
    outline: none; /* suppression des pointillés autour des icones de gauche */
}
table.kode pre {
margin: 0;
}
table.filebox {
border: 1px solid white;
border-top-left-radius: 1.5em;
margin-bottom: 4px;
width: 100%;
table-layout: fixed; /* force the cells to fit the table */
}
table.filebox tr:first-child > td {
font-family: "Source Code Pro", Consolas, monospace;
padding-left: 1em;
}
table.filebox pre {
margin: 0;
}
}

Version du 21 avril 2023 à 18:53

/* 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(/skins/MonoBook/resources/images/list-plus.svg);
}
div.list-minus > ul > li {
    background-image: url(/skins/MonoBook/resources/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;
}

table.kode {
    width: 100%;
    table-layout: fixed; /* force the cells to fit the table */
}
table.kode td:first-child {
    /* force la largeur de la première colonne, ainsi la deuxième colonne occupe toute la place restante */
    width: 40px;
}
table.kode div {
    outline: none; /* suppression des pointillés autour des icones de gauche */
}
table.kode pre {
	margin: 0;
}

table.filebox {
	border: 1px solid white;
	border-top-left-radius: 1.5em;
	margin-bottom: 4px;
	width: 100%;
	table-layout: fixed; /* force the cells to fit the table */
}
table.filebox tr:first-child > td {
	font-family: "Source Code Pro", Consolas, monospace;
	padding-left: 1em;
}
table.filebox pre {
	margin: 0;
}