MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
background-color: #1e1e1e; | background-color: #1e1e1e; | ||
color: #ffffff; /* Ensure normal text is white in the main body */ | color: #ffffff; /* Ensure normal text is white in the main body */ | ||
} | |||
body.dark-mode .vector-menu, | |||
body.dark-mode #mw-panel { | |||
background-color: #1e1e1e; /* Match the body background */ | |||
color: #ffffff; /* Text colour */ | |||
} | |||
body.dark-mode .vector-menu a, | |||
body.dark-mode #mw-panel a { | |||
color: #64b5f6; /* Link colour */ | |||
} | |||
body.dark-mode .vector-menu a:hover, | |||
body.dark-mode #mw-panel a:hover { | |||
color: #bb86fc; /* Link hover colour */ | |||
} | } | ||
Revision as of 01:47, 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 */
}
body.dark-mode .vector-menu,
body.dark-mode #mw-panel {
background-color: #1e1e1e; /* Match the body background */
color: #ffffff; /* Text colour */
}
body.dark-mode .vector-menu a,
body.dark-mode #mw-panel a {
color: #64b5f6; /* Link colour */
}
body.dark-mode .vector-menu a:hover,
body.dark-mode #mw-panel a:hover {
color: #bb86fc; /* Link hover colour */
}