MediaWiki:Common.css: Difference between revisions

From EstoriaRO Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(85 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ===== EstoriaRO Wiki Background ===== */
/* ===============================
body {
  ESTORIARO GITBOOK FULL MODE
     background: linear-gradient(
  Legacy Vector Sidebar
        180deg,
================================ */
        #0b2c44 0%,     /* dark blue */
 
        #143d5c 30%,
/* --- Sidebar base --- */
        #f5f6e8 100%    /* light yellow almost white */
#mw-panel {
     );
    width: 270px;
     background-attachment: fixed;
     background: #f8f9fb;
    border-right: 1px solid #e5e7eb;
    padding-top: 1em;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 10;
}
 
/* Push content */
.mw-page-container {
     margin-left: 270px !important;
}
 
/* Hide collapse controls */
.vector-menu-heading .vector-menu-checkbox,
.vector-menu-heading label {
    display: none !important;
}
 
/* Section titles */
#mw-panel .vector-menu-heading {
     font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
     letter-spacing: .05em;
    color: #6b7280;
    padding: 14px 16px 6px;
}
}


/* Main content container */
/* Menu items */
.mw-body {
#mw-panel ul {
     background-color: rgba(255, 255, 255, 0.96);
     margin: 0;
    border-radius: 12px;
     padding: 0;
     padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}
}


/* EstoriaRO link colors */
#mw-panel li {
#content a:link,
     list-style: none;
#content a:visited {
     color: #0b3c5d;
}
}


#content a:hover {
/* Links */
     color: #f0c75e; /* soft yellow highlight */
#mw-panel a {
    display: block;
    padding: 7px 14px;
    font-size: 14px;
     color: #374151;
    border-radius: 6px;
    margin: 2px 8px;
}
}


/* =====================================================
  EstoriaRO Wiki — Transparent Layout
  ===================================================== */


/* Body background tetap terlihat */
 
body {
/* Active page */
     background-attachment: fixed;
#mw-panel .mw-selflink {
     background: #2563eb;
    color: #ffffff !important;
    font-weight: 600;
}
}


.vector-header-container .mw-header, .vector-header-container .vector-sticky-header {
/* Submenu indent */
    width: 100%;
#mw-panel ul ul a {
    min-height: 3.125rem;
     padding-left: 28px;
    background-color: #ffffff12;
     font-size: 13px;
    min-width: 18.75em;
     color: #4b5563;
    max-width: 99.75rem;
     padding-left: 1.5rem;
     padding-right: 1.5rem;
     box-sizing: border-box;
}
}


/* Headings tetap jelas */
/* Sidebar scrollbar */
h1, h2, h3, h4, h5, h6 {
#mw-panel::-webkit-scrollbar {
     color: #0b2c44;
     width: 6px;
}
#mw-panel::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 6px;
}
}


/* Paragraph & list */
/* -------------------------------
#content p,
  DARK MODE (AUTO)
#content li {
-------------------------------- */
     color: #102a43;
@media (prefers-color-scheme: dark) {
    body {
        background: #0f172a;
        color: #e5e7eb;
    }
 
    #mw-panel {
        background: #020617;
        border-right-color: #1e293b;
    }
 
     #mw-panel .vector-menu-heading {
        color: #94a3b8;
    }
 
    #mw-panel a {
        color: #cbd5f5;
    }
 
 
 
    #mw-panel .mw-selflink {
        background: #1d4ed8;
        color: #ffffff !important;
    }
}
}


/* Links */
/* -------------------------------
#content a:link,
  MOBILE BEHAVIOR
#content a:visited {
-------------------------------- */
     color: #0b3c5d;
@media (max-width: 768px) {
    #mw-panel {
        position: fixed;
        transform: translateX(-100%);
    }
 
    .mw-page-container {
        margin-left: 0 !important;
    }
}
/* Active page highlight */
#mw-panel .mw-selflink {
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 6px;
}
/* Submenu indentation */
#mw-panel ul ul a {
    padding-left: 30px;
    font-size: 13px;
     color: #4b5563;
}
}


#content a:hover {
/* Sticky sidebar */
     color: #f0c75e;
#mw-panel {
     text-decoration: underline;
    position: fixed;
    top: 0;
    left: 0;
     height: 100vh;
     overflow-y: auto;
}
}


