MediaWiki:Common.css

From EstoriaRO Wiki
Revision as of 16:07, 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 — wiki.gg / ragnarokmod style
   ===================================================== */

/* Base */
body {
    background-color: #f2f4f7;
    color: #202122;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
}

/* Main content */
.mw-body,
#content {
    background-color: #ffffff;
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Headings */
h1, h2 {
    border-bottom: 1px solid #e1e4e8;
    padding-bottom: 6px;
}

h1, h2, h3, h4 {
    color: #1f2933;
}

/* Links */
#content a:link,
#content a:visited {
    color: #2563eb; /* wiki.gg blue */
}

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

/* Tables */
.wikitable {
    border-collapse: collapse;
    background-color: #ffffff;
    border: 1px solid #e1e4e8;
    font-size: 14px;
}

.wikitable th {
    background-color: #f6f8fa;
    border: 1px solid #e1e4e8;
    color: #1f2933;
    padding: 8px;
}

.wikitable td {
    border: 1px solid #e1e4e8;
    padding: 8px;
}

/* Sidebar */
#mw-panel {
    background-color: #ffffff;
    border-right: 1px solid #e1e4e8;
}

#mw-panel a {
    color: #2563eb;
}

#mw-panel a:hover {
    color: #1d4ed8;
}

/* Search bar */
#searchInput,
.vector-search-box-input {
    background-color: #ffffff;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 6px 10px;
}

#searchInput:focus,
.vector-search-box-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.2);
}

/* Footer */
#footer {
    background-color: #f6f8fa;
    border-top: 1px solid #e1e4e8;
    color: #57606a;
}

/* Code blocks */
pre, code {
    background-color: #f6f8fa;
    border: 1px solid #e1e4e8;
    border-radius: 4px;
    padding: 6px;
    font-size: 13px;
}

/* Notices */
.mw-message-box {
    border-radius: 6px;
    border: 1px solid #d0d7de;
}