MediaWiki:Gadget-colorRC.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "/** * Color certain namespaces in RecentChanges * @todo: add something to distinguish watched pages (since this already bolds by default) * * This gadget is enabled for mobile..." |
mNo edit summary |
||
| Line 10: | Line 10: | ||
.mw-changeslist-title[href^="/w/Forum:"]:not(.new), | .mw-changeslist-title[href^="/w/Forum:"]:not(.new), | ||
.mw-changeslist-title[href^="/w/MediaWiki:"]:not(.new), | .mw-changeslist-title[href^="/w/MediaWiki:"]:not(.new), | ||
.mw-changeslist-title[href^="/w/ | .mw-changeslist-title[href^="/w/GeminiStation:"]:not(.new), | ||
.mw-changeslist-title[href^="/w/File:"]:not(.new), | .mw-changeslist-title[href^="/w/File:"]:not(.new), | ||
.mw-changeslist-title[href^="/w/Module:"]:not(.new), | .mw-changeslist-title[href^="/w/Module:"]:not(.new), | ||
| Line 43: | Line 43: | ||
/* blue */ | /* blue */ | ||
.mw-changeslist-title[href^="/w/ | .mw-changeslist-title[href^="/w/GeminiStation:"]:not(.new) { | ||
background: #ebf3f6; | background: #ebf3f6; | ||
} | } | ||
| Line 74: | Line 74: | ||
} | } | ||
body.wgl-darkmode .mw-changeslist-title[href^="/w/ | body.wgl-darkmode .mw-changeslist-title[href^="/w/GeminiStation:"]:not(.new) { | ||
background: #438ab5; | background: #438ab5; | ||
color: #ebf3f6; | color: #ebf3f6; | ||
Revision as of 15:36, 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^="/w/Template:"]:not(.new),
.mw-changeslist-title[href^="/w/Forum:"]:not(.new),
.mw-changeslist-title[href^="/w/MediaWiki:"]:not(.new),
.mw-changeslist-title[href^="/w/GeminiStation:"]:not(.new),
.mw-changeslist-title[href^="/w/File:"]:not(.new),
.mw-changeslist-title[href^="/w/Module:"]:not(.new),
.mw-changeslist-title[href^="/w/Talk:"]:not(.new),
.mw-changeslist-title[href^="/w/Template_talk:"]:not(.new) {
font-weight: bold;
padding: 1px 4px;
margin-left: -4px;
border-radius: 3px;
}
/* red */
.mw-changeslist-title[href^="/w/Template:"]:not(.new),
.mw-changeslist-title[href^="/w/Module:"]:not(.new) {
background: #ffe5e4;
color: #b4312d;
}
/* orange */
.mw-changeslist-title[href^="/w/Forum:"]:not(.new),
.mw-changeslist-title[href^="/w/Talk:"]:not(.new),
.mw-changeslist-title[href^="/w/Template_talk:"]:not(.new) {
background: #ffecd9;
color: #d47300;
}
/* green */
.mw-changeslist-title[href^="/w/MediaWiki:"]:not(.new) {
background: #ecfbe0;
color: #619335;
}
/* blue */
.mw-changeslist-title[href^="/w/GeminiStation:"]:not(.new) {
background: #ebf3f6;
}
/* purple */
.mw-changeslist-title[href^="/w/File:"]:not(.new) {
background: #f0eafa;
color: #766698;
}
/* DARK MODE
just inverting background/text colors for now */
body.wgl-darkmode .mw-changeslist-title[href^="/w/Template:"]:not(.new),
body.wgl-darkmode .mw-changeslist-title[href^="/w/Module:"]:not(.new) {
background: #b4312d;
color: #ffe5e4;
}
body.wgl-darkmode .mw-changeslist-title[href^="/w/Forum:"]:not(.new),
body.wgl-darkmode .mw-changeslist-title[href^="/w/Talk:"]:not(.new),
body.wgl-darkmode .mw-changeslist-title[href^="/w/Template_talk:"]:not(.new) {
background: #d47300;
color: #ffecd9;
}
body.wgl-darkmode .mw-changeslist-title[href^="/w/MediaWiki:"]:not(.new) {
background: #619335;
color: #ecfbe0;
}
body.wgl-darkmode .mw-changeslist-title[href^="/w/GeminiStation:"]:not(.new) {
background: #438ab5;
color: #ebf3f6;
}
body.wgl-darkmode .mw-changeslist-title[href^="/w/File:"]:not(.new) {
background: #766698;
color: #f0eafa;
}