/* Tables transparan */
/* Scrollbar clean */
.wikitable {
#mw-panel::-webkit-scrollbar {
     background-color: rgba(255, 255, 255, 0.55);
    width: 6px;
     border: 1px solid rgba(0, 0, 0, 0.15);
}
#mw-panel::-webkit-scrollbar-thumb {
     background: #cbd5f5;
     border-radius: 6px;
}
}
@media (max-width: 768px) {
    #mw-panel {
        transform: translateX(-100%);
    }


.wikitable th {
    .mw-page-container {
     background-color: rgba(11, 44, 68, 0.85);
        margin-left: 0 !important;
     color: #ffffff;
    }
}
#searchInput {
    border-radius: 8px;
    padding: 6px 10px;
}
#mw-panel a {
    display: flex;
    align-items: center;
    gap: 6px;
}
/* Push content so it's not hidden by sidebar */
.mw-page-container {
     margin-left: 280px;
}
/* Sidebar width */
#mw-panel {
    width: 280px;
}
#mw-head,
#footer {
    margin-left: 280px;
}
#mw-panel {
    position: fixed;
    top: 0;
    left: 0;
     height: 100vh;
    overflow-y: auto;
    background: #0b1220;
    border-right: 1px solid #1e293b;
}
}
@media (max-width: 900px) {
    #mw-panel {
        transform: translateX(-100%);
    }


.wikitable td {
    .mw-page-container,
    background-color: rgba(255, 255, 255, 0.45);
    #mw-head,
     color: #102a43;
    #footer {
        margin-left: 0 !important;
     }
}
}
/* =========================
  VECTOR LEGACY – GITBOOK LAYOUT (FIXED)
  ========================= */


/* Sidebar transparan */
/* Sidebar */
#mw-panel {
#mw-panel {
     background-color: rgba(255, 255, 255, 0.35);
    position: fixed !important;
     border-right: 1px solid rgba(0, 0, 0, 0.15);
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    overflow-y: auto;
     background: #0b1220;
     border-right: 1px solid #1e293b;
    z-index: 100;
}
 
/* =========================
  PUSH ALL CONTENT AREAS
  ========================= */
 
/* Main content */
#content {
    margin-left: 280px !important;
    padding-left: 2em;
}
 
/* Header */
#mw-head {
    margin-left: 280px !important;
}
 
/* Footer */
#footer {
    margin-left: 280px !important;
}
 
/* =========================
  FIX PAGE / DISCUSSION / EDIT TABS
  ========================= */
 
/* Namespace tabs: Page | Discussion */
#p-namespaces {
    margin-left: 280px !important;
}
}
/* View tabs: Read | Edit | View history */
#p-views {
    margin-left: 280px !important;
}
/* Tools dropdown */
#p-cactions {
    margin-left: 280px !important;
}
/* Ensure tabs don't collapse */
#p-namespaces ul,
#p-views ul,
#p-cactions ul {
    margin-left: 0 !important;
}
/* =========================
  SIDEBAR STYLING
  ========================= */


#mw-panel a {
#mw-panel a {
     color: #0b3c5d;
     color: #cbd5f5;
    font-size: 14px;
}
}


#mw-panel a:hover {
#mw-panel a:hover {
     color: #f0c75e;
     color: #60a5fa;
    text-decoration: none;
}
 
/* Sidebar section title */
#mw-panel h3,
#mw-panel .portal h3 {
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: 1.5em;
}
 
/* =========================
  MOBILE FALLBACK
  ========================= */
 
@media (max-width: 900px) {
    #mw-panel {
        position: relative !important;
        width: auto;
        height: auto;
    }
 
    #content,
    #mw-head,
    #footer,
    #p-namespaces,
    #p-views,
    #p-cactions {
        margin-left: 0 !important;
    }
}
 
 
/* =========================
  GITBOOK HERO LANDING
  ========================= */
 
.gitbook-hero {
    background: linear-gradient(
        rgba(11,18,32,0.85),
        rgba(11,18,32,0.85)
    ),
    url(/wiki/images/8/84/Banner_main_.png) center/cover no-repeat;
    border-radius: 16px;
    padding: 4em 3em;
    margin-bottom: 3em;
    color: #e5edff;
}
 
.gitbook-hero h1 {
    font-size: 3em;
    margin-bottom: .4em;
    color: #ffffff;
}
 
