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.
/* General Page Background and Text */
body {
background-color: #111111; /* Sets the background color for the entire page */
color: #AFACA8; /* Sets the default text color */
}
/* Links Styling */
a {
color: #89c5b7; /* Sets link color */
}
a:visited {
color: #6b7e7e; /* Sets visited link color */
}
/* Headers */
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
color: #AFACA8; /* Header text color */
}
/* Sidebar */
#mw-panel {
background-color: #111111; /* Sidebar background */
color: #AFACA8; /* Sidebar text */
}
/* Sidebar Links */
#mw-panel a {
color: #89c5b7;
}
#mw-panel a:visited {
color: #6b7e7e;
}
/* Action Containers (Top Bar: Messages, Edit, Read, View History) */
#p-views, #p-cactions, #p-personal {
background-color: #111111; /* Background of the action bar */
color: #AFACA8; /* Text color of the action bar */
}
/* Action Containers Links */
#p-views a, #p-cactions a, #p-personal a {
color: #89c5b7;
}
#p-views a:visited, #p-cactions a:visited, #p-personal a:visited {
color: #6b7e7e;
}
/* Pinned Menus */
.vector-pinnable-header {
background-color: #111111; /* Pinned menu background */
color: #AFACA8; /* Pinned menu text color */
}
/* Header (Top of Page) */
#mw-head {
background-color: #111111; /* Header background color */
color: #AFACA8; /* Header text color */
}
/* Containers */
#content, .mw-body, .vector-content, .mw-content-ltr {
background-color: #111111; /* Background color for the main content area */
color: #AFACA8; /* Text color for the main content area */
}
/* Search Box */
#searchInput {
background-color: #111111; /* Search box background */
color: #AFACA8; /* Search box text color */
border: 1px solid #AFACA8; /* Border color for the search box */
}
/* Footer */
#footer {
background-color: #111111; /* Footer background */
color: #AFACA8; /* Footer text color */
}
/* Logo Styling (Optional, responsive) */
#p-logo a img {
max-width: 100%;
height: auto;
width: auto;
}
/* Tables (Optional if you want to style tables specifically) */
.wikitable {
background-color: #111111; /* Table background */
color: #AFACA8; /* Table text */
border: 1px solid #AFACA8; /* Table border */
}
/* Button Styling */
input[type="submit"], input[type="button"], button {
background-color: #111111;
color: #AFACA8;
border: 1px solid #AFACA8;
}
/* Message Boxes (Optional) */
.mw-message-box {
background-color: #111111;
color: #AFACA8;
}