MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will be applied to all skins: @media (prefers-color-scheme: dark) { body { background-color: #121212; color: #e0e0e0; } a { color: #64b5f6; } a:visited { color: #bb86fc; } .mw-body { background-color: #1e1e1e; } →Add more custom styles as needed: }" |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
body.dark-mode { | |||
background-color: #121212; | |||
color: #e0e0e0; | |||
} | |||
body.dark-mode a { | |||
color: #64b5f6; | |||
} | |||
body.dark-mode .mw-body { | |||
background-color: #1e1e1e; | |||
} | } | ||
Revision as of 01:44, 17 November 2024
/* CSS placed here will be applied to all skins */
body.dark-mode {
background-color: #121212;
color: #e0e0e0;
}
body.dark-mode a {
color: #64b5f6;
}
body.dark-mode .mw-body {
background-color: #1e1e1e;
}