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=Cinzel:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&display=swap');
#mw-panel {
width: 160px;
min-width: 150px;
max-width: 200px;
padding: 2px;
display: flex;
flex-direction: column;
gap: 4px;
}
#mw-panel .mw-portlet {
width: 100%;
background: linear-gradient(to bottom, #111 0%, #222 100%);
border: 1px solid rgba(255, 215, 0, 0.3);
border-radius: 6px;
padding: 2px;
margin-bottom: 4px;
}
#mw-panel .mw-portlet .vector-menu-heading {
font-family: 'Cinzel', serif;
font-size: 12px;
font-weight: bold;
letter-spacing: 0.5px;
text-transform: uppercase;
color: #C0A080;
background: rgba(15, 15, 15, 0.9);
padding: 6px 4px;
border-radius: 6px 6px 0 0;
text-align: center;
line-height: 1.2;
word-break: break-word;
white-space: normal;
}
#mw-panel .mw-portlet .body a {
font-family: 'Cinzel', serif;
font-size: 12px;
color: #bbb;
text-decoration: none;
padding: 3px 5px;
display: block;
transition: all 0.3s ease;
}
#mw-panel .mw-portlet .body a:hover {
color: #FFD700;
background: rgba(255, 255, 255, 0.1);
border-radius: 2px;
}
#mw-panel .mw-portlet .body {
padding: 2px;
}
#mw-panel .mw-portlet {
margin-bottom: 3px;
}
#toc {
font-family: 'Cinzel', serif;
background: linear-gradient(to bottom, #111 0%, #222 100%);
border: 1px solid rgba(255, 215, 0, 0.3);
border-radius: 6px;
padding: 6px;
margin: 10px 0;
width: fit-content;
max-width: 300px;
color: #bbb;
}
#toc > .toctitle {
font-size: 13px;
font-weight: bold;
text-transform: uppercase;
color: #C0A080;
background: rgba(15, 15, 15, 0.9);
padding: 4px;
border-radius: 6px 6px 0 0;
text-align: center;
letter-spacing: 1px;
margin-bottom: 6px;
}
#toc ul {
list-style: none;
padding: 0;
margin: 0;
}
#toc ul li {
margin: 4px 0;
}
#toc ul li a {
font-size: 12px;
color: #bbb;
text-decoration: none;
padding: 3px 5px;
display: block;
border-radius: 2px;
transition: all 0.3s ease;
}
#toc ul li a:hover {
color: #FFD700;
background: rgba(255, 255, 255, 0.1);
}
body {
background-color: #111; /* Very dark background */
color: #ddd; /* Light text for readability */
font-family: 'Cormorant Garamond', serif;
font-size: 18px
}
#content, .vector-body, .mw-body, #mw-content-text {
background-color: #111;
color: #ddd;
}
a {
color: #bbb;
text-decoration: none;
transition: color 0.3s ease;
}
a:hover {
color: #FFD700;
}
.mw-parser-output {
background-color: transparent; /* Prevent overrides */
color: inherit;
}
h1, h2, h3, h4, h5, h6 {
color: #C0A080; /* Stylish headers */
font-family: 'Cinzel', serif;
}
#mw-head {
background-color: #111;
color: #ddd;
border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}
#mw-head a {
color: #bbb;
text-decoration: none;
font-family: 'Cinzel', serif;
}
#mw-head a:hover {
color: #FFD700;
background: rgba(255, 255, 255, 0.1);
border-radius: 2px;
}
.vector-menu-content-list a {
position: relative;
overflow: hidden;
}
.vector-menu-content-list a::after {
content: '';
position: absolute;
left: 0;
bottom: 0px;
width: 0%;
height: 2px;
background-color: #E5C07B;
transition: width 0.3s ease;
}
.vector-menu-content-list a:hover::after {
width: 100%;
}
.vector-menu-content-list a:visited,
.vector-menu-content-list a:link,
.vector-menu-content-list a:active {
color: #E5C07B !important;
text-decoration: none !important;
}