MediaWiki:Common.css

From Realm Of Thrones
Revision as of 02:16, 25 March 2025 by SitX (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
@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 {
    width: 60%;
    margin: 10px auto;
    background: rgba(30, 30, 30, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.4);
    padding: 10px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}

#toc h2 {
    font-size: 16px;
    text-transform: uppercase;
    color: #C0A080; /* Golden Color */
    text-align: center;
}