MediaWiki:Common.css

From EstoriaRO Wiki
Revision as of 16:17, 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;
}

/* Main content container (TRANSPARENT) */
.mw-body,
#content {
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* 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);
    backdrop-filter: blur(6px);
    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);
    backdrop-filter: blur(6px);
    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;
    backdrop-filter: blur(6px);
}

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

.mw-body,
#content,
.vector-page {
    background-color: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(8px);
}