MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 105: | Line 105: | ||
color: #FFD700; | color: #FFD700; | ||
background: rgba(255, 255, 255, 0.1); | 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; | |||
} | |||
#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-tabs { | |||
background: #111; | |||
border-bottom: 1px solid rgba(255, 215, 0, 0.2); | |||
padding: 0; | |||
} | |||
.vector-menu-tabs li { | |||
background: #111; | |||
margin: 0; | |||
} | |||
.vector-menu-tabs a { | |||
color: #bbb !important; | |||
background: #111; | |||
font-family: 'Cinzel', serif; | |||
padding: 6px 12px; | |||
border: 1px solid rgba(255, 215, 0, 0.2); | |||
margin-right: 2px; | |||
border-radius: 4px 4px 0 0; | |||
display: inline-block; | |||
transition: all 0.3s ease; | |||
} | |||
.vector-menu-tabs a:hover, | |||
.vector-menu-tabs .selected a { | |||
color: #FFD700 !important; | |||
background: #1a1a1a; | |||
border-color: #FFD700; | |||
} | } |
Revision as of 12:02, 31 March 2025
@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: 150px;
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: 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;
line-height: 12px;
}
#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;
}
#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-tabs {
background: #111;
border-bottom: 1px solid rgba(255, 215, 0, 0.2);
padding: 0;
}
.vector-menu-tabs li {
background: #111;
margin: 0;
}
.vector-menu-tabs a {
color: #bbb !important;
background: #111;
font-family: 'Cinzel', serif;
padding: 6px 12px;
border: 1px solid rgba(255, 215, 0, 0.2);
margin-right: 2px;
border-radius: 4px 4px 0 0;
display: inline-block;
transition: all 0.3s ease;
}
.vector-menu-tabs a:hover,
.vector-menu-tabs .selected a {
color: #FFD700 !important;
background: #1a1a1a;
border-color: #FFD700;
}