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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ==== DARK BROWN THEME FOR WIKIOASIS ==== */
/* --- General Page Styles --- */
body {
background-color: #3D2B1F !important; /* Deep Dark Brown - Page Background */
color: #F5F5DC !important; /* Beige - Default Text */
}
/* --- Links --- */
a {
color: #D2B48C !important; /* Tan */
}
a:hover {
color: #FFD700 !important; /* Gold - or a lighter tan like #E0C9A6 */
text-decoration: underline !important;
}
a:visited {
color: #B8860B !important; /* DarkGoldenrod - for visited, adjust if too similar to normal links */
}
/* Ensure new page links (red links) are still distinguishable */
a.new {
color: #FFA07A !important; /* Light Salmon - or another distinct color */
}
a.new:hover {
color: #FF7F50 !important; /* Coral */
}
/* --- Header Area --- */
#mw-page-base { /* The very top bar, often a different color */
background-color: #2A1B13 !important; /* Even darker brown */
border-bottom: 1px solid #5C4033 !important;
}
#mw-head { /* Contains logo, search, personal tools */
background-color: #3D2B1F !important; /* Match body or slightly different */
}
#p-logo a {
/* If your logo is text and needs recoloring.
If it's an image, you might need a new dark-theme-friendly logo. */
color: #F5F5DC !important; /* Or your accent color */
}
/* Search Box */
#searchInput {
background-color: #5C4033 !important;
color: #F5F5DC !important;
border: 1px solid #7A5C43 !important;
}
#searchButton, #mw-searchButton {
background-color: #7A5C43 !important;
color: #F5F5DC !important;
border: 1px solid #5C4033 !important;
}
#searchButton:hover, #mw-searchButton:hover {
background-color: #8B694E !important;
}
/* --- Sidebars (Navigation, Tools) --- */
#mw-panel, .portal {
background-color: #5C4033 !important; /* Medium Dark Brown */
border: 1px solid #7A5C43 !important;
border-radius: 4px; /* Optional: softer corners */
padding-top: 0.5em;
}
#mw-panel h5, .portal h5 { /* Sidebar headings like "Navigation", "Tools" */
color: #E0C9A6 !important; /* Light Tan/Goldish */
border-bottom: 1px solid #7A5C43 !important;
margin-bottom: 0.5em;
padding-bottom: 0.3em;
}
#mw-panel li a, .portal li a {
color: #D2B48C !important; /* Tan */
}
#mw-panel li a:hover, .portal li a:hover {
color: #FFD700 !important; /* Gold */
background-color: transparent !important; /* Ensure no weird background on hover */
}
/* --- Main Content Area --- */
#content {
background-color: #4A3B31 !important; /* Slightly different dark brown for content box */
color: #F5F5DC !important;
border: 1px solid #7A5C43 !important;
border-radius: 4px; /* Optional */
padding: 1em;
}
/* Page Title */
#firstHeading, .firstHeading {
color: #FFD700 !important; /* Gold - for prominence */
border-bottom: 1px solid #7A5C43 !important;
padding-bottom: 0.2em;
margin-bottom: 0.5em;
}
/* Headings within content */
h1, h2, h3, h4, h5, h6 {
color: #E0C9A6 !important; /* Light Tan/Goldish */
border-bottom-color: #7A5C43 !important; /* If they have borders */
}
/* --- Tabs (View, Edit, History, etc.) --- */
#p-views ul li a, #p-cactions ul li a { /* Covers most tab systems */
background-color: #5C4033 !important; /* Tab background */
color: #D2B48C !important; /* Tab text */
border: 1px solid #7A5C43 !important;
border-bottom: none !important; /* Remove bottom border for unselected */
border-radius: 4px 4px 0 0; /* Rounded top corners */
}
#p-views ul li a:hover, #p-cactions ul li a:hover {
background-color: #7A5C43 !important;
color: #FFD700 !important;
}
#p-views ul li.selected a, #p-cactions ul li.selected a,
#p-views ul li.selected a:hover, #p-cactions ul li.selected a:hover {
background-color: #4A3B31 !important; /* Match content area background for selected tab */
color: #FFD700 !important; /* Gold for selected text */
border: 1px solid #7A5C43 !important;
border-bottom: 1px solid #4A3B31 !important; /* Blend bottom border with content */
}
/* --- Tables --- */
table.wikitable, .wikitable {
background-color: #5C4033 !important;
border: 1px solid #7A5C43 !important;
color: #F5F5DC !important;
}
table.wikitable > tr > th, table.wikitable > * > tr > th, .wikitable th {
background-color: #7A5C43 !important;
color: #F5F5DC !important;
border: 1px solid #6B4F3E !important;
}
table.wikitable > tr > td, table.wikitable > * > tr > td, .wikitable td {
border: 1px solid #6B4F3E !important;
}
/* --- Other UI Elements --- */
/* Buttons (general, if not covered by specific selectors) */
input[type="submit"], input[type="button"], button {
background-color: #7A5C43 !important;
color: #F5F5DC !important;
border: 1px solid #5C4033 !important;
padding: 5px 10px;
border-radius: 3px;
}
input[type="submit"]:hover, input[type="button"]:hover, button:hover {
background-color: #8B694E !important;
}
/* Input fields */
input[type="text"], input[type="password"], textarea {
background-color: #5C4033 !important;
color: #F5F5DC !important;
border: 1px solid #7A5C43 !important;
padding: 4px;
}
/* Remove that harsh red glow you had */
.mw-body-content { /* Or whatever element had the glow */
box-shadow: none !important;
border: none !important; /* If the glow was a border */
}
/* If the glow was on the main content box specifically */
#content {
box-shadow: none !important; /* Remove existing glows */
/* You can add a very subtle dark shadow if you want depth */
/* box-shadow: 0 0 10px rgba(0,0,0,0.3); */
}
/* Horizontal rules */
hr {
border: 0;
border-top: 1px solid #7A5C43 !important;
}