User:FakerofDeadlock/common.css: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* General background and text color */
@media (prefers-color-scheme: dark) {
body, .mw-body, .mw-body-content {
    body {
    background-color: #181818; /* Dark background */
        background-color: #121212;
    color: #e0e0e0; /* Light text */
        color: #ffffff;
}
    }
 
    a {
/* Links */
        color: #bb86fc;
a, a:visited {
     }
    color: #66aaff; /* Light blue links */
}
 
/* Tables, infoboxes, and other boxes */
table, .infobox, .navbox, .toc, pre, code {
    background-color: #202020;  /* Slightly lighter dark background for boxes */
     color: #e0e0e0;  /* Light text */
}
 
/* Headers */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;  /* White headers */
}
}

Revision as of 16:59, 27 August 2024

@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #ffffff;
    }
    a {
        color: #bb86fc;
    }
}