MediaWiki:Common.css: відмінності між версіями

нема опису редагування
Немає опису редагування
Немає опису редагування
Рядок 8: Рядок 8:
/* ============================================================ 1. HTML / BODY */
/* ============================================================ 1. HTML / BODY */
html {
html {
     overflow-y: scroll !important;
     overflow-y: auto !important;
     scrollbar-gutter: auto !important;
     scrollbar-gutter: auto !important;
}
}
Рядок 803: Рядок 803:
     .r-box, .tournament-box, .series-box {
     .r-box, .tournament-box, .series-box {
         top: 56px !important;
         top: 56px !important;
    }
}
/* ── MOBILE IMPROVEMENTS ── */
@media (max-width: 999px) {
    /* Page title */
    h1.mw-first-heading {
        font-size: 26px !important;
        padding: 0 14px !important;
        margin-top: 10px !important;
    }
    .mcc-hero-sub {
        padding: 0 14px !important;
        font-size: 13px !important;
        margin-bottom: 12px !important;
    }
    /* Player tabs */
    .player-tabs {
        margin: 12px 14px 16px !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding-bottom: 0 !important;
    }
    .player-tabs::-webkit-scrollbar { display: none !important; }
    .player-tab {
        padding: 9px 16px !important;
        font-size: 13.5px !important;
        white-space: nowrap !important;
        flex: none !important;
    }
    /* Content padding */
    .content .mw-parser-output { padding: 0 14px !important; }
    /* Section headings */
    .content .mw-parser-output > h2 {
        font-size: 16px !important;
        margin-top: 32px !important;
    }
    /* Tables */
    .content .mw-parser-output .wikitable td,
    .content .mw-parser-output .wikitable th {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }
    /* Game filters compact */
    .mcc-games-filters {
        padding: 10px 14px 12px !important;
        gap: 8px !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .mcc-games-filters::-webkit-scrollbar { display: none !important; }
    .mcc-filter-select { font-size: 12.5px !important; padding: 6px 22px 6px 9px !important; }
    .mcc-filter-count { display: none !important; }
    .mcc-duration-range { width: 80px !important; }
    /* r-box on mobile */
    .r-box, .tournament-box, .series-box {
        margin: 14px 14px 20px !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
    }
    /* Page actions bottom bar */
    .page-actions-menu {
        left: 0 !important; right: 0 !important;
    }
    .page-actions-menu .cdx-button span:not(.minerva-icon) {
        font-size: 11px !important;
     }
     }
}
}