« MediaWiki:Common.css » : différence entre les versions
Apparence
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
/* Le CSS placé ici sera appliqué à tous les habillages. */ | /* Le CSS placé ici sera appliqué à tous les habillages. */ | ||
/* dark-mode gadget: enable dark mode automatically based on the system theme */ | |||
@import "https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-dark-mode.css&action=raw&ctype=text/css" screen and (prefers-color-scheme: dark); | |||
.infobox td:nth-child(2), .warnbox td:nth-child(2) { padding: 0 10px; } | .infobox td:nth-child(2), .warnbox td:nth-child(2) { padding: 0 10px; } |
Version du 22 mai 2022 à 15:09
/* Le CSS placé ici sera appliqué à tous les habillages. */ /* dark-mode gadget: enable dark mode automatically based on the system theme */ @import "https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-dark-mode.css&action=raw&ctype=text/css" screen and (prefers-color-scheme: dark); .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; }