MediaWiki:Common.css

From EstoriaRO Wiki
Revision as of 17:08, 14 December 2025 by Admin (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.
/* ===== EstoriaRO Wiki Background ===== */
body {
    background: linear-gradient(
        180deg,
        #0b2c44 0%,     /* dark blue */
        #143d5c 30%,
        #f5f6e8 100%    /* light yellow almost white */
    );
    background-attachment: fixed;
}

/* Main content container */
.mw-body {
    background-color: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

/* EstoriaRO link colors */
#content a:link,
#content a:visited {
    color: #ffffff;
}

#content a:hover {
    color: #f0c75e; /* soft yellow highlight */
}

.mw-page-container {
    min-width: 18.75em;
    max-width: 99.75rem;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
    margin: 0 auto;
    padding-top: 0.05px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: #ffffff00;
}

.mw-heading, h1, h2, h3, h4, h5, h6 {
    color: #d9904f;
    font-weight: bold;
    margin: 0;
    padding-top: 0.5em;
    padding-bottom: 0.17em;
    display: flow-root;
    word-break: break-word;
}

body {
    background-color: #f8f9fa00;
    color: #d9904f;
}

.mw-body {
    background-color: rgb(15 52 73 / 96%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.wikitable {
    background-color: #ffffff38;
    color: #f8f9fa;
    margin: 1em 0;
    border: 1px solid #f8f9fa;
    border-collapse: collapse;
}

#pagehistory li.selected {
    background-color: #f8f9fa00;
    color: var(--color-base, #202122);
    outline: 1px dashed #a2a9b1;
}


.vector-dropdown .vector-dropdown-content {
    position: absolute;
    top: 100%;
    left: -1px;
    opacity: 0;
    height: 0;
    visibility: hidden;
    overflow: hidden auto;
    z-index: 50;
    background-color: #23356600;
    padding: 16px 16px;
    font-size: var(--font-size-small, 0.875rem);
    box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.2);
    transition-property: opacity;
    transition-duration: 100ms;
    width: max-content;
    max-width: 200px;
    max-height: 75vh;
}

.vector-header-container .mw-header, .vector-header-container .vector-sticky-header {
    width: 100%;
    min-height: 3.125rem;
    background-color: #ffffff1f;
    min-width: 18.75em;
    max-width: 99.75rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

.vector-pinned-container {
    background-color: #ffffff38;
    padding: 0 16px;
    margin-bottom: 2rem;
    display: none;
}

a:where(:not([role='button'])) {
    color: #ffffff;
    border-radius: 2px;
    text-decoration: none;
}

/* Hide TOC completely */
#toc,
.vector-toc {
    display: none !important;
}