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

нема опису редагування
Немає опису редагування
Немає опису редагування
 
(Не показано одну проміжну версію цього користувача)
Рядок 738: Рядок 738:


/* ============================================================ 19. ГЕРОЇ */
/* ============================================================ 19. ГЕРОЇ */
.mcc-heroes-list { padding-top: 20px !important; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.mcc-heroes-list { padding-top: 0px !important; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.mcc-heroes-list li { margin: 0; padding: 0; width: calc((100% - 32px) / 5); }
.mcc-heroes-list li { margin: 0; padding: 0; width: calc((100% - 32px) / 5); }
.mcc-hero-card { position: relative; display: block; width: 100%; overflow: hidden; background: #1a1a2e; transition: transform .2s, box-shadow .2s; }
.mcc-hero-card { position: relative; display: block; width: 100%; overflow: hidden; background: #1a1a2e; transition: transform .2s, box-shadow .2s; }
Рядок 1625: Рядок 1625:
.mcc-home-featured {
.mcc-home-featured {
     display: grid;
     display: grid;
    margin-top: 60px;
     grid-template-columns: repeat(3, 1fr);
     grid-template-columns: repeat(3, 1fr);
     gap: 10px;
     gap: 10px;
Рядок 1697: Рядок 1698:
     transition: background 0.15s;
     transition: background 0.15s;
}
}
.mcc-home-panel-hd:hover { background: rgba(255,255,255,0.04); }
.mcc-home-panel-hd:hover { background: rgba(0,0,0,0.2); }
.mcc-home-panel-title { font-size: 13px; font-weight: 600; color: #d4d2e0; }
.mcc-home-panel-title { font-size: 13px; font-weight: 600; color: #d4d2e0; }
.mcc-home-panel-toggle {
.mcc-home-panel-toggle {
     font-size: 14px;
     font-size: 14px;
     color: rgba(161,156,224,0.55);
     color: #fff;
     transition: transform 0.22s;
     transition: transform 0.22s;
     display: inline-block;
     display: inline-block;
Рядок 1750: Рядок 1751:
     border-radius: 50%;
     border-radius: 50%;
     background: rgba(161,156,224,0.10);
     background: rgba(161,156,224,0.10);
    border: 1px solid rgba(161,156,224,0.18);
     font-size: 11px;
     font-size: 11px;
     font-weight: 700;
     font-weight: 700;
     color: #a19ce0;
     color: #d4a843;
}
}
.mcc-champ-name { color: #e8e5f0; font-weight: 600; text-align: right; }
.mcc-champ-name { color: #e8e5f0; font-weight: 600; text-align: right; }


/* Get Names — 2 cols only */
/* Get Names — 3 cols */
.mcc-home-panel:nth-child(2) .mcc-home-champ-row,
.mcc-home-panel:nth-child(2) .mcc-home-champ-row,
.mcc-home-panel:nth-child(2) .mcc-home-champ-header {
.mcc-home-panel:nth-child(2) .mcc-home-champ-header {
     grid-template-columns: 44px 1fr;
     grid-template-columns: 44px 1fr auto;
}
}
.mcc-home-panel:nth-child(2) .mcc-champ-name { text-align: left; }
.mcc-home-panel:nth-child(2) .mcc-champ-name { text-align: right; font-size: 12px; }




Рядок 1782: Рядок 1782:
     list-style: none !important;
     list-style: none !important;
     margin: 0 !important;
     margin: 0 !important;
     padding: 12px !important;
     padding: 0px !important;
     display: grid !important;
     display: grid !important;
     grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
     grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
Рядок 1848: Рядок 1848:
     text-align: right !important;
     text-align: right !important;
     font-size: 12px !important;
     font-size: 12px !important;
     color: rgba(212,210,224,0.65) !important;
     color: #e8e5f0; font-weight: 600;
}
}


Рядок 1941: Рядок 1941:
   ══════════════════════════════════════════════ */
   ══════════════════════════════════════════════ */
.mcc-home-panel-hd {
.mcc-home-panel-hd {
    background: linear-gradient(105deg,
        rgba(10,20,50,0.98) 0%,
        rgba(20,40,90,0.95) 40%,
        rgba(30,60,120,0.90) 70%,
        rgba(15,35,80,0.97) 100%) !important;
    border-bottom: 1px solid rgba(60,120,255,0.20) !important;
    box-shadow: inset 0 1px 0 rgba(100,160,255,0.10) !important;
     position: relative;
     position: relative;
     overflow: hidden;
     overflow: hidden;
Рядок 1955: Рядок 1948:
     position: absolute;
     position: absolute;
     inset: 0;
     inset: 0;
     background: radial-gradient(ellipse 80% 120% at 30% 50%, rgba(50,100,255,0.12) 0%, transparent 65%);
     background:
        radial-gradient(ellipse 55% 140% at 0% 50%, rgb(132 17 255 / 16%) 0%, transparent 60%), radial-gradient(ellipse 30% 80% at 100% 50%, rgb(255 44 96 / 8%) 0%, transparent 55%);
     pointer-events: none;
     pointer-events: none;
}
}
.mcc-home-panel-hd:hover {
 
    background: linear-gradient(105deg,
        rgba(15,28,65,0.99) 0%,
        rgba(25,50,110,0.97) 40%,
        rgba(40,75,145,0.93) 70%,
        rgba(20,42,95,0.98) 100%) !important;
}
.mcc-home-panel-title {
.mcc-home-panel-title {
     color: rgba(160,200,255,0.55) !important;
     color: #fff !important;
     font-size: 12px !important;
     font-size: 11.5px !important;
     font-weight: 700 !important;
     font-weight: 700 !important;
     letter-spacing: .06em !important;
     letter-spacing: .09em !important;
     text-transform: uppercase !important;
     text-transform: uppercase !important;
}
}
.mcc-home-panel-toggle {
.mcc-home-panel-toggle {
     color: rgba(100,150,255,0.40) !important;
     color: rgba(0,180,255,0.38) !important;
}
}


/* Champion names in Seasons panel — orange like prize money */
/* Champion names in Seasons panel — orange like prize money */
.mcc-home-grid .mcc-home-panel:nth-child(1) .mcc-champ-name {
.mcc-home-grid .mcc-home-panel:nth-child(1) .mcc-champ-name {
     color: #d4843a !important;
     color: #e8e5f0; font-weight: 600;
     font-weight: 700 !important;
}
 
/* ══════════════════════════════════════════════
  SEARCH OVERLAY — повне блокування
  ══════════════════════════════════════════════ */
.mw-overlays-container .overlay,
.overlay.search-overlay,
.search-overlay,
.search-overlay .overlay-content,
.search-overlay .results {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
 
/* Знімаємо наслідки класів на body */
body.overlay-enabled,
body.search-enabled,
body.navigation-enabled {
    overflow: auto !important;
    position: static !important;
    height: auto !important;
    background-color: #15151f !important;
}
 
.overlay-enabled #mw-mf-page-center,
.search-enabled #mw-mf-page-center {
    overflow: visible !important;
     height: auto !important;
    display: block !important;
}
 
.overlay-enabled #mw-mf-viewport,
.search-enabled #mw-mf-viewport {
    height: auto !important;
    overflow: visible !important;
}
 
/* Маска, що затемнює сторінку */
.mw-mf-page-center__mask {
    display: none !important;
}
 
/* ══════════════════════════════════════════════
  R-BOX — центрування на вузьких екранах
  ══════════════════════════════════════════════ */
@media (max-width: 1199px) {
    .r-box, .tournament-box, .series-box {
        max-width: 420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
 
.content .mw-parser-output h1,
.content .mw-parser-output h2,
.content .mw-parser-output h3,
.content .mw-parser-output h4,
.content .mw-parser-output .mw-headline {
    scroll-margin-top: 80px !important;
}
}