MediaWiki:Common.css: Difference between revisions

From EstoriaRO Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 118: Line 118:
}
}


.mw-body,
#content,
.vector-page {
.vector-page {
     background-color: rgba(255, 255, 255, 0.65) !important;
     background: transparent !important;
     backdrop-filter: blur(8px);
}
 
.vector-page-container {
     background: transparent !important;
}
}

Revision as of 16:17, 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 — Transparent Layout
   ===================================================== */

/* Body background tetap terlihat */
body {
    background-attachment: fixed;
}

/* Main content container (TRANSPARENT) */
.mw-body,
#content {
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Headings tetap jelas */
h1, h2, h3, h4, h5, h6 {
    color: #0b2c44;
}

/* Paragraph & list */
#content p,
#content li {
    color: #102a43;
}

/* Links */
#content a:link,
#content a:visited {
    color: #0b3c5d;
}

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

/* Tables transparan */
.wikitable {
    background-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.wikitable th {
    background-color: rgba(11, 44, 68, 0.85);
    color: #ffffff;
}

.wikitable td {
    background-color: rgba(255, 255, 255, 0.45);
    color: #102a43;
}

/* Sidebar transparan */
#mw-panel {
    background-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    border-right: 1px solid rgba(0, 0, 0, 0.15);
}

#mw-panel a {
    color: #0b3c5d;
}

#mw-panel a:hover {
    color: #f0c75e;
}

/* Search bar transparan */
#searchInput,
.vector-search-box-input {
    background-color: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.25);
    color: #0b2c44;
    backdrop-filter: blur(6px);
}

/* Footer transparan */
#footer {
    background-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    color: #102a43;
}

.vector-page {
    background: transparent !important;
}

.vector-page-container {
    background: transparent !important;
}