MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Change the background color of the entire page */
body {
background-color: #111111; /* Dark background color */
color: #AFACA8; /* Light font color */
}
/* Change the main page title */
.firstHeading {
background-color: #111111; /* Background color (matches the body) */
color: #AFACA8; /* Text color */
padding: 10px; /* Optional: Add some padding */
}
/* Change the color and background of all headings (H1-H6) */
h1, h2, h3, h4, h5, h6 {
color: #AFACA8; /* Text color */
background-color: #111111; /* Background color */
padding: 5px; /* Optional: Add some padding */
}
/* Change the color of section headlines */
.mw-headline {
color: #AFACA8; /* Text color */
background-color: #111111; /* Background color */
padding: 5px; /* Optional: Add some padding */
}
/* Change link colors */
a {
color: #5C6969; /* Link color */
}
/* Change link hover color */
a:hover {
color: #ffffff; /* Light color on hover for visibility */
}
/* Change background color of the content area */
.mw-body {
background-color: #111111; /* Slightly different background for the content */
}
/* Change sidebar background color and text */
#mw-panel {
background-color: #111111; /* Background color */
color: #AFACA8; /* Text color */
}
/* Change tabs above pages (like view, edit, etc.) */
.vectorTabs {
background-color: #111111; /* Background color */
color: #AFACA8; /* Text color */
}