MediaWiki:Common.css: Difference between revisions

SitX (talk | contribs)
mNo edit summary
SitX (talk | contribs)
mNo edit summary
Line 62: Line 62:


#toc {
#toc {
     background: linear-gradient(to bottom, #111, #1a1a1a);
     display: none !important;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    padding: 10px;
    max-width: 250px;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    color: #bbb;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.05);
    position: sticky;
    top: 100px;
    z-index: 5;
}
 
 
#toc .toctitle {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: #C0A080;
    background: rgba(15, 15, 15, 0.9);
    padding: 6px;
    border-radius: 6px;
    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 {
    color: #bbb;
    text-decoration: none;
    padding: 3px 6px;
    display: block;
    border-radius: 3px;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
}
 
#toc ul li a:hover {
    color: #FFD700;
    background: rgba(255, 255, 255, 0.05);
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.4);
}
}