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 1: Line 1:
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');
#mw-panel {
#mw-panel {
     background: url('temp') repeat;
     background: none; /* Remove background */
     border-radius: 8px;
     border-radius: 8px;
     padding: 10px;
     padding: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
     gap: 12px;
     gap: 12px;
}
}


#mw-panel .mw-portlet {
#mw-panel .mw-portlet {
     border: 1px solid rgba(255, 255, 255, 0.2);
     border: 2px solid rgba(255, 255, 255, 0.2);
     background: rgba(60, 30, 10, 0.9);  
     background: rgba(30, 30, 30, 0.9);
     border-radius: 10px;
     border-radius: 10px;
     padding: 5px;
     padding: 5px;
}
}


/* Sidebar Headers */
#mw-panel .mw-portlet .vector-menu-heading {
#mw-panel .mw-portlet .vector-menu-heading {
     background: rgba(80, 40, 15, 1);
    font-family: 'Cinzel', serif;
     color: white;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
     background: rgba(20, 20, 20, 1);
     color: #C0A080;  
     padding: 8px;
     padding: 8px;
    font-size: 16px;
    font-weight: bold;
     border-radius: 8px 8px 0 0;
     border-radius: 8px 8px 0 0;
     display: flex;
     display: flex;
     justify-content: space-between;
     justify-content: left;
     align-items: center;
     align-items: center;
     cursor: pointer;
     cursor: default;
}
 
#mw-panel .mw-portlet .vector-menu-heading::after {
    content: "";
    display: none;
}
}


/* Sidebar Links */
#mw-panel .mw-portlet .body a {
#mw-panel .mw-portlet .body a {
     display: block;
     display: block;
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: #ddd;
    text-decoration: none;
     padding: 6px 12px;
     padding: 6px 12px;
    color: white;
    text-decoration: none;
    font-size: 14px;
     border-radius: 4px;
     border-radius: 4px;
}
}


#mw-panel .mw-portlet .body a:hover {
#mw-panel .mw-portlet .body a:hover {
     background: rgba(255, 255, 255, 0.1);
     background: rgba(255, 255, 255, 0.15);
}
     color: #C0A080;
 
/* Collapse Button (Dropdown Icon) */
#mw-panel .mw-portlet .vector-menu-heading::after {
    content: "▼";
    font-size: 12px;
     color: white;
}
 
/* Collapsed Sidebar Sections */
#mw-panel .mw-portlet.collapsed .body {
    display: none;
}
}


#mw-panel .mw-portlet.collapsed .vector-menu-heading::after {
#mw-panel .mw-portlet .body {
     content: "▶";
     display: block !important;
}
}

Revision as of 02:06, 25 March 2025

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

#mw-panel {
    background: none; /* Remove background */
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#mw-panel .mw-portlet {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(30, 30, 30, 0.9);
    border-radius: 10px;
    padding: 5px;
}

#mw-panel .mw-portlet .vector-menu-heading {
    font-family: 'Cinzel', serif; 
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(20, 20, 20, 1);
    color: #C0A080; 
    padding: 8px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: left;
    align-items: center;
    cursor: default; 
}

#mw-panel .mw-portlet .vector-menu-heading::after {
    content: "";
    display: none;
}

#mw-panel .mw-portlet .body a {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: #ddd;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
}

#mw-panel .mw-portlet .body a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #C0A080;
}

#mw-panel .mw-portlet .body {
    display: block !important;
}