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 76: Line 76:




.irowiki-gradient-glow {
/* =========================================
     display: flex;
  Transparent Wiki Search Bar
     align-items: baseline;
  ========================================= */
     padding: var(--space-xxs) var(--space-md);
 
     margin-left: auto;
/* Search input */
     margin-right: auto;
#searchInput,
     max-width: 600px;
.vector-search-box-input {
     border: var(--border-base);
     background-color: rgba(255, 255, 255, 0.15);
     border-radius: var(--border-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.35);
     background-color: var(--background-color-interactive-subtle);
     border-radius: 8px;
     padding: 7px 12px;
    font-size: 14px;
    color: #ffffff;
    backdrop-filter: blur(6px);
    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;
     backdrop-filter: blur(6px);
     cursor: pointer;
     cursor: pointer;
     font-size: var(--font-size-small);
     transition: background-color 0.2s, border-color 0.2s;
    font-weight: var(--font-weight-medium);
}
    text-align: center;
 
    position: relative;
/* Hover button */
    --gradient: #87bfdb, #77abC8, #6797b5, #577f9d, #476684, #43668a, #3e668f, #304a66, #212e3d, #304a66, #3e668f, #43668a, #476684, #577f9d, #6797b5, #77abC8, #87bfdb;
#searchButton:hover,
    --gradient-blur: 4px;
.vector-search-box-button:hover {
     --gradient-time: 5s;
     background-color: rgba(255, 255, 255, 0.28);
     display: flex;
     border-color: #ffd76a;
    align-items: center;
}
}

Revision as of 15:43, 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;
}



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