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);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    padding: 10px;
    max-width: 250px;
     font-family: 'Cinzel', serif;
     font-family: 'Cinzel', serif;
     background: linear-gradient(to bottom, #111 0%, #222 100%);
     font-size: 13px;
    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;
     color: #bbb;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.05);
    position: sticky;
    top: 100px;
    z-index: 5;
}
}


#toc > .toctitle {
 
     font-size: 13px;
#toc .toctitle {
     font-size: 14px;
     font-weight: bold;
     font-weight: bold;
     text-transform: uppercase;
     text-transform: uppercase;
     color: #C0A080;
     color: #C0A080;
     background: rgba(15, 15, 15, 0.9);
     background: rgba(15, 15, 15, 0.9);
     padding: 4px;
     padding: 6px;
     border-radius: 6px 6px 0 0;
     border-radius: 6px;
     text-align: center;
     text-align: center;
     letter-spacing: 1px;
     letter-spacing: 1px;
Line 97: Line 101:


#toc ul li a {
#toc ul li a {
    font-size: 12px;
     color: #bbb;
     color: #bbb;
     text-decoration: none;
     text-decoration: none;
     padding: 3px 5px;
     padding: 3px 6px;
     display: block;
     display: block;
     border-radius: 2px;
     border-radius: 3px;
     transition: all 0.3s ease;
     transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
}
}


#toc ul li a:hover {
#toc ul li a:hover {
     color: #FFD700;
     color: #FFD700;
     background: rgba(255, 255, 255, 0.1);
     background: rgba(255, 255, 255, 0.05);
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.4);
}
}