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.
@import url('https://fonts.googleapis.com/css2?family=Oldenburg:wght@400;700&display=swap');
/* ─────────────────────────────────────────────────────────
Base & Background
───────────────────────────────────────────────────────── */
html, body {
margin: 0; padding: 0;
font-family: 'Oldenburg', Georgia, serif;
background: url('/images/wiki_background.png') center center fixed no-repeat;
background-size: cover;
color: #333;
}
/* ─────────────────────────────────────────────────────────
Header Bar Colors
───────────────────────────────────────────────────────── */
#mw-head {
border-bottom: 3px solid #F28C28 !important;
}
#mw-list-item {
color: #202122;
}
#left-navigation {
background-color: #c4b7dc;
}
#mw-page-base {
background-color: #c4b7dc;
}
#mw-head {
background-color: #c4b7dc;
}
#mw-head-base {
background-color: #c4b7dc;
}
/* Style each portlet in the header (namespaces/tabs, search, personal) */
#p-namespaces .body,
#p-cactions .body,
#p-search .body,
#p-personal .body {
background: rgba(255,255,255,0.9) !important;
border-radius: 4px !important;
padding: 0.2em 0.6em !important;
margin: 0.5em !important;
}
/* Link colors in those header boxes */
#p-namespaces a,
#p-cactions a {
color: #229C88 !important;
}
#p-namespaces .selected a,
#p-cactions .selected a {
background: #E0D6F9 !important;
color: #4B0082 !important;
}
#p-search input,
#p-search button,
#p-personal a {
color: #202122 !important;
}
/* 1) Color the container behind the tabs */
.vector-menu-tabs-legacy {
background: #c4b7dc;
padding: 0.25em 0.5em; /* space above/below the tabs */
border-radius: 6px 6px 0 0;/* round only the top corners */
}
/* 2) Give each tab its own white “tab” look */
.vector-menu-tabs-legacy li a {
background: #fff;
border: 1px solid #bbb;
border-bottom-color: transparent; /* so it looks joined to content */
border-radius: 6px 6px 0 0; /* rounded top corners */
margin: 0 2px; /* gap between tabs */
padding: 0.5em 1em;
color: #333;
text-decoration: none;
display: inline-block;
position: relative;
top: 1px; /* lift it over the container border */
}
/* 3) Active/hover state */
.vector-menu-tabs-legacy li.selected a,
.vector-menu-tabs-legacy li a:hover {
background: #fff;
border-color: #888;
color: #000;
}
/* ─────────────────────────────────────────────────────────
Sidebar & Content Skinning Only
───────────────────────────────────────────────────────── */
#mw-panel {
background: #c4b7dc !important;
border-radius: 8px !important;
}
#content {
background: #c4b7dc !important;
border-radius: 8px !important;
}
.box {
padding: 1em; /* or 15px, 1.5em, whatever you like */
background-clip: padding-box; /* keeps the background within the rounded corners */
}
/* Tab‑style for Vector legacy menu tabs */
.vector-menu-tabs-legacy {
list-style: none;
margin: 0;
padding: 0;
display: flex;
background: #c4b7dc !important;
border-bottom: 1px solid #ccc; /* line under the tabs */
}
.vector-menu-tabs-legacy li {
margin: 0;
padding: 0;
}
.vector-menu-tabs-legacy li a {
display: block;
padding: 0.5em 1em;
margin-right: 1px; /* slight gap between tabs */
background: #f8f8f8;
border: 1px solid #ccc;
border-bottom: none; /* open bottom */
border-top-left-radius: 6px;
border-top-right-radius: 6px;
text-decoration: none;
color: #333;
position: relative;
top: 1px; /* lift it over the content border */
}
.vector-menu-tabs-legacy li a:hover,
.vector-menu-tabs-legacy li.selected a {
background: #fff;
border-color: #999;
color: #000;
}
/* ─────────────────────────────────────────────────────────
Headings & Links
───────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
color: #C0392B !important;
}
a {
color: #202122 !important;
}
a:hover {
color: #D645B1 !important;
}
.vector-menu-tabs-legacy li {
background-color: lightgray;
}
.vector-menu-tabs-legacy li {
background-color: lightgray;
}
.vector-search-box-input {
background-color: #fff;
}
/* ─────────────────────────────────────────────────────────
Tables
───────────────────────────────────────────────────────── */
table.wikitable caption {
background: #4B0082 !important;
color: #fff !important;
}
table.wikitable th {
background: #E0D6F9 !important;
}
/* ─────────────────────────────────────────────────────────
Footer Bar
───────────────────────────────────────────────────────── */
#footer {
border-top: 2px solid #D645B1 !important;
color: #eee !important;
border-radius: 0 0 8px 8px !important;
}
#footer a {
color: #ddd !important;
}
#footer a:hover {
color: #fff !important;
}
.mw-footer li {
color: white;
}