MediaWiki:Gadget-colorRC.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 7: | Line 7: | ||
*/ | */ | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/Template:"]:not(.new), | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/Forum:"]:not(.new), | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/MediaWiki:"]:not(.new), | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/GeminiStation:"]:not(.new), | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/File:"]:not(.new), | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/Module:"]:not(.new), | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/Talk:"]:not(.new), | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/Template_talk:"]:not(.new) { | ||
font-weight: bold; | font-weight: bold; | ||
padding: 1px 4px; | padding: 1px 4px; | ||
| Line 22: | Line 22: | ||
/* red */ | /* red */ | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/Template:"]:not(.new), | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/Module:"]:not(.new) { | ||
background: #ffe5e4; | background: #ffe5e4; | ||
color: #b4312d; | color: #b4312d; | ||
| Line 29: | Line 29: | ||
/* orange */ | /* orange */ | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/Forum:"]:not(.new), | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/Talk:"]:not(.new), | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/Template_talk:"]:not(.new) { | ||
background: #ffecd9; | background: #ffecd9; | ||
color: #d47300; | color: #d47300; | ||
| Line 37: | Line 37: | ||
/* green */ | /* green */ | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/MediaWiki:"]:not(.new) { | ||
background: #ecfbe0; | background: #ecfbe0; | ||
color: #619335; | color: #619335; | ||
| Line 43: | Line 43: | ||
/* blue */ | /* blue */ | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/GeminiStation:"]:not(.new) { | ||
background: #ebf3f6; | background: #ebf3f6; | ||
} | } | ||
/* purple */ | /* purple */ | ||
.mw-changeslist-title[href^=" | .mw-changeslist-title[href^="/File:"]:not(.new) { | ||
background: #f0eafa; | background: #f0eafa; | ||
color: #766698; | color: #766698; | ||
| Line 56: | Line 56: | ||
just inverting background/text colors for now */ | just inverting background/text colors for now */ | ||
body.wgl-darkmode .mw-changeslist-title[href^=" | body.wgl-darkmode .mw-changeslist-title[href^="/Template:"]:not(.new), | ||
body.wgl-darkmode .mw-changeslist-title[href^=" | body.wgl-darkmode .mw-changeslist-title[href^="/Module:"]:not(.new) { | ||
background: #b4312d; | background: #b4312d; | ||
color: #ffe5e4; | color: #ffe5e4; | ||
} | } | ||
body.wgl-darkmode .mw-changeslist-title[href^=" | body.wgl-darkmode .mw-changeslist-title[href^="/Forum:"]:not(.new), | ||
body.wgl-darkmode .mw-changeslist-title[href^=" | body.wgl-darkmode .mw-changeslist-title[href^="/Talk:"]:not(.new), | ||
body.wgl-darkmode .mw-changeslist-title[href^=" | body.wgl-darkmode .mw-changeslist-title[href^="/Template_talk:"]:not(.new) { | ||
background: #d47300; | background: #d47300; | ||
color: #ffecd9; | color: #ffecd9; | ||
} | } | ||
body.wgl-darkmode .mw-changeslist-title[href^=" | body.wgl-darkmode .mw-changeslist-title[href^="/MediaWiki:"]:not(.new) { | ||
background: #619335; | background: #619335; | ||
color: #ecfbe0; | color: #ecfbe0; | ||
} | } | ||
body.wgl-darkmode .mw-changeslist-title[href^=" | body.wgl-darkmode .mw-changeslist-title[href^="/GeminiStation:"]:not(.new) { | ||
background: #438ab5; | background: #438ab5; | ||
color: #ebf3f6; | color: #ebf3f6; | ||
} | } | ||
body.wgl-darkmode .mw-changeslist-title[href^=" | body.wgl-darkmode .mw-changeslist-title[href^="/File:"]:not(.new) { | ||
background: #766698; | background: #766698; | ||
color: #f0eafa; | color: #f0eafa; | ||
} | } | ||
Latest revision as of 15:38, 19 February 2020
/**
* Color certain namespaces in RecentChanges
* @todo: add something to distinguish watched pages (since this already bolds by default)
*
* This gadget is enabled for mobile too, so ensure that all CSS styling done here makes
* sense for those viewing the wiki from a mobile device.
*/
.mw-changeslist-title[href^="/Template:"]:not(.new),
.mw-changeslist-title[href^="/Forum:"]:not(.new),
.mw-changeslist-title[href^="/MediaWiki:"]:not(.new),
.mw-changeslist-title[href^="/GeminiStation:"]:not(.new),
.mw-changeslist-title[href^="/File:"]:not(.new),
.mw-changeslist-title[href^="/Module:"]:not(.new),
.mw-changeslist-title[href^="/Talk:"]:not(.new),
.mw-changeslist-title[href^="/Template_talk:"]:not(.new) {
font-weight: bold;
padding: 1px 4px;
margin-left: -4px;
border-radius: 3px;
}
/* red */
.mw-changeslist-title[href^="/Template:"]:not(.new),
.mw-changeslist-title[href^="/Module:"]:not(.new) {
background: #ffe5e4;
color: #b4312d;
}
/* orange */
.mw-changeslist-title[href^="/Forum:"]:not(.new),
.mw-changeslist-title[href^="/Talk:"]:not(.new),
.mw-changeslist-title[href^="/Template_talk:"]:not(.new) {
background: #ffecd9;
color: #d47300;
}
/* green */
.mw-changeslist-title[href^="/MediaWiki:"]:not(.new) {
background: #ecfbe0;
color: #619335;
}
/* blue */
.mw-changeslist-title[href^="/GeminiStation:"]:not(.new) {
background: #ebf3f6;
}
/* purple */
.mw-changeslist-title[href^="/File:"]:not(.new) {
background: #f0eafa;
color: #766698;
}
/* DARK MODE
just inverting background/text colors for now */
body.wgl-darkmode .mw-changeslist-title[href^="/Template:"]:not(.new),
body.wgl-darkmode .mw-changeslist-title[href^="/Module:"]:not(.new) {
background: #b4312d;
color: #ffe5e4;
}
body.wgl-darkmode .mw-changeslist-title[href^="/Forum:"]:not(.new),
body.wgl-darkmode .mw-changeslist-title[href^="/Talk:"]:not(.new),
body.wgl-darkmode .mw-changeslist-title[href^="/Template_talk:"]:not(.new) {
background: #d47300;
color: #ffecd9;
}
body.wgl-darkmode .mw-changeslist-title[href^="/MediaWiki:"]:not(.new) {
background: #619335;
color: #ecfbe0;
}
body.wgl-darkmode .mw-changeslist-title[href^="/GeminiStation:"]:not(.new) {
background: #438ab5;
color: #ebf3f6;
}
body.wgl-darkmode .mw-changeslist-title[href^="/File:"]:not(.new) {
background: #766698;
color: #f0eafa;
}