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

нема опису редагування
Немає опису редагування
Немає опису редагування
Рядок 1828: Рядок 1828:
     height: 100% !important;
     height: 100% !important;
}
}






/* ══════════════════════════════════════════════
/* ══════════════════════════════════════════════
   MAX WIDTH 1340px correct approach
   HOME PAGE ONLY — max-width + player panel fix
  Content stays at margin-left:265px, capped by max-width
   ══════════════════════════════════════════════ */
   ══════════════════════════════════════════════ */
@media screen and (min-width: 1000px) {
@media screen and (min-width: 1000px) {
    /* Pages with r-box: margin-left 265 + margin-right 300 */
    .banner-container, .content, .pre-content, .post-content {
        max-width: calc(1340px - 265px) !important;
    }
    /* Full-width pages: no r-box, extend further right */
    .page-Ігри .content, .page-Статистика .content,
    .page-Перша_статистика .content, .page-Фіналіст .content,
    .page-Сезони .content, .page-Гравці .content,
    .page-Фундація .content, .page-Призовий_фонд .content,
    .page-Призові .content, .page-Титули .content,
    .page-Період .content {
        max-width: calc(1340px - 265px) !important;
        margin-right: 16px !important;
    }
    /* Home page — no r-box, full width up to 1340 */
     .page-Головна_сторінка .content,
     .page-Головна_сторінка .content,
     .page-Головна_сторінка .pre-content,
     .page-Головна_сторінка .pre-content,
Рядок 1861: Рядок 1845:
}
}


/* Player panel — remove max-height so all 166 cards show */
#players-panel {
#players-panel {
     max-height: none !important;
     max-height: none !important;
     overflow: visible !important;
     overflow: visible !important;
}
}