MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
body.dark-mode { | body.dark-mode { | ||
background-color: #121212; | background-color: #121212; | ||
color: # | color: #ffffff; /* Change to white */ | ||
} | } | ||
body.dark-mode a { | body.dark-mode a { | ||
color: #64b5f6; | color: #64b5f6; | ||
} | |||
body.dark-mode a:visited { | |||
color: #bb86fc; | |||
} | } | ||
body.dark-mode .mw-body { | body.dark-mode .mw-body { | ||
background-color: #1e1e1e; | background-color: #1e1e1e; | ||
color: #ffffff; /* Ensure normal text is white in the main body */ | |||
} | } | ||
Revision as of 01:46, 17 November 2024
/* CSS placed here will be applied to all skins */
body.dark-mode {
background-color: #121212;
color: #ffffff; /* Change to white */
}
body.dark-mode a {
color: #64b5f6;
}
body.dark-mode a:visited {
color: #bb86fc;
}
body.dark-mode .mw-body {
background-color: #1e1e1e;
color: #ffffff; /* Ensure normal text is white in the main body */
}