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

нема опису редагування
Немає опису редагування
Немає опису редагування
Рядок 1792: Рядок 1792:
.mcc-home-panel-footer a { font-size: 12px; color: rgba(161,156,224,0.60); text-decoration: none; }
.mcc-home-panel-footer a { font-size: 12px; color: rgba(161,156,224,0.60); text-decoration: none; }
.mcc-home-panel-footer a:hover { color: #a19ce0; }
.mcc-home-panel-footer a:hover { color: #a19ce0; }
/* ══════════════════════════════════════════════
  GLOBAL MAX WIDTH — 1340px
  ══════════════════════════════════════════════ */
@media screen and (min-width: 1000px) {
    /* Main content wrapper — cap at 1340px */
    .banner-container, .minerva-anon-talk-message,
    .page-header-bar, .overlay-header, .content,
    .overlay-content, .content-unstyled,
    .pre-content, .post-content,
    #mw-content-text > form {
        max-width: 1340px !important;
    }
    /* Full-width pages still stretch to 1340px */
    .page-Ігри .content, .page-Статистика .content,
    .page-Перша_статистика .content, .page-Фіналіст .content,
    .page-Сезони .content, .page-Гравці .content,
    .page-Фундація .content, .page-Призовий_фонд .content,
    .page-Призові .content, .page-Титули .content,
    .page-Період .content, .page-Головна_сторінка .content {
        max-width: 1340px !important;
    }
}
/* ══════════════════════════════════════════════
  PLAYER CARDS — smaller size, tighter grid
  ══════════════════════════════════════════════ */
.mcc-heroes-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 12px !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 8px !important;
}
/* Player card inner image — smaller height */
.mcc-heroes-list .home__block-image,
.mcc-heroes-list li .home__block-image {
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
}
/* Make the card li behave properly */
.mcc-heroes-list > li {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
}
/* Ensure inner block fills the li */
.mcc-heroes-list > li > * {
    width: 100% !important;
    height: 100% !important;
}