MediaWiki:Common.css: Difference between revisions

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


#toc-sidebar {
#toc-sidebar {
     position: relative;
     position: sticky;
     margin-top: 10px;
     top: 100px;
    z-index: 10;
     background: linear-gradient(to bottom, #111, #1a1a1a);
     background: linear-gradient(to bottom, #111, #1a1a1a);
     border: 1px solid rgba(255, 215, 0, 0.2);
     border: 1px solid rgba(255, 215, 0, 0.2);
     border-radius: 6px;
     border-radius: 6px;
     padding: 10px;
     padding: 10px;
    margin-top: 10px;
     font-family: 'Cinzel', serif;
     font-family: 'Cinzel', serif;
     font-size: 13px;
     font-size: 13px;
     color: #bbb;
     color: #bbb;
     transition: position 0.3s ease;
    max-width: 220px;
    box-shadow: 0 0 4px rgba(255, 215, 0, 0.05);
}
 
#toc-sidebar .toctitle {
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    color: #C0A080;
    text-transform: uppercase;
    margin-bottom: 6px;
}
 
#toc-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
 
#toc-sidebar li {
    margin: 2px 0;
}
 
#toc-sidebar a {
    color: #bbb !important;
    text-decoration: none;
    display: block;
    padding: 2px 5px;
    border-radius: 3px;
     transition: all 0.3s ease;
}
 
#toc-sidebar a:hover {
    color: #FFD700 !important;
    background: rgba(255, 255, 255, 0.05);
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.4);
}
 
#toc-sidebar .toctoggle {
    display: none;
}
}