MediaWiki:Common.css: Difference between revisions
From Unholy Nation Wiki
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
#footer-icons img { display: none !important; } | #footer-icons img { display: none !important; } | ||
/* Hide edit links for anonymous users */ | |||
body:not(.skin-chameleon--logged-in) .ca-edit, | body:not(.skin-chameleon--logged-in) .ca-edit, | ||
body:not(.skin-chameleon--logged-in) .mw-editsection { display: none !important; } | body:not(.skin-chameleon--logged-in) .mw-editsection { display: none !important; } | ||
/* Dark mode toggle button styling */ | |||
.dark-mode-toggle::before { | .dark-mode-toggle::before { | ||
display: none !important; | display: none !important; | ||
| Line 14: | Line 16: | ||
.dark-mode-toggle i { font-size: 1.1em; } | .dark-mode-toggle i { font-size: 1.1em; } | ||
/* Purple light mode color scheme */ | |||
body:not(.dark-mode) { | |||
background-color: #2d1b3d !important; | |||
color: #e8d5f2 !important; | |||
} | |||
body:not(.dark-mode) .mw-body, | |||
body:not(.dark-mode) #mw-content-text, | |||
body:not(.dark-mode) .mw-parser-output { | |||
background-color: #3d2b4d !important; | |||
color: #e8d5f2 !important; | |||
} | |||
body:not(.dark-mode) .p-navbar, | |||
body:not(.dark-mode) .navbar { | |||
background-color: #4a2d5c !important; | |||
border-color: #6b3d7d !important; | |||
} | |||
body:not(.dark-mode) .p-navbar a, | |||
body:not(.dark-mode) .navbar a { | |||
color: #d4a5e8 !important; | |||
} | |||
body:not(.dark-mode) .p-navbar a:hover, | |||
body:not(.dark-mode) .navbar a:hover { | |||
color: #f0c8ff !important; | |||
background-color: #5a3d6c !important; | |||
} | |||
body:not(.dark-mode) h1, | |||
body:not(.dark-mode) h2, | |||
body:not(.dark-mode) h3, | |||
body:not(.dark-mode) h4, | |||
body:not(.dark-mode) h5, | |||
body:not(.dark-mode) h6 { | |||
color: #f0c8ff !important; | |||
border-color: #6b3d7d !important; | |||
} | |||
body:not(.dark-mode) a { | |||
color: #c895e0 !important; | |||
} | |||
body:not(.dark-mode) a:visited { | |||
color: #b885d0 !important; | |||
} | |||
body:not(.dark-mode) a:hover { | |||
color: #f0c8ff !important; | |||
} | |||
body:not(.dark-mode) .wikitable { | |||
background-color: #4a2d5c !important; | |||
border-color: #6b3d7d !important; | |||
color: #e8d5f2 !important; | |||
} | |||
body:not(.dark-mode) .wikitable th { | |||
background-color: #5a3d6c !important; | |||
color: #f0c8ff !important; | |||
} | |||
body:not(.dark-mode) code, | |||
body:not(.dark-mode) pre { | |||
background-color: #3d2b4d !important; | |||
color: #e8d5f2 !important; | |||
border-color: #6b3d7d !important; | |||
} | |||
/* Dark mode styles */ | |||
html.dark-mode { filter: invert(1) hue-rotate(180deg); } | html.dark-mode { filter: invert(1) hue-rotate(180deg); } | ||
html.dark-mode img, html.dark-mode video, html.dark-mode iframe, html.dark-mode canvas, | html.dark-mode img, html.dark-mode video, html.dark-mode iframe, html.dark-mode canvas, | ||
html.dark-mode svg, html.dark-mode .mw-logo, html.dark-mode .p-logo img { filter: invert(1) hue-rotate(180deg); } | html.dark-mode svg, html.dark-mode .mw-logo, html.dark-mode .p-logo img { filter: invert(1) hue-rotate(180deg); } | ||
html.dark-mode .dark-mode-toggle { filter: invert(1) hue-rotate(180deg); } | html.dark-mode .dark-mode-toggle { filter: invert(1) hue-rotate(180deg); } | ||
Revision as of 13:51, 4 December 2025
#footer-icons { display: none !important; }
.footer-icons { display: none !important; }
#footer-icons img { display: none !important; }
/* Hide edit links for anonymous users */
body:not(.skin-chameleon--logged-in) .ca-edit,
body:not(.skin-chameleon--logged-in) .mw-editsection { display: none !important; }
/* Dark mode toggle button styling */
.dark-mode-toggle::before {
display: none !important;
content: none !important;
}
.dark-mode-toggle { cursor: pointer; color: #ffc107 !important; transition: color 0.3s ease; }
.dark-mode-toggle:hover { color: #ffd54f !important; }
.dark-mode-toggle i { font-size: 1.1em; }
/* Purple light mode color scheme */
body:not(.dark-mode) {
background-color: #2d1b3d !important;
color: #e8d5f2 !important;
}
body:not(.dark-mode) .mw-body,
body:not(.dark-mode) #mw-content-text,
body:not(.dark-mode) .mw-parser-output {
background-color: #3d2b4d !important;
color: #e8d5f2 !important;
}
body:not(.dark-mode) .p-navbar,
body:not(.dark-mode) .navbar {
background-color: #4a2d5c !important;
border-color: #6b3d7d !important;
}
body:not(.dark-mode) .p-navbar a,
body:not(.dark-mode) .navbar a {
color: #d4a5e8 !important;
}
body:not(.dark-mode) .p-navbar a:hover,
body:not(.dark-mode) .navbar a:hover {
color: #f0c8ff !important;
background-color: #5a3d6c !important;
}
body:not(.dark-mode) h1,
body:not(.dark-mode) h2,
body:not(.dark-mode) h3,
body:not(.dark-mode) h4,
body:not(.dark-mode) h5,
body:not(.dark-mode) h6 {
color: #f0c8ff !important;
border-color: #6b3d7d !important;
}
body:not(.dark-mode) a {
color: #c895e0 !important;
}
body:not(.dark-mode) a:visited {
color: #b885d0 !important;
}
body:not(.dark-mode) a:hover {
color: #f0c8ff !important;
}
body:not(.dark-mode) .wikitable {
background-color: #4a2d5c !important;
border-color: #6b3d7d !important;
color: #e8d5f2 !important;
}
body:not(.dark-mode) .wikitable th {
background-color: #5a3d6c !important;
color: #f0c8ff !important;
}
body:not(.dark-mode) code,
body:not(.dark-mode) pre {
background-color: #3d2b4d !important;
color: #e8d5f2 !important;
border-color: #6b3d7d !important;
}
/* Dark mode styles */
html.dark-mode { filter: invert(1) hue-rotate(180deg); }
html.dark-mode img, html.dark-mode video, html.dark-mode iframe, html.dark-mode canvas,
html.dark-mode svg, html.dark-mode .mw-logo, html.dark-mode .p-logo img { filter: invert(1) hue-rotate(180deg); }
html.dark-mode .dark-mode-toggle { filter: invert(1) hue-rotate(180deg); }