MediaWiki:Common.css

From EstoriaRO Wiki
Revision as of 17:24, 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: #0b3c5d;
}

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

/* =====================================================
   EstoriaRO Wiki — Transparent Layout
   ===================================================== */

/* Body background tetap terlihat */
body {
    background-attachment: fixed;
}

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

.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;
}


/* Headings tetap jelas */
h1, h2, h3, h4, h5, h6 {
    color: #0b2c44;
}

/* Paragraph & list */
#content p,
#content li {
    color: #102a43;
}

/* Links */
#content a:link,
#content a:visited {
    color: #0b3c5d;
}

#content a:hover {
    color: #f0c75e;
    text-decoration: underline;
}

/* Tables transparan */
.wikitable {
    background-color: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.wikitable th {
    background-color: rgba(11, 44, 68, 0.85);
    color: #ffffff;
}

.wikitable td {
    background-color: rgba(255, 255, 255, 0.45);
    color: #102a43;
}

/* Sidebar transparan */
#mw-panel {
    background-color: rgba(255, 255, 255, 0.35);
    border-right: 1px solid rgba(0, 0, 0, 0.15);
}

#mw-panel a {
    color: #0b3c5d;
}

#mw-panel a:hover {
    color: #f0c75e;
}

/* Search bar transparan */
#searchInput,
.vector-search-box-input {
    background-color: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.25);
    color: #0b2c44;
}

/* Footer transparan */
#footer {
    background-color: rgba(255, 255, 255, 0.35);
    color: #102a43;
}

.wikiEditor-ui textarea {
    width: 75%;
    border: 0;
}