MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 29: | Line 29: | ||
body.dark-mode #mw-panel a:hover { | body.dark-mode #mw-panel a:hover { | ||
color: #bb86fc; /* Link hover colour */ | color: #bb86fc; /* Link hover colour */ | ||
} | |||
.dark-mode-toggle a { | |||
color: #ffffff; /* Text colour for the toggle */ | |||
cursor: pointer; | |||
} | |||
body.dark-mode .dark-mode-toggle a { | |||
color: #64b5f6; /* Colour for dark mode toggle text */ | |||
} | } | ||
Revision as of 01:49, 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 */
}
.dark-mode-toggle a {
color: #ffffff; /* Text colour for the toggle */
cursor: pointer;
}
body.dark-mode .dark-mode-toggle a {
color: #64b5f6; /* Colour for dark mode toggle text */
}