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 72: Line 72:
     margin-bottom: 2rem;
     margin-bottom: 2rem;
     display: none;
     display: none;
}
/* =========================================
  iRO Wiki Style Search Bar
  ========================================= */
/* Container search */
#p-search,
.vector-search-box {
    margin: 10px 8px;
}
/* Input field */
#searchInput,
.vector-search-box-input {
    background-color: #f8f9fa;
    border: 1px solid #b7c6d1;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    color: #0b3c5d;
    transition: border-color 0.2s, box-shadow 0.2s;
}
/* Focus effect */
#searchInput:focus,
.vector-search-box-input:focus {
    outline: none;
    border-color: #1d6fa5;
    box-shadow: 0 0 0 2px rgba(29, 111, 165, 0.25);
}
/* Search button */
#searchButton,
.vector-search-box-button {
    background: linear-gradient(#1d6fa5, #0b3c5d);
    border: 1px solid #0b3c5d;
    border-radius: 6px;
    color: #ffffff;
    padding: 6px 10px;
    margin-left: 4px;
    cursor: pointer;
}
/* Hover button */
#searchButton:hover,
.vector-search-box-button:hover {
    background: linear-gradient(#2b84c6, #145a8d);
}
/* Placeholder text */
#searchInput::placeholder {
    color: #7a8fa3;
}
}

Revision as of 15:40, 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 */
}

.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: #00000000;
}

.mw-body {
    background-color: rgb(255 255 255 / 0%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.wikitable {
    background-color: #f8f9fa00;
    color: #272829;
    margin: 1em 0;
    border: 1px solid #00002f;
    border-collapse: collapse;
}

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

.vector-pinned-container {
    background-color: #ffffff00;
    padding: 0 16px;
    margin-bottom: 2rem;
    display: none;
}


/* =========================================
   iRO Wiki Style Search Bar
   ========================================= */

/* Container search */
#p-search,
.vector-search-box {
    margin: 10px 8px;
}

/* Input field */
#searchInput,
.vector-search-box-input {
    background-color: #f8f9fa;
    border: 1px solid #b7c6d1;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    color: #0b3c5d;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Focus effect */
#searchInput:focus,
.vector-search-box-input:focus {
    outline: none;
    border-color: #1d6fa5;
    box-shadow: 0 0 0 2px rgba(29, 111, 165, 0.25);
}

/* Search button */
#searchButton,
.vector-search-box-button {
    background: linear-gradient(#1d6fa5, #0b3c5d);
    border: 1px solid #0b3c5d;
    border-radius: 6px;
    color: #ffffff;
    padding: 6px 10px;
    margin-left: 4px;
    cursor: pointer;
}

/* Hover button */
#searchButton:hover,
.vector-search-box-button:hover {
    background: linear-gradient(#2b84c6, #145a8d);
}

/* Placeholder text */
#searchInput::placeholder {
    color: #7a8fa3;
}