MediaWiki:Common.css: Difference between revisions

From EstoriaRO Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 32: Line 32:




/* =========================================
/* =====================================================
   Transparent Wiki Search Bar
   EstoriaRO Wiki — wiki.gg / ragnarokmod style
   ========================================= */
   ===================================================== */


/* Search input */
/* Base */
#searchInput,
body {
.vector-search-box-input {
    background-color: #f2f4f7;
     background-color: rgba(255, 255, 255, 0.15);
    color: #202122;
     border: 1px solid rgba(255, 255, 255, 0.35);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
     border-radius: 8px;
                Roboto, Helvetica, Arial, sans-serif;
     padding: 7px 12px;
}
 
/* 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;
     font-size: 14px;
    color: #ffffff;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
}


/* Placeholder */
.wikitable th {
#searchInput::placeholder,
    background-color: #f6f8fa;
.vector-search-box-input::placeholder {
    border: 1px solid #e1e4e8;
     color: rgba(255, 255, 255, 0.65);
    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;
}
}


/* Focus */
#searchInput:focus,
#searchInput:focus,
.vector-search-box-input:focus {
.vector-search-box-input:focus {
     outline: none;
     outline: none;
    background-color: rgba(255, 255, 255, 0.22);
     border-color: #2563eb;
     border-color: #ffd76a;
     box-shadow: 0 0 0 2px rgba(37,99,235,0.2);
     box-shadow: 0 0 0 2px rgba(255, 215, 106, 0.4);
}
 
/* Footer */
#footer {
    background-color: #f6f8fa;
    border-top: 1px solid #e1e4e8;
    color: #57606a;
}
}


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


/* Hover button */
/* Notices */
#searchButton:hover,
.mw-message-box {
.vector-search-box-button:hover {
     border-radius: 6px;
     background-color: rgba(255, 255, 255, 0.28);
     border: 1px solid #d0d7de;
     border-color: #ffd76a;
}
}

Revision as of 16:07, 14 December 2025

/* ===== 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;
}