« MediaWiki:Common.css » : différence entre les versions
(minification) |
(thème sombre) |
||
Ligne 10 : | Ligne 10 : | ||
.bandeau-article-detaille{border-top:1px solid #E4E4E4;border-bottom:1px solid #E4E4E4;background-color:#fdfdfd;border-width:1px 0;padding:0.2em 0.5em 0.3em 0;margin:0.3em 0 0.7em 2em;} | .bandeau-article-detaille{border-top:1px solid #E4E4E4;border-bottom:1px solid #E4E4E4;background-color:#fdfdfd;border-width:1px 0;padding:0.2em 0.5em 0.3em 0;margin:0.3em 0 0.7em 2em;} | ||
.loupe{background-image:url(https://upload.wikimedia.org/wikipedia/commons/thumb/6/61/Searchtool.svg/15px-Searchtool.svg.png);background-position:2px 3px;background-repeat:no-repeat;line-height:1.5em;text-indent:23px;display:inline-block;} | .loupe{background-image:url(https://upload.wikimedia.org/wikipedia/commons/thumb/6/61/Searchtool.svg/15px-Searchtool.svg.png);background-position:2px 3px;background-repeat:no-repeat;line-height:1.5em;text-indent:23px;display:inline-block;} | ||
@darkmode-table-background-color: #ddd; | |||
@darkmode-border-color: #cdcbc8; | |||
@darkmode-link-color: #035895; | |||
@darkmode-link-visited-color: #28567d; | |||
@darkmode-red-link-color: #ff6e6e; | |||
body.darkmode { | |||
// e.g. monobook has as light background image | |||
background-image: none; | |||
background-color: #000; | |||
#pt-darkmode-link a:before { | |||
content: '*'; | |||
} | |||
&, | |||
img, | |||
video, | |||
svg, | |||
iframe, /* some maps are iframes */ | |||
.mw-wiki-logo, | |||
.mw-no-invert, | |||
.mw-mmv-overlay, | |||
.mw-mmv-pre-image, | |||
.mw-kartographer-map, | |||
.mw-kartographer-mapDialog-map { | |||
filter: invert(1) hue-rotate(180deg); | |||
-webkit-filter: invert(1) hue-rotate(180deg); | |||
} | |||
/*input[type=text] {background-color:#000;}*/ | |||
/*#searchInput {background-color:#FFF;}*/ | |||
/* Backgrounds */ | |||
.toc, | |||
.thumbinner, | |||
#simpleSearch, | |||
#searchInput, | |||
#searchButton, | |||
#searchGoButton, | |||
table, | |||
table.toccolours, | |||
.wikitable, | |||
.mw-notification { | |||
background-color: @darkmode-table-background-color; | |||
} | |||
/* Borders */ | |||
body, | |||
#mw-head, | |||
#mw-panel, | |||
#content.mw-body, | |||
h1, | |||
h2, | |||
h3, | |||
h4, | |||
h5, | |||
h6, | |||
.toc, | |||
div.thumbinner, | |||
#simpleSearch, | |||
#searchInput, | |||
table.toccolours, | |||
.mw-notification { | |||
background-color: @darkmode-table-background-color; | |||
border-color: @darkmode-border-color; | |||
} | |||
.thumbimage { | |||
border: 0; | |||
} | |||
/* Normal links */ | |||
a, | |||
#mw-panel .portal .body li a, | |||
.toctogglelabel, | |||
.mw-parser-output a.external, | |||
.mw-parser-output a.extiw, | |||
.mw-parser-output a.extiw:active { | |||
color: @darkmode-link-color; | |||
} | |||
/* Visited links */ | |||
a:visited, | |||
#mw-panel .portal .body li a:visited { | |||
color: @darkmode-link-visited-color; | |||
} | |||
/* Red links */ | |||
a.new, | |||
.new a { | |||
color: @darkmode-red-link-color; | |||
} | |||
/** | |||
* Skin-specific overrides | |||
*/ | |||
.vectorTabs li a { | |||
color: @darkmode-link-color; | |||
} | |||
/** | |||
* Non-MediaWiki overrides | |||
*/ | |||
.infobox, /* English Wikipedia, most other wikis with infoboxes */ | |||
.infobox_v2 { | |||
/* French/Portuguese Wikipedia, etc. */ | |||
background-color: @darkmode-table-background-color; | |||
border-color: @darkmode-border-color; | |||
} | |||
/* Maintenance templates you see atop some articles */ | |||
.ambox-content { | |||
background-color: @darkmode-table-background-color; | |||
border-color: @darkmode-border-color; | |||
} | |||
} |
Version du 29 avril 2021 à 08:50
.page-Accueil h1.firstHeading{display:none} .mw-charinsert-buttons{margin-top:10px;border:1px solid #aaa;padding:1px;text-align:center;font-size:110%} .mw-charinsert-buttons a{color:#000;background-color:#cde;font-weight:700;font-size:.9em;text-decoration:none;border:thin outset #069;padding:0 .1em .1em} .mw-charinsert-buttons a:active,.mw-charinsert-buttons a:hover{background-color:#bcd;border-style:inset} .client-js .mw-edittools-section{display:inline} .client-js .mw-edittools-section input[type=button]{font-size:.9em;padding-left:1px;padding-right:1px;margin-left:1px} #pt-darkmode-link{font-weight:bold;} .ext_img{width:68px;height:51px;vertical-align: baseline;} .bandeau-article-detaille{border-top:1px solid #E4E4E4;border-bottom:1px solid #E4E4E4;background-color:#fdfdfd;border-width:1px 0;padding:0.2em 0.5em 0.3em 0;margin:0.3em 0 0.7em 2em;} .loupe{background-image:url(https://upload.wikimedia.org/wikipedia/commons/thumb/6/61/Searchtool.svg/15px-Searchtool.svg.png);background-position:2px 3px;background-repeat:no-repeat;line-height:1.5em;text-indent:23px;display:inline-block;} @darkmode-table-background-color: #ddd; @darkmode-border-color: #cdcbc8; @darkmode-link-color: #035895; @darkmode-link-visited-color: #28567d; @darkmode-red-link-color: #ff6e6e; body.darkmode { // e.g. monobook has as light background image background-image: none; background-color: #000; #pt-darkmode-link a:before { content: '*'; } &, img, video, svg, iframe, /* some maps are iframes */ .mw-wiki-logo, .mw-no-invert, .mw-mmv-overlay, .mw-mmv-pre-image, .mw-kartographer-map, .mw-kartographer-mapDialog-map { filter: invert(1) hue-rotate(180deg); -webkit-filter: invert(1) hue-rotate(180deg); } /*input[type=text] {background-color:#000;}*/ /*#searchInput {background-color:#FFF;}*/ /* Backgrounds */ .toc, .thumbinner, #simpleSearch, #searchInput, #searchButton, #searchGoButton, table, table.toccolours, .wikitable, .mw-notification { background-color: @darkmode-table-background-color; } /* Borders */ body, #mw-head, #mw-panel, #content.mw-body, h1, h2, h3, h4, h5, h6, .toc, div.thumbinner, #simpleSearch, #searchInput, table.toccolours, .mw-notification { background-color: @darkmode-table-background-color; border-color: @darkmode-border-color; } .thumbimage { border: 0; } /* Normal links */ a, #mw-panel .portal .body li a, .toctogglelabel, .mw-parser-output a.external, .mw-parser-output a.extiw, .mw-parser-output a.extiw:active { color: @darkmode-link-color; } /* Visited links */ a:visited, #mw-panel .portal .body li a:visited { color: @darkmode-link-visited-color; } /* Red links */ a.new, .new a { color: @darkmode-red-link-color; } /** * Skin-specific overrides */ .vectorTabs li a { color: @darkmode-link-color; } /** * Non-MediaWiki overrides */ .infobox, /* English Wikipedia, most other wikis with infoboxes */ .infobox_v2 { /* French/Portuguese Wikipedia, etc. */ background-color: @darkmode-table-background-color; border-color: @darkmode-border-color; } /* Maintenance templates you see atop some articles */ .ambox-content { background-color: @darkmode-table-background-color; border-color: @darkmode-border-color; } }