MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 57: | Line 57: | ||
} | } | ||
.toc, .toc * { | |||
box-sizing: border-box; | |||
background: | } | ||
border: 2px solid rgba(255, 215, 0, 0.4); | |||
.toc { | |||
width: 250px; /* Adjust width */ | |||
background: linear-gradient(to bottom, #111 0%, #222 100%); | |||
border: 2px solid rgba(255, 215, 0, 0.4); /* Gold border */ | |||
border-radius: 10px; | border-radius: 10px; | ||
padding: 12px; | |||
font-size: 14px; | |||
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.7); | |||
} | |||
.toc .toctitle { | |||
position: relative; | |||
overflow: hidden; | |||
text-align: left; | text-align: left; | ||
padding-bottom: 8px; | |||
} | } | ||
.toc .toctitle h2 { | |||
font-family: 'Cinzel', serif; /* GoT Font */ | |||
font-size: 16px; | font-size: 16px; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
color: #C0A080; /* | color: #C0A080; /* Gold */ | ||
padding: 0 8px; | |||
font-weight: bold; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | |||
.toc ul { | |||
border-top: 1px solid rgba(255, 215, 0, 0.3); | |||
padding-top: 10px; | |||
} | |||
.toc ul li { | |||
list-style: none; /* Remove bullets */ | |||
margin: 0; | |||
} | |||
.toc a { | |||
font-family: 'Cinzel', serif; | |||
display: block; | |||
padding: 4px 10px; | |||
color: #bbb; | |||
text-decoration: none; | |||
border-radius: 4px; | |||
transition: all 0.3s ease; | |||
} | |||
.toc a:hover { | |||
color: #FFD700; /* Golden Hover */ | |||
background: rgba(255, 255, 255, 0.1); | |||
} | |||
.mw-content-ltr .toc ul ul, | |||
.mw-content-rtl .toc ul ul { | |||
margin-left: 15px; | |||
} | |||
.toc .toctogglelabel, .toc .toctogglelabel::before, .toc .toctogglespan::before, .toc .toctogglespan::after { | |||
display: none !important; | |||
} | } |