MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 61: | Line 61: | ||
} | } | ||
/* TOC Container */ | |||
#toc { | #toc { | ||
display: | font-family: 'Cinzel', serif; | ||
background: linear-gradient(to bottom, #111, #1a1a1a); | |||
border: 1px solid rgba(255, 215, 0, 0.2); | |||
border-radius: 6px; | |||
padding: 10px; | |||
margin: 15px 0; | |||
width: fit-content; | |||
max-width: 320px; | |||
color: #ddd; | |||
box-shadow: 0 0 5px rgba(255, 215, 0, 0.05); | |||
} | |||
/* TOC Title Bar */ | |||
#toc .toctitle { | |||
font-weight: bold; | |||
color: #FFD700; | |||
font-size: 14px; | |||
text-transform: uppercase; | |||
margin-bottom: 6px; | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
border-bottom: 1px solid rgba(255, 215, 0, 0.15); | |||
padding-bottom: 6px; | |||
} | |||
#toc .toctitle::before { | |||
content: "☰"; | |||
font-size: 16px; | |||
color: #FFD700; | |||
margin-right: 6px; | |||
} | } | ||
#toc | /* Hide the toggle label text */ | ||
#toc .toctogglelabel { | |||
font-family: 'Cinzel', serif; | font-family: 'Cinzel', serif; | ||
font-size: 12px; | font-size: 12px; | ||
color: #aaa; | |||
cursor: pointer; | |||
transition: color 0.3s ease; | |||
} | } | ||
#toc | #toc .toctogglelabel:hover { | ||
color: #FFD700; | |||
color: # | |||
} | } | ||
#toc | /* Numbering System */ | ||
#toc ul { | |||
list-style: none; | list-style: none; | ||
padding: | padding-left: 0; | ||
counter-reset: toc; | |||
margin: 0; | margin: 0; | ||
} | } | ||
#toc- | #toc li { | ||
margin: | counter-increment: toc; | ||
margin: 4px 0; | |||
margin-left: 10px; | |||
font-size: 12px; | |||
} | |||
#toc li::before { | |||
content: counters(toc, ".") ". "; | |||
color: #FFD700; | |||
font-weight: bold; | |||
margin-right: 5px; | |||
} | |||
#toc ul ul { | |||
counter-reset: toc; | |||
margin-left: 15px; | |||
} | } | ||
#toc | /* TOC Links */ | ||
#toc a { | |||
color: #bbb; | |||
color: #bbb | |||
text-decoration: none; | text-decoration: none; | ||
transition: all 0.3s ease; | transition: all 0.3s ease; | ||
} | } | ||
#toc | #toc a:hover { | ||
color: #FFD700 | color: #FFD700; | ||
text-shadow: 0 0 5px rgba(255, 215, 0, 0.4); | |||
text-shadow: 0 0 | |||
} | } | ||
/* Remove unnecessary toggle border styles */ | |||
#toc .toctoggle { | |||
border: none; | |||
margin-left: auto; | |||
} | } | ||
Revision as of 18:20, 12 April 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: 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 Container */
#toc {
font-family: 'Cinzel', serif;
background: linear-gradient(to bottom, #111, #1a1a1a);
border: 1px solid rgba(255, 215, 0, 0.2);
border-radius: 6px;
padding: 10px;
margin: 15px 0;
width: fit-content;
max-width: 320px;
color: #ddd;
box-shadow: 0 0 5px rgba(255, 215, 0, 0.05);
}
/* TOC Title Bar */
#toc .toctitle {
font-weight: bold;
color: #FFD700;
font-size: 14px;
text-transform: uppercase;
margin-bottom: 6px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid rgba(255, 215, 0, 0.15);
padding-bottom: 6px;
}
#toc .toctitle::before {
content: "☰";
font-size: 16px;
color: #FFD700;
margin-right: 6px;
}
/* Hide the toggle label text */
#toc .toctogglelabel {
font-family: 'Cinzel', serif;
font-size: 12px;
color: #aaa;
cursor: pointer;
transition: color 0.3s ease;
}
#toc .toctogglelabel:hover {
color: #FFD700;
}
/* Numbering System */
#toc ul {
list-style: none;
padding-left: 0;
counter-reset: toc;
margin: 0;
}
#toc li {
counter-increment: toc;
margin: 4px 0;
margin-left: 10px;
font-size: 12px;
}
#toc li::before {
content: counters(toc, ".") ". ";
color: #FFD700;
font-weight: bold;
margin-right: 5px;
}
#toc ul ul {
counter-reset: toc;
margin-left: 15px;
}
/* TOC Links */
#toc a {
color: #bbb;
text-decoration: none;
transition: all 0.3s ease;
}
#toc a:hover {
color: #FFD700;
text-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}
/* Remove unnecessary toggle border styles */
#toc .toctoggle {
border: none;
margin-left: auto;
}
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;
}
.vector-menu-tabs,
.vector-menu-tabs li,
.vector-menu-tabs li a,
.vector-menu-tabs li.selected a {
background: #111 !important;
border-color: rgba(255, 215, 0, 0.2) !important;
color: #bbb !important;
}
.vector-menu-tabs li a:hover,
.vector-menu-tabs li.selected a {
background: #1a1a1a !important;
color: #FFD700 !important;
border-color: #FFD700 !important;
}
#p-logo {
position: static !important;
height: auto !important;
margin: 0px 0 5px 0 !important;
padding: 0 !important;
display: flex !important;
justify-content: center;
align-items: center;
}
@keyframes logoPopIn {
0% {
opacity: 0;
transform: scale(0.7);
}
60% {
opacity: 1;
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
.mw-wiki-logo {
animation: logoPopIn 0.6s ease-out forwards;
width: 170px !important;
height: 100px !important;
background-image: url('https://static.wikioasis.org/realmofthroneswiki/c/c9/Logo.png');
background-repeat: no-repeat;
background-position: center;
background-size: contain !important;
margin: 0 auto !important;
}
.mw-wiki-logo:hover {
filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
transform: scale(1.03);
transition: all 0.3s ease;
cursor: pointer;
}
#footer, .mw-footer {
background: #111 !important;
color: #bbb !important;
font-family: 'Cinzel', serif;
font-size: 14px;
border-top: 1px solid rgba(255, 215, 0, 0.1);
padding: 15px 20px;
text-align: center;
}
#footer li,
.mw-footer li,
#footer-info,
#footer-info-lastmod,
#footer-info-copyright {
color: #E5C07B !important;
opacity: 1 !important;
}
#footer-places {
display: none !important;
}
#footer a, .mw-footer a {
color: #E5C07B !important;
text-decoration: none;
}
#footer a:hover, .mw-footer a:hover {
color: #FFD700 !important;
text-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}
#footer-icons {
opacity: 0.9;
margin-top: 10px;
display: flex;
justify-content: center;
gap: 10px;
}
#footer-icons img {
filter: brightness(0.9);
transition: filter 0.3s ease;
}
#footer-icons img:hover {
filter: brightness(1.2);
}
#searchInput {
background: #1a1a1a;
color: #ddd;
border: 1px solid rgba(255, 215, 0, 0.2);
padding: 6px 8px;
font-family: 'Cinzel', serif;
border-radius: 4px;
}
#searchInput:focus {
outline: none;
border-color: #FFD700;
box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}