.gitbook-hero p {
    font-size: 1.15em;
    max-width: 700px;
    color: #c7d2fe;
}
}


/* Search bar transparan */
.gitbook-hero .hero-buttons {
#searchInput,
     margin-top: 2em;
.vector-search-box-input {
     background-color: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.25);
    color: #0b2c44;
}
}


/* Footer transparan */
.gitbook-hero .hero-btn {
#footer {
    display: inline-block;
     background-color: rgba(255, 255, 255, 0.35);
    padding: .75em 1.5em;
     color: #102a43;
    margin-right: .8em;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}
 
.hero-primary {
    background: #2563eb;
    color: #ffffff;
}
 
.hero-primary:hover {
     background: #1d4ed8;
}
 
.hero-secondary {
    border: 1px solid #475569;
    color: #e5edff;
}
 
.hero-secondary:hover {
    background: rgba(255,255,255,0.08);
}
 
 
/* Remove useless UI */
#siteSub,
#contentSub,
.mw-indicators,
#mw-navigation h2 {
    display: none;
}
 
 
 
 
h1, h2 {
    color: #facc15;
}
 
a {
    color: #60a5fa;
}
 
a:hover {
     color: #fde047;
}
 
.gitbook-hero {
    box-shadow: 0 0 40px rgba(250,204,21,0.15);
}
}


.wikiEditor-ui textarea {
 
     width: 75%;
#mw-panel li a:hover {
     border: 0;
     background: #1e293b;
     color: #93c5fd;
}
}

Latest revision as of 20:06, 19 December 2025

/* ===============================
   ESTORIARO GITBOOK FULL MODE
   Legacy Vector Sidebar
================================ */

/* --- Sidebar base --- */
#mw-panel {
    width: 270px;
    background: #f8f9fb;
    border-right: 1px solid #e5e7eb;
    padding-top: 1em;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 10;
}

/* Push content */
.mw-page-container {
    margin-left: 270px !important;
}

/* Hide collapse controls */
.vector-menu-heading .vector-menu-checkbox,
.vector-menu-heading label {
    display: none !important;
}

/* Section titles */
#mw-panel .vector-menu-heading {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6b7280;
    padding: 14px 16px 6px;
}

/* Menu items */
#mw-panel ul {
    margin: 0;
    padding: 0;
}

#mw-panel li {
    list-style: none;
}

/* Links */
#mw-panel a {
    display: block;
    padding: 7px 14px;
    font-size: 14px;
    color: #374151;
    border-radius: 6px;
    margin: 2px 8px;
}



/* Active page */
#mw-panel .mw-selflink {
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 600;
}

/* Submenu indent */
#mw-panel ul ul a {
    padding-left: 28px;
    font-size: 13px;
    color: #4b5563;
}

/* Sidebar scrollbar */
#mw-panel::-webkit-scrollbar {
    width: 6px;
}
#mw-panel::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 6px;
}

/* -------------------------------
   DARK MODE (AUTO)
-------------------------------- */
@media (prefers-color-scheme: dark) {
    body {
        background: #0f172a;
        color: #e5e7eb;
    }

    #mw-panel {
        background: #020617;
        border-right-color: #1e293b;
    }

    #mw-panel .vector-menu-heading {
        color: #94a3b8;
    }

    #mw-panel a {
        color: #cbd5f5;
    }



    #mw-panel .mw-selflink {
        background: #1d4ed8;
        color: #ffffff !important;
    }
}

/* -------------------------------
   MOBILE BEHAVIOR
-------------------------------- */
@media (max-width: 768px) {
    #mw-panel {
        position: fixed;
        transform: translateX(-100%);
    }

    .mw-page-container {
        margin-left: 0 !important;
    }
}
/* Active page highlight */
#mw-panel .mw-selflink {
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 6px;
}
/* Submenu indentation */
#mw-panel ul ul a {
    padding-left: 30px;
    font-size: 13px;
    color: #4b5563;
}

/* Sticky sidebar */
#mw-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
}

