MediaWiki:Common.css

From EstoriaRO Wiki
Revision as of 15:49, 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 */
}





/* =========================================
   Transparent Wiki Search Bar
   ========================================= */

/* Search input */
#searchInput,
.vector-search-box-input {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 14px;
    color: #ffffff;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

/* Placeholder */
#searchInput::placeholder,
.vector-search-box-input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

/* Focus */
#searchInput:focus,
.vector-search-box-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.22);
    border-color: #ffd76a;
    box-shadow: 0 0 0 2px rgba(255, 215, 106, 0.4);
}

/* Search button */
#searchButton,
.vector-search-box-button {
    background-color: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    color: #ffffff;
    padding: 7px 10px;
    margin-left: 6px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

/* Hover button */
#searchButton:hover,
.vector-search-box-button:hover {
    background-color: rgba(255, 255, 255, 0.28);
    border-color: #ffd76a;
}