MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
SitX (talk | contribs)
mNo edit summary
SitX (talk | contribs)
mNo edit summary
Line 66: Line 66:


#toc-sidebar {
#toc-sidebar {
    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: 3px;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    width: 100%;
    max-width: 100%;
     position: sticky;
     position: sticky;
     top: 100px;
     top: 100px;
     z-index: 10;
     z-index: 10;
    background: linear-gradient(to bottom, #111, #1a1a1a);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 6px;
    padding: 10px;
    margin-top: 10px;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    color: #bbb;
    max-width: 220px;
    box-shadow: 0 0 4px rgba(255, 215, 0, 0.05);
}
}


#toc-sidebar .toctitle {
#toc-sidebar .toctitle {
     text-align: center;
     font-family: 'Cinzel', serif;
     font-size: 13px;
     font-size: 12px;
     font-weight: bold;
     font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
     color: #C0A080;
     color: #C0A080;
     text-transform: uppercase;
    background: rgba(15, 15, 15, 0.9);
     margin-bottom: 6px;
    padding: 6px 4px;
    border-radius: 6px 6px 0 0;
     text-align: center;
    line-height: 1.2;
    word-break: break-word;
    white-space: normal;
     margin: 0;
}
}


#toc-sidebar ul {
#toc-sidebar ul {
     list-style: none;
     list-style: none;
     padding: 0;
     padding: 2px;
     margin: 0;
     margin: 0;
}
}
Line 100: Line 107:
}
}


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


#toc-sidebar a:hover {
#toc-sidebar li a:hover {
     color: #FFD700 !important;
     color: #FFD700 !important;
     background: rgba(255, 255, 255, 0.05);
     background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
     text-shadow: 0 0 4px rgba(255, 215, 0, 0.4);
     text-shadow: 0 0 4px rgba(255, 215, 0, 0.4);
}
}