/* Scrollbar clean */
#mw-panel::-webkit-scrollbar {
    width: 6px;
}
#mw-panel::-webkit-scrollbar-thumb {
    background: #cbd5f5;
    border-radius: 6px;
}
@media (max-width: 768px) {
    #mw-panel {
        transform: translateX(-100%);
    }

    .mw-page-container {
        margin-left: 0 !important;
    }
}
#searchInput {
    border-radius: 8px;
    padding: 6px 10px;
}
#mw-panel a {
    display: flex;
    align-items: center;
    gap: 6px;
}
/* Push content so it's not hidden by sidebar */
.mw-page-container {
    margin-left: 280px;
}
/* Sidebar width */
#mw-panel {
    width: 280px;
}
#mw-head,
#footer {
    margin-left: 280px;
}
#mw-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    background: #0b1220;
    border-right: 1px solid #1e293b;
}
@media (max-width: 900px) {
    #mw-panel {
        transform: translateX(-100%);
    }

    .mw-page-container,
    #mw-head,
    #footer {
        margin-left: 0 !important;
    }
}
/* =========================
   VECTOR LEGACY – GITBOOK LAYOUT (FIXED)
   ========================= */

/* Sidebar */
#mw-panel {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    overflow-y: auto;
    background: #0b1220;
    border-right: 1px solid #1e293b;
    z-index: 100;
}

/* =========================
   PUSH ALL CONTENT AREAS
   ========================= */

/* Main content */
#content {
    margin-left: 280px !important;
    padding-left: 2em;
}

/* Header */
#mw-head {
    margin-left: 280px !important;
}

/* Footer */
#footer {
    margin-left: 280px !important;
}

/* =========================
   FIX PAGE / DISCUSSION / EDIT TABS
   ========================= */

/* Namespace tabs: Page | Discussion */
#p-namespaces {
    margin-left: 280px !important;
}

/* View tabs: Read | Edit | View history */
#p-views {
    margin-left: 280px !important;
}

/* Tools dropdown */
#p-cactions {
    margin-left: 280px !important;
}

/* Ensure tabs don't collapse */
#p-namespaces ul,
#p-views ul,
#p-cactions ul {
    margin-left: 0 !important;
}

/* =========================
   SIDEBAR STYLING
   ========================= */

#mw-panel a {
    color: #cbd5f5;
    font-size: 14px;
}

#mw-panel a:hover {
    color: #60a5fa;
    text-decoration: none;
}

/* Sidebar section title */
#mw-panel h3,
#mw-panel .portal h3 {
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: 1.5em;
}

/* =========================
   MOBILE FALLBACK
   ========================= */

@media (max-width: 900px) {
    #mw-panel {
        position: relative !important;
        width: auto;
        height: auto;
    }

    #content,
    #mw-head,
    #footer,
    #p-namespaces,
    #p-views,
    #p-cactions {
        margin-left: 0 !important;
    }
}


/* =========================
   GITBOOK HERO LANDING
   ========================= */

.gitbook-hero {
    background: linear-gradient(
        rgba(11,18,32,0.85),
        rgba(11,18,32,0.85)
    ),
    url(/wiki/images/8/84/Banner_main_.png) center/cover no-repeat;
    border-radius: 16px;
    padding: 4em 3em;
    margin-bottom: 3em;
    color: #e5edff;
}

.gitbook-hero h1 {
    font-size: 3em;
    margin-bottom: .4em;
    color: #ffffff;
}

.gitbook-hero p {
    font-size: 1.15em;
    max-width: 700px;
    color: #c7d2fe;
}

.gitbook-hero .hero-buttons {
    margin-top: 2em;
}

.gitbook-hero .hero-btn {
    display: inline-block;
    padding: .75em 1.5em;
    margin-right: .8em;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.hero-primary {
    background: #2563eb;
    color: #ffffff;
}

.hero-primary:hover {
    background: #1d4ed8;
}

.hero-secondary {
    border: 1px solid #475569;
    color: #e5edff;
}

.hero-secondary:hover {
    background: rgba(255,255,255,0.08);
}


/* Remove useless UI */
#siteSub,
#contentSub,
.mw-indicators,
#mw-navigation h2 {
    display: none;
}




h1, h2 {
    color: #facc15;
}

a {
    color: #60a5fa;
}

a:hover {
    color: #fde047;
}

.gitbook-hero {
    box-shadow: 0 0 40px rgba(250,204,21,0.15);
}


#mw-panel li a:hover {
    background: #1e293b;
    color: #93c5fd;
}