MediaWiki:Common.css: Difference between revisions

From Realm Of Thrones
Jump to navigation Jump to search
SitX (talk | contribs)
No edit summary
SitX (talk | contribs)
No edit summary
Line 57: Line 57:
}
}


#toc {
 
     width: 60%;
.toc, .toc * {
     margin: 10px auto;
     box-sizing: border-box;
     background: rgba(30, 30, 30, 0.9);
}
     border: 2px solid rgba(255, 215, 0, 0.4);
 
    padding: 10px;
.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;
     box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
     padding-bottom: 8px;
}
}


#toc h2 {
.toc .toctitle h2 {
    font-family: 'Cinzel', serif; /* GoT Font */
     font-size: 16px;
     font-size: 16px;
     text-transform: uppercase;
     text-transform: uppercase;
     color: #C0A080; /* Golden Color */
     color: #C0A080; /* Gold */
     text-align: center;
     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;
}
}

Revision as of 02:28, 25 March 2025

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');


#mw-panel {
    width: 150px; 
    padding: 2px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#mw-panel .mw-portlet {
    width: 100%;
    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: 4px;
}

#mw-panel .mw-portlet .vector-menu-heading {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    color: #C0A080;
    background: rgba(15, 15, 15, 0.9);
    padding: 4px;
    border-radius: 6px 6px 0 0;
    text-align: center;
    letter-spacing: 1px;
    line-height: 12px; 
}

#mw-panel .mw-portlet .body a {
    font-family: 'Cinzel', serif;
    font-size: 12px; 
    color: #bbb;
    text-decoration: none;
    padding: 3px 5px;
    display: block;
    transition: all 0.3s ease;
}

#mw-panel .mw-portlet .body a:hover {
    color: #FFD700; /* Royal Gold Hover */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

#mw-panel .mw-portlet .body {
    padding: 2px;
}

#mw-panel .mw-portlet {
    margin-bottom: 3px;
}


.toc, .toc * {
    box-sizing: border-box;
}

.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;
    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;
    padding-bottom: 8px;
}

.toc .toctitle h2 {
    font-family: 'Cinzel', serif; /* GoT Font */
    font-size: 16px;
    text-transform: uppercase;
    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;
}