MediaWiki:Common.css: відмінності між версіями
Admin (обговорення | внесок) Немає опису редагування |
Admin (обговорення | внесок) Немає опису редагування |
||
| (Не показані 34 проміжні версії цього користувача) | |||
| Рядок 17: | Рядок 17: | ||
.page-Main_Page .mw-first-heading { display: none!important; } | .page-Main_Page .mw-first-heading { display: none!important; } | ||
.page-Головна_сторінка .mw-first-heading { display: none!important; } | |||
.overlay.search-overlay .search-content .caption { padding-left: 30px!important; } | .overlay.search-overlay .search-content .caption { padding-left: 30px!important; } | ||
| Рядок 25: | Рядок 26: | ||
.mw-ui-icon-mf-articlesSearch { visibility: hidden!important; display:none!important; background-image:none!important; } | .mw-ui-icon-mf-articlesSearch { visibility: hidden!important; display:none!important; background-image:none!important; } | ||
body { | |||
background-color: #15151f !important; | |||
background-image: url('/images/a/a1/Background_x%402x.png') !important; | |||
background-size: cover !important; | |||
background-repeat: no-repeat !important; | |||
background-position: center center !important; | |||
background-attachment: fixed !important; | |||
} | |||
#mw-mf-viewport, | |||
#mw-mf-page-center, | |||
#content, | |||
.mw-body { | |||
background-color: transparent !important; | |||
} | |||
.header-container.header-chrome { | .header-container.header-chrome { | ||
background-color: | background-color: rgba(30, 30, 42, 0.85) !important; | ||
backdrop-filter: blur(12px) !important; | |||
-webkit-backdrop-filter: blur(12px) !important; | |||
} | } | ||
.list-thumb.list-thumb-none { background-color: #18151e!important; } | .list-thumb.list-thumb-none { background-color: #18151e!important; } | ||
| Рядок 56: | Рядок 69: | ||
background-color: #15151f!important; | background-color: #15151f!important; | ||
color: #b7b4bf!important; | color: #b7b4bf!important; | ||
padding-bottom: 140px!important; | padding-bottom: 140px!important; | ||
} | } | ||
| Рядок 62: | Рядок 74: | ||
@media (max-width: 767px) { | @media (max-width: 767px) { | ||
.overlay-enabled, .mw-body { | .overlay-enabled, .mw-body { | ||
padding-bottom: 80px!important; | padding-bottom: 80px!important; | ||
} | } | ||
| Рядок 82: | Рядок 93: | ||
h4 { | h4 { | ||
opacity: 0.5!important; | opacity: 0.5!important; | ||
font-weight: 400!important; | font-weight: 400!important; | ||
} | } | ||
| Рядок 112: | Рядок 123: | ||
display: none!important; | display: none!important; | ||
} | } | ||
.content ul { list-style-type: none!important; padding-left: 0em!important; } | .content ul { list-style-type: none!important; padding-left: 0em!important; } | ||
| Рядок 134: | Рядок 143: | ||
.page-Main_Page #page-secondary-actions a { display:none!important; } | .page-Main_Page #page-secondary-actions a { display:none!important; } | ||
.page-Головна_сторінка #page-secondary-actions a { display:none!important; } | |||
.mw-ui-icon-mf-expand { background-image:none!important; } | .mw-ui-icon-mf-expand { background-image:none!important; } | ||
| Рядок 165: | Рядок 175: | ||
.minerva-user-navigation > *:last-child { display: none!important; } | .minerva-user-navigation > *:last-child { display: none!important; } | ||
/* ==================================================== */ | |||
/* HEADER - ФІКСОВАНИЙ НА ВСЮ ШИРИНУ */ | |||
/* ==================================================== */ | |||
.header-container.header-chrome { | |||
background-color: rgba(30, 30, 42, 0.85) !important; | |||
backdrop-filter: blur(12px) !important; | |||
-webkit-backdrop-filter: blur(12px) !important; | |||
box-shadow: 5px 12px 24px rgba(0, 0, 0, 0.05) !important; | |||
position: fixed !important; | |||
top: 0 !important; | |||
left: 0 !important; | |||
right: 0 !important; | |||
z-index: 1000 !important; | |||
padding: 0 20px !important; | |||
margin-left: 0 !important; | |||
border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; | |||
} | |||
.minerva-header { | |||
display: flex !important; | |||
align-items: center !important; | |||
justify-content: space-between !important; | |||
width: 100% !important; | |||
max-width: none !important; | |||
padding: 10px 0 !important; | |||
gap: 20px !important; | |||
margin-left: 0 !important; | |||
} | |||
/* Branding box - логотип + назва зліва */ | |||
.minerva-header .branding-box { | |||
display: flex !important; | |||
align-items: center !important; | |||
gap: 12px !important; | |||
flex-shrink: 0 !important; | |||
} | |||
.minerva-header .branding-box a { | |||
display: flex !important; | |||
align-items: center !important; | |||
gap: 12px !important; | |||
text-decoration: none !important; | |||
} | |||
/* Логотип */ | |||
/* Логотип */ | |||
.minerva-header .branding-box a::before { | |||
content: '' !important; | |||
display: block !important; | |||
width: 40px !important; | |||
height: 40px !important; | |||
background-image: url('/images/d/d7/MafiaClosedCircleLogo.png') !important; | |||
background-size: contain !important; | |||
background-repeat: no-repeat !important; | |||
background-position: center !important; | |||
flex-shrink: 0 !important; | |||
} | |||
/* Назва сайту */ | |||
.minerva-header .branding-box a span { | |||
font-size: 18px !important; | |||
font-weight: 500 !important; | |||
color: #fff !important; | |||
white-space: nowrap !important; | |||
} | |||
/* Пошук - розтягується праворуч */ | |||
.minerva-header .minerva-search-form { | |||
flex-grow: 1 !important; | |||
max-width: 400px !important; | |||
margin-left: auto !important; | |||
} | |||
.minerva-header .search-box { | |||
width: 100% !important; | |||
position: relative !important; | |||
} | |||
.minerva-header .search-box .search { | |||
width: 100% !important; | |||
padding: 10px 16px 10px 40px !important; | |||
border-radius: 8px !important; | |||
background-color: #15151f !important; | |||
border: 1px solid rgba(255, 255, 255, 0.1) !important; | |||
} | |||
.minerva-header .search-box .search::placeholder { | |||
color: rgba(255, 255, 255, 0.4) !important; | |||
} | |||
.minerva-header .search-box .search:focus { | |||
border-color: #a19ce0 !important; | |||
outline: none !important; | |||
} | |||
/* Іконка лупи */ | |||
.minerva-header .search-box::before { | |||
content: '' !important; | |||
position: absolute !important; | |||
left: 12px !important; | |||
top: 50% !important; | |||
transform: translateY(-50%) !important; | |||
width: 16px !important; | |||
height: 16px !important; | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") !important; | |||
background-size: contain !important; | |||
background-repeat: no-repeat !important; | |||
z-index: 1 !important; | |||
pointer-events: none !important; | |||
} | |||
/* Прибираємо стандартну іконку пошуку */ | |||
.minerva-header .search-box .search.minerva-icon--search { | |||
background-image: none !important; | |||
} | |||
/* Ховаємо кнопку пошуку */ | |||
.minerva-header #searchIcon { | |||
display: none !important; | |||
} | |||
/* Ховаємо меню та user navigation */ | |||
.minerva-header .navigation-drawer { | |||
display: none !important; | |||
} | |||
.minerva-user-navigation { | |||
display: none !important; | |||
} | |||
/* ==================================================== */ | /* ==================================================== */ | ||
| Рядок 170: | Рядок 311: | ||
/* ==================================================== */ | /* ==================================================== */ | ||
.wikitable { | .wikitable { | ||
border: none !important; | border: none !important; | ||
| Рядок 179: | Рядок 319: | ||
} | } | ||
.wikitable .external { | .wikitable .external { | ||
background: none !important; | background: none !important; | ||
| Рядок 190: | Рядок 329: | ||
} | } | ||
.wikitable > tr > th, | .wikitable > tr > th, | ||
.wikitable > tr > td, | .wikitable > tr > td, | ||
| Рядок 201: | Рядок 339: | ||
} | } | ||
.wikitable > thead > tr > th, | .wikitable > thead > tr > th, | ||
.wikitable > * > tr:first-child > th { | .wikitable > * > tr:first-child > th { | ||
| Рядок 213: | Рядок 350: | ||
} | } | ||
.wikitable > tbody > tr:nth-child(odd) > td, | .wikitable > tbody > tr:nth-child(odd) > td, | ||
.wikitable > * > tr:nth-child(odd) > td { | .wikitable > * > tr:nth-child(odd) > td { | ||
| Рядок 224: | Рядок 360: | ||
} | } | ||
.wikitable > tbody > tr:hover > td, | .wikitable > tbody > tr:hover > td, | ||
.wikitable > * > tr:hover > td { | .wikitable > * > tr:hover > td { | ||
| Рядок 232: | Рядок 367: | ||
/* ==================================================== */ | /* ==================================================== */ | ||
/* SORTABLE СТРІЛОЧКИ | /* SORTABLE СТРІЛОЧКИ */ | ||
/* ==================================================== */ | /* ==================================================== */ | ||
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), | .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), | ||
.jquery-tablesorter th.headerSort { | .jquery-tablesorter th.headerSort { | ||
| Рядок 249: | Рядок 383: | ||
} | } | ||
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable)::after, | .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable)::after, | ||
.jquery-tablesorter th.headerSort::after { | .jquery-tablesorter th.headerSort::after { | ||
| Рядок 262: | Рядок 395: | ||
} | } | ||
.jquery-tablesorter th.headerSortUp::after { | .jquery-tablesorter th.headerSortUp::after { | ||
content: "▲"; | content: "▲"; | ||
| Рядок 269: | Рядок 401: | ||
} | } | ||
.jquery-tablesorter th.headerSortDown::after { | .jquery-tablesorter th.headerSortDown::after { | ||
content: "▼"; | content: "▼"; | ||
| Рядок 276: | Рядок 407: | ||
} | } | ||
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable):hover, | .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable):hover, | ||
.jquery-tablesorter th.headerSort:hover { | .jquery-tablesorter th.headerSort:hover { | ||
| Рядок 283: | Рядок 413: | ||
} | } | ||
.wikitable > tbody > tr:first-child > td, | .wikitable > tbody > tr:first-child > td, | ||
.wikitable > * > tr:first-child > td { | .wikitable > * > tr:first-child > td { | ||
| Рядок 294: | Рядок 423: | ||
} | } | ||
.wikitable td { | .wikitable td { | ||
vertical-align: middle !important; | vertical-align: middle !important; | ||
} | } | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.wikitable > tr > th, | .wikitable > tr > th, | ||
| Рядок 322: | Рядок 449: | ||
.flex__block { | .flex__block { | ||
display: flex; | display: flex; | ||
justify-content: space-between; | justify-content: space-between; | ||
align-items: center | align-items: center | ||
| Рядок 362: | Рядок 479: | ||
background-image: url(https://mafiacc.site/images/d/df/Bg_03.png); | background-image: url(https://mafiacc.site/images/d/df/Bg_03.png); | ||
background-size: cover; | background-size: cover; | ||
} | } | ||
| Рядок 458: | Рядок 562: | ||
#mw-mf-viewport, #content, .header-container, .mw-body { | #mw-mf-viewport, #content, .header-container, .mw-body { | ||
background-size: cover !important; | background-size: cover !important; | ||
background-repeat: no-repeat !important; | background-repeat: no-repeat !important; | ||
| Рядок 471: | Рядок 574: | ||
} | } | ||
/* | /* ==================================================== */ | ||
/* ГЕРОЇ */ | |||
/* ==================================================== */ | |||
.mcc-heroes-list { | .mcc-heroes-list { | ||
padding-top: 20px!important; | padding-top: 20px!important; | ||
| Рядок 485: | Рядок 591: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
width: calc((100% - 32px) / 5); | width: calc((100% - 32px) / 5); | ||
} | } | ||
.mcc-hero-card { | .mcc-hero-card { | ||
position: relative; | position: relative; | ||
| Рядок 500: | Рядок 604: | ||
} | } | ||
.mcc-hero-card:hover { | .mcc-hero-card:hover { | ||
transform: translateY(-4px); | transform: translateY(-4px); | ||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); | ||
} | } | ||
| Рядок 515: | Рядок 617: | ||
height: auto; | height: auto; | ||
} | } | ||
.mcc-hero-info { | .mcc-hero-info { | ||
| Рядок 532: | Рядок 633: | ||
} | } | ||
.mcc-hero-nickname a, | .mcc-hero-nickname a, | ||
.mcc-hero-nickname a:visited { | .mcc-hero-nickname a:visited { | ||
| Рядок 546: | Рядок 646: | ||
} | } | ||
.mcc-hero-nickname a.external, | .mcc-hero-nickname a.external, | ||
.mcc-hero-nickname a.external:after, | .mcc-hero-nickname a.external:after, | ||
| Рядок 572: | Рядок 671: | ||
} | } | ||
.mcc-champion-card { | .mcc-champion-card { | ||
box-shadow: 0 0 0 0.5px orange; | box-shadow: 0 0 0 0.5px orange; | ||
| Рядок 581: | Рядок 679: | ||
} | } | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.mcc-heroes-list { | .mcc-heroes-list { | ||
| Рядок 589: | Рядок 686: | ||
.mcc-heroes-list li { | .mcc-heroes-list li { | ||
width: calc((100% - 12px) / 2); | width: calc((100% - 12px) / 2); | ||
} | } | ||
| Рядок 606: | Рядок 702: | ||
} | } | ||
@media (max-width: 360px) { | @media (max-width: 360px) { | ||
.mcc-heroes-list { | .mcc-heroes-list { | ||
| Рядок 622: | Рядок 717: | ||
} | } | ||
/* ==================================================== */ | |||
/* КНОПКА ЗАПИСУ ГРИ */ | |||
/* ==================================================== */ | |||
.game-record-btn { | .game-record-btn { | ||
display: inline-block; | display: inline-block; | ||
| Рядок 646: | Рядок 741: | ||
} | } | ||
/* | /* ==================================================== */ | ||
/* НАВІГАЦІЯ - ГРАВЦІ, ТУРНІРИ, СЕРІЇ, ЧЕМПІОНАТИ */ | |||
/* ==================================================== */ | |||
.player-nav, | |||
.tournament-nav, | |||
.series-nav, | |||
.championship-nav { | |||
. | |||
display: flex; | display: flex; | ||
justify-content: space-between; | justify-content: space-between; | ||
| Рядок 686: | Рядок 759: | ||
} | } | ||
.player-nav-prev, | .player-nav-prev, .player-nav-next, | ||
. | .tournament-nav-prev, .tournament-nav-next, | ||
.series-nav-prev, .series-nav-next, | |||
.championship-nav-prev, .championship-nav-next { | |||
font-size: 20px; | font-size: 20px; | ||
font-weight: bold; | font-weight: bold; | ||
| Рядок 694: | Рядок 769: | ||
} | } | ||
.player-nav-prev a, | .player-nav-prev a, .player-nav-next a, | ||
. | .tournament-nav-prev a, .tournament-nav-next a, | ||
color: | .series-nav-prev a, .series-nav-next a, | ||
.championship-nav-prev a, .championship-nav-next a { | |||
color: white !important; | |||
text-decoration: none; | text-decoration: none; | ||
transition: opacity 0.2s; | transition: opacity 0.2s; | ||
} | } | ||
.player-nav-prev a:hover, | .player-nav-prev a:hover, .player-nav-next a:hover, | ||
. | .tournament-nav-prev a:hover, .tournament-nav-next a:hover, | ||
.series-nav-prev a:hover, .series-nav-next a:hover, | |||
.championship-nav-prev a:hover, .championship-nav-next a:hover { | |||
opacity: 0.7; | opacity: 0.7; | ||
} | } | ||
.player-nav-name { | .player-nav-name, | ||
.tournament-nav-name, | |||
.series-nav-name, | |||
.championship-nav-name { | |||
flex: 1; | flex: 1; | ||
text-align: center; | text-align: center; | ||
| Рядок 714: | Рядок 796: | ||
} | } | ||
/* | /* ==================================================== */ | ||
/* L-BOX МЕНЮ */ | |||
/* ==================================================== */ | |||
. | .l-box { | ||
position: fixed; | |||
top: 100px !important; | |||
font- | left: 20px; | ||
z-index: 100; | |||
width: 220px; | |||
background: none; | |||
border-radius: 4px; | |||
font-size: 13px; | |||
max-height: calc(100vh - 100px) !important; | |||
overflow-y: auto; | |||
} | } | ||
. | .l-box-item { | ||
padding: 12px 20px; | |||
color: | border-bottom: 1px solid rgba(255,255,255,0.05); | ||
border-left: 3px solid transparent; | |||
transition: | color: #8ab4f8; | ||
cursor: pointer; | |||
transition: all 0.15s; | |||
} | } | ||
. | .l-box-item-last { | ||
border-bottom: none; | |||
} | } | ||
. | .l-box-item:hover { | ||
background: #373752; | |||
border-left-color: #555; | |||
color: #fff; | |||
color: | |||
} | } | ||
.l-box-item.active { | |||
. | background: #373752; | ||
border-left-color: #8ab4f8; | |||
color: #fff; | |||
} | } | ||
@media (max-width: 1400px) { | |||
. | .l-box { | ||
display: none !important; | |||
} | |||
} | } | ||
/* ==================================================== */ | |||
/* R-BOX ПАНЕЛІ */ | |||
/* ==================================================== */ | |||
. | .r-box, .tournament-box, .series-box { | ||
.series- | top: 100px !important; | ||
max-height: calc(100vh - 100px) !important; | |||
} | } | ||
@media (max-width: 1200px) { | @media (max-width: 1200px) { | ||
.r-box, .tournament-box, .series-box { | .r-box, .tournament-box, .series-box { | ||
position: static !important; | position: static !important; | ||
width: 100%!important; | width: 100% !important; | ||
max-width: none !important; | max-width: none !important; | ||
margin: | margin: 0 !important; | ||
top: auto !important; | top: auto !important; | ||
right: auto !important; | right: auto !important; | ||
| Рядок 808: | Рядок 866: | ||
} | } | ||
/* | /* ==================================================== */ | ||
/* PROFILE LINKS */ | |||
/* ==================================================== */ | |||
.profile-links { | |||
margin-top: 20px; | |||
padding-top: 15px; | |||
border-top: 1px solid rgba(255,255,255,0.05); | |||
padding-bottom: 10px; | |||
} | } | ||
.profile-links-title { | |||
text-align: center; | |||
font-size: 13px; | |||
color: #888; | |||
margin-bottom: 10px; | |||
} | } | ||
.profile-links-icons { | |||
. | |||
display: flex; | display: flex; | ||
justify-content: | flex-direction: row; | ||
justify-content: center; | |||
align-items: center; | align-items: center; | ||
gap: 10px; | |||
} | } | ||
. | .profile-icon { | ||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
padding: 4px; | |||
} | } | ||
. | .profile-icon img { | ||
display: block; | |||
height: 24px; | |||
width: auto; | |||
} | } | ||
/* ==================================================== */ | |||
. | /* TOC */ | ||
/* ==================================================== */ | |||
#toc, .toc { | |||
display: none !important; | |||
} | } | ||
. | .r-box ~ * #toc, | ||
.r-box ~ * .toc { | |||
display: none !important; | |||
} | } | ||
. | /* ==================================================== */ | ||
/* КОНТЕНТ - MARGIN-LEFT ДЛЯ СТОРІНОК З МЕНЮ */ | |||
/* ==================================================== */ | |||
@media screen and (min-width: 1000px) { | |||
.banner-container, | |||
.minerva-anon-talk-message, | |||
.page-header-bar, | |||
.overlay-header, | |||
.content, | |||
.overlay-content, | |||
.content-unstyled, | |||
.pre-content, | |||
.post-content, | |||
#mw-content-text > form { | |||
margin-left: 300px !important; | |||
} | |||
.page-Головна_сторінка .banner-container, | |||
.page-Головна_сторінка .minerva-anon-talk-message, | |||
.page-Головна_сторінка .page-header-bar, | |||
.page-Головна_сторінка .overlay-header, | |||
.page-Головна_сторінка .content, | |||
.page-Головна_сторінка .overlay-content, | |||
.page-Головна_сторінка .content-unstyled, | |||
.page-Головна_сторінка .pre-content, | |||
.page-Головна_сторінка .post-content, | |||
.page-Головна_сторінка #mw-content-text > form { | |||
margin-left: auto !important; | |||
margin-right: auto !important; | |||
max-width: 1200px !important; | |||
padding-left: 20px !important; | |||
padding-right: 20px !important; | |||
} | |||
} | } | ||
. | /* ==================================================== */ | ||
/* МОБІЛЬНА ВЕРСІЯ HEADER */ | |||
/* ==================================================== */ | |||
@media (max-width: 767px) { | |||
.minerva-header .branding-box a span { | |||
font-size: 14px !important; | |||
} | |||
.minerva-header .branding-box a::before { | |||
width: 28px !important; | |||
height: 28px !important; | |||
} | |||
.minerva-header .minerva-search-form { | |||
max-width: 200px !important; | |||
} | |||
.header-container.header-chrome { | |||
padding: 0 12px !important; | |||
} | |||
} | } | ||
. | @media (max-width: 480px) { | ||
.minerva-header { | |||
flex-wrap: wrap !important; | |||
padding: 8px 0 !important; | |||
} | |||
.minerva-header .minerva-search-form { | |||
order: 3 !important; | |||
max-width: 100% !important; | |||
width: 100% !important; | |||
margin-top: 8px !important; | |||
} | |||
} | } | ||
/* | /* ==================================================== */ | ||
/* ФІКС ПОШУКУ - БЛОКУВАННЯ OVERLAY ТА СТРИБАННЯ */ | |||
/* ==================================================== */ | |||
/* Фіксуємо scroll */ | |||
html { | |||
overflow-y: scroll !important; | |||
scrollbar-gutter: stable !important; | |||
} | } | ||
. | /* Блокуємо зміни body при overlay */ | ||
. | body, | ||
body.overlay-enabled, | |||
body.search-enabled, | |||
body[class*="overlay"], | |||
body[class*="search"] { | |||
overflow: auto !important; | |||
position: static !important; | |||
height: auto !important; | |||
width: 100% !important; | |||
top: auto !important; | |||
left: auto !important; | |||
} | } | ||
/* Фіксуємо viewport */ | |||
#mw-mf-viewport, | |||
#mw-mf-page-center { | |||
transform: none !important; | |||
transition: none !important; | |||
position: static !important; | |||
overflow: visible !important; | |||
} | } | ||
. | /* Блокуємо зміни при overlay */ | ||
. | .overlay-enabled #mw-mf-viewport, | ||
.overlay-enabled #mw-mf-page-center, | |||
.overlay-enabled .mw-body, | |||
.overlay-enabled #content { | |||
transform: none !important; | |||
margin: 0 !important; | margin: 0 !important; | ||
position: static !important; | |||
} | } | ||
/* Контент завжди має правильний padding-top */ | |||
. | .mw-body { | ||
padding-top: 70px !important; | |||
padding: | |||
} | } | ||
@media (max-width: 767px) { | |||
.mw-body { | |||
padding-top: 60px !important; | |||
} | |||
} | } | ||
. | /* Ховаємо всі overlay елементи */ | ||
. | .overlay, | ||
display: | .search-overlay, | ||
.overlay.search-overlay, | |||
.overlay-header, | |||
.overlay-content, | |||
.mw-mf-page-center__mask { | |||
display: none !important; | |||
position: absolute !important; | |||
left: -9999px !important; | |||
visibility: hidden !important; | |||
opacity: 0 !important; | |||
pointer-events: none !important; | |||
height: 0 !important; | |||
width: 0 !important; | |||
} | } | ||
/* Поле пошуку - завжди активне */ | |||
#searchInput { | |||
pointer-events: auto !important; | |||
cursor: text !important; | |||
-webkit-user-select: text !important; | |||
user-select: text !important; | |||
} | } | ||
/* | /* Вимикаємо тригер overlay */ | ||
. | .skin-minerva-search-trigger { | ||
pointer-events: none !important; | |||
} | } | ||
/* | /* Але input активний */ | ||
. | .minerva-header .search-box input.search { | ||
pointer-events: auto !important; | |||
cursor: text !important; | |||
} | } | ||
Поточна версія на 21:19, 9 грудня 2025
/** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */
/* ==================================================== */
/* ЗАГАЛЬНІ СТИЛІ ТА UI */
/* ==================================================== */
@media (max-width: 720px) {
.r-box { float:none !important; margin-left:0 !important; }
.content table { display:table !important; }
}
.overlay.search-overlay .search-content {
background-color: #18151e;
border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important;
color: #a19ce0!important;
}
.page-Main_Page .mw-first-heading { display: none!important; }
.page-Головна_сторінка .mw-first-heading { display: none!important; }
.overlay.search-overlay .search-content .caption { padding-left: 30px!important; }
.page-list li, .topic-title-list li, .site-link-list li {
border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important;
}
.mw-ui-icon-mf-articlesSearch { visibility: hidden!important; display:none!important; background-image:none!important; }
body {
background-color: #15151f !important;
background-image: url('/images/a/a1/Background_x%402x.png') !important;
background-size: cover !important;
background-repeat: no-repeat !important;
background-position: center center !important;
background-attachment: fixed !important;
}
#mw-mf-viewport,
#mw-mf-page-center,
#content,
.mw-body {
background-color: transparent !important;
}
.header-container.header-chrome {
background-color: rgba(30, 30, 42, 0.85) !important;
backdrop-filter: blur(12px) !important;
-webkit-backdrop-filter: blur(12px) !important;
}
.list-thumb.list-thumb-none { background-color: #18151e!important; }
.overlay.search-overlay .results, .overlay.search-overlay .search-feedback {
background-color: #18151e!important;
color: white!important;
}
.overlay.search-overlay .results { box-shadow: none!important; }
.minerva-header .branding-box a { color: #b7b4bf!important; }
.minerva-header .branding-box { opacity: 1.0!important; }
.minerva-icon--menu-base20, .minerva-icon--menu {
filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%);
}
.overlay-enabled, .mw-body {
background-color: #15151f!important;
color: #b7b4bf!important;
padding-bottom: 140px!important;
}
@media (max-width: 767px) {
.overlay-enabled, .mw-body {
padding-bottom: 80px!important;
}
}
a.new { color: #ff7777!important; }
a.new:hover { color: #ff7777!important; }
a.new:visited { color: #ff7777!important; }
a { color: #a19ce0!important; }
a:hover { color: #a19ce0!important; }
a:visited { color: #a19ce0!important; }
.minerva-footer {
background-color: #15151f!important;
color: #b7b4bf!important;
display: none!important;
}
h4 {
opacity: 0.5!important;
font-weight: 400!important;
}
.minerva__tab-container { display:none!important; }
#mw-mf-page-center { background-color: #15151f!important; }
.content .mw-parser-output > h2, .content .section-heading {
border-bottom: 1px solid #232b3a!important;
padding-top: 30px!important;
padding-bottom: 10px!important;
}
.search-box .search {
background-color: #15151f!important;
box-shadow: none!important;
border: 1px solid #232b3a!important;
color: white!important;
}
b, strong { font-weight: 400!important; color: #ebebeb!important; }
.page-actions-menu {
box-sizing: border-box;
border-top: 1px solid #232b3a!important;
border-bottom: 1px solid #232b3a!important;
margin-top: -1px;
display: none!important;
}
.content ul { list-style-type: none!important; padding-left: 0em!important; }
.toc { background-color: #18151e!important; border: none!important; }
.content kbd, .content samp, .content code, .content pre { border: none!important; }
.content pre {
padding-left: 0px!important;
padding-top: 10px!important;
padding-right: 0px!important;
padding-bottom: 10px!important;
}
.content .mw-parser-output h1 .mw-editsection, .content .mw-parser-output h2 .mw-editsection, .content .mw-parser-output h3 .mw-editsection, .content .mw-parser-output h4 .mw-editsection, .content .mw-parser-output h5 .mw-editsection, .content .mw-parser-output h6 .mw-editsection {
visibility:hidden!important;
display:none!important;
}
.page-Main_Page #page-secondary-actions a { display:none!important; }
.page-Головна_сторінка #page-secondary-actions a { display:none!important; }
.mw-ui-icon-mf-expand { background-image:none!important; }
.mw-ui-icon-mf-expand:before {
content: "+";
color: white;
font-size: 16px;
font-weight: bold;
display: inline-block;
width: 16px;
height: 16px;
line-height: 1em;
text-align: center;
vertical-align: middle;
}
.mf-icon, .mf-icon--small, .mf-icon--large { display: inline-flex; align-items: center; justify-content: center; }
.mf-mw-ui-icon-rotate-flip { transform: rotate(45deg)!important; }
li.gallerybox div.thumb { background-color: #18151e!important; border: none!important; }
.image-details.is-visible { display: none!important; }
.content table, .content .infobox { text-align: center!important; }
.minerva-header .navigation-drawer .toggle-list__toggle { display:none!important; }
.minerva-user-navigation .minerva-notifications { display:none!important; }
.minerva-user-navigation > *:last-child { display: none!important; }
/* ==================================================== */
/* HEADER - ФІКСОВАНИЙ НА ВСЮ ШИРИНУ */
/* ==================================================== */
.header-container.header-chrome {
background-color: rgba(30, 30, 42, 0.85) !important;
backdrop-filter: blur(12px) !important;
-webkit-backdrop-filter: blur(12px) !important;
box-shadow: 5px 12px 24px rgba(0, 0, 0, 0.05) !important;
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
z-index: 1000 !important;
padding: 0 20px !important;
margin-left: 0 !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.minerva-header {
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
width: 100% !important;
max-width: none !important;
padding: 10px 0 !important;
gap: 20px !important;
margin-left: 0 !important;
}
/* Branding box - логотип + назва зліва */
.minerva-header .branding-box {
display: flex !important;
align-items: center !important;
gap: 12px !important;
flex-shrink: 0 !important;
}
.minerva-header .branding-box a {
display: flex !important;
align-items: center !important;
gap: 12px !important;
text-decoration: none !important;
}
/* Логотип */
/* Логотип */
.minerva-header .branding-box a::before {
content: '' !important;
display: block !important;
width: 40px !important;
height: 40px !important;
background-image: url('/images/d/d7/MafiaClosedCircleLogo.png') !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center !important;
flex-shrink: 0 !important;
}
/* Назва сайту */
.minerva-header .branding-box a span {
font-size: 18px !important;
font-weight: 500 !important;
color: #fff !important;
white-space: nowrap !important;
}
/* Пошук - розтягується праворуч */
.minerva-header .minerva-search-form {
flex-grow: 1 !important;
max-width: 400px !important;
margin-left: auto !important;
}
.minerva-header .search-box {
width: 100% !important;
position: relative !important;
}
.minerva-header .search-box .search {
width: 100% !important;
padding: 10px 16px 10px 40px !important;
border-radius: 8px !important;
background-color: #15151f !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.minerva-header .search-box .search::placeholder {
color: rgba(255, 255, 255, 0.4) !important;
}
.minerva-header .search-box .search:focus {
border-color: #a19ce0 !important;
outline: none !important;
}
/* Іконка лупи */
.minerva-header .search-box::before {
content: '' !important;
position: absolute !important;
left: 12px !important;
top: 50% !important;
transform: translateY(-50%) !important;
width: 16px !important;
height: 16px !important;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") !important;
background-size: contain !important;
background-repeat: no-repeat !important;
z-index: 1 !important;
pointer-events: none !important;
}
/* Прибираємо стандартну іконку пошуку */
.minerva-header .search-box .search.minerva-icon--search {
background-image: none !important;
}
/* Ховаємо кнопку пошуку */
.minerva-header #searchIcon {
display: none !important;
}
/* Ховаємо меню та user navigation */
.minerva-header .navigation-drawer {
display: none !important;
}
.minerva-user-navigation {
display: none !important;
}
/* ==================================================== */
/* СТИЛІ ТАБЛИЦЬ У СТИЛІ LIQUIPEDIA */
/* ==================================================== */
.wikitable {
border: none !important;
border-collapse: separate !important;
border-spacing: 0 !important;
width: 100%;
background-color: transparent !important;
}
.wikitable .external {
background: none !important;
padding-right: 0 !important;
}
.wikitable a.external::after {
content: '' !important;
display: none !important;
}
.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
border: none !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
padding: 8px 12px !important;
background: none;
}
.wikitable > thead > tr > th,
.wikitable > * > tr:first-child > th {
background-color: rgba(24, 21, 30, 0.6) !important;
border-bottom: 2px solid rgba(161, 156, 224, 0.3) !important;
font-weight: 500 !important;
text-transform: uppercase;
font-size: 12px;
letter-spacing: 0.5px;
padding: 10px 12px !important;
}
.wikitable > tbody > tr:nth-child(odd) > td,
.wikitable > * > tr:nth-child(odd) > td {
background-color: rgba(24, 21, 30, 0.3) !important;
}
.wikitable > tbody > tr:nth-child(even) > td,
.wikitable > * > tr:nth-child(even) > td {
background-color: rgba(24, 21, 30, 0.5) !important;
}
.wikitable > tbody > tr:hover > td,
.wikitable > * > tr:hover > td {
background-color: rgba(25, 87, 255, 0.15) !important;
transition: background-color 0.2s ease;
}
/* ==================================================== */
/* SORTABLE СТРІЛОЧКИ */
/* ==================================================== */
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),
.jquery-tablesorter th.headerSort {
background-color: rgba(24, 21, 30, 0.6) !important;
color: white !important;
font-weight: 500 !important;
padding: 10px 12px !important;
padding-right: 24px !important;
background-image: none !important;
cursor: pointer;
position: relative;
user-select: none;
}
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable)::after,
.jquery-tablesorter th.headerSort::after {
content: "⇅";
position: absolute;
right: 8px;
top: 50%;
transform: translateY(-50%);
font-size: 14px;
color: rgba(255, 255, 255, 0.3);
font-weight: normal;
}
.jquery-tablesorter th.headerSortUp::after {
content: "▲";
color: #a19ce0 !important;
font-size: 12px;
}
.jquery-tablesorter th.headerSortDown::after {
content: "▼";
color: #a19ce0 !important;
font-size: 12px;
}
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable):hover,
.jquery-tablesorter th.headerSort:hover {
background-color: rgba(25, 87, 255, 0.4) !important;
transition: background-color 0.2s ease;
}
.wikitable > tbody > tr:first-child > td,
.wikitable > * > tr:first-child > td {
border-top: none !important;
}
.wikitable > tbody > tr:last-child > td,
.wikitable > * > tr:last-child > td {
border-bottom: none !important;
}
.wikitable td {
vertical-align: middle !important;
}
@media (max-width: 768px) {
.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
padding: 6px 8px !important;
font-size: 13px;
}
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),
.jquery-tablesorter th.headerSort {
padding: 8px 8px !important;
padding-right: 20px !important;
font-size: 11px;
}
}
/* ==================================================== */
/* HOME PAGE BLOCKS */
/* ==================================================== */
.flex__block {
display: flex;
justify-content: space-between;
align-items: center
}
.home__blocks {
gap: 20px;
align-items: stretch
}
.home__block {
align-items: stretch;
width: 33.3333%;
flex-direction: column
}
.home__block-inner {
align-items: stretch;
gap: 0px;
flex-direction: column;
flex-grow: 0;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.home__block-image-block {
flex-direction: column;
border-radius: 0px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
background-image: url(https://mafiacc.site/images/d/df/Bg_03.png);
background-size: cover;
}
.home__block-image {
text-align: center;
padding-top: 20px;
}
.home__block-icon {
width: 96px;
height: 96px;
display: inline-block;
background-position: center center;
background-size: contain;
background-repeat: no-repeat;
}
.home__block-icon-1 {
background-image: url(https://mafiacc.site/images/d/dc/Block_01.png)
}
.home__block-icon-2 {
background-image: url(https://mafiacc.site/images/5/5f/Block_02.png)
}
.home__block-icon-3 {
background-image: url(https://mafiacc.site/images/0/00/Block_03.png)
}
.home__block-content {
flex-grow: 0;
flex-direction: column;
align-items: stretch
}
.home__block-content-inner {
border-radius: 0px;
background: none;
padding-left: 20px;
padding-top: 20px;
padding-right: 20px;
padding-bottom: 0px;
flex-grow: 0;
}
.home__block-content-title {
line-height: 1;
padding-bottom: 10px;
}
.home__block-content-inner pre {
font-family: 'Helvetica'!important;
padding: 0!important;
display: block!important;
}
.home__block-content-title .content p {
margin: 0!important;
}
@media (max-width: 768px) {
.home__blocks {
display:block;
padding-top: 10px;
}
.home__block-content-title {
padding-bottom: 10px;
}
.home__block {
width:100%;
}
.home__block-content-inner {
margin-bottom: 10px;
}
}
/* ==================================================== */
/* BACKGROUND */
/* ==================================================== */
#mw-mf-viewport, #content, .header-container, .mw-body {
background-size: cover !important;
background-repeat: no-repeat !important;
background-position: center center !important;
background-attachment: fixed !important;
}
@media (max-width: 994px) {
.harley {
display:none
}
}
/* ==================================================== */
/* ГЕРОЇ */
/* ==================================================== */
.mcc-heroes-list {
padding-top: 20px!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-hero-card {
position: relative;
display: block;
width: 100%;
border-radius: 0;
overflow: hidden;
background: #1a1a2e;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mcc-hero-card:hover {
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.mcc-hero-card .hero-image-wiki,
.mcc-hero-card .hero-image-wiki img,
.mcc-hero-card .mw-file-element,
.mcc-hero-card a.mw-file-description {
display: block;
width: 100%;
height: auto;
}
.mcc-hero-info {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 0px 12px 12px;
background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
color: #fff;
}
.mcc-hero-nickname {
font-weight: 700;
font-size: 1.1em;
}
.mcc-hero-nickname a,
.mcc-hero-nickname a:visited {
color: #fff !important;
text-decoration: none;
background: none !important;
padding-right: 0 !important;
}
.mcc-hero-nickname a:hover {
text-decoration: underline;
color: #fff !important;
}
.mcc-hero-nickname a.external,
.mcc-hero-nickname a.external:after,
.mcc-hero-nickname a.extiw,
.mcc-hero-nickname a.extiw:after {
background-image: none !important;
padding-right: 0 !important;
}
.mcc-hero-nickname a.external::after,
.mcc-hero-nickname a.extiw::after {
content: none !important;
display: none !important;
}
.mcc-hero-role {
color: #ffd700;
font-size: 0.85em;
font-weight: 600;
}
.mcc-hero-date {
font-size: 0.85em;
opacity: 0.7;
}
.mcc-champion-card {
box-shadow: 0 0 0 0.5px orange;
}
.mcc-champion-card:hover {
box-shadow: 0 0 0 1px #ffd700, 0 8px 24px rgba(0, 0, 0, 0.4);
}
@media (max-width: 768px) {
.mcc-heroes-list {
padding: 0;
gap: 12px;
}
.mcc-heroes-list li {
width: calc((100% - 12px) / 2);
}
.mcc-hero-info {
padding: 30px 8px 8px;
}
.mcc-hero-nickname {
font-size: 1em;
}
.mcc-hero-date {
font-size: 0.75em;
}
}
@media (max-width: 360px) {
.mcc-heroes-list {
padding: 0 12px;
gap: 8px;
}
.mcc-heroes-list li {
width: calc((100% - 8px) / 2);
}
.mcc-hero-nickname {
font-size: 0.9em;
}
}
/* ==================================================== */
/* КНОПКА ЗАПИСУ ГРИ */
/* ==================================================== */
.game-record-btn {
display: inline-block;
padding: 4px 8px;
background-color: #d02f2f;
color: white;
border-radius: 4px;
font-size: 13px;
cursor: pointer;
transition: opacity 0.2s;
}
.game-record-btn:hover {
opacity: 0.7;
}
.game-record-btn a {
color: white !important;
text-decoration: none !important;
}
/* ==================================================== */
/* НАВІГАЦІЯ - ГРАВЦІ, ТУРНІРИ, СЕРІЇ, ЧЕМПІОНАТИ */
/* ==================================================== */
.player-nav,
.tournament-nav,
.series-nav,
.championship-nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
margin-bottom: 10px;
font-size: 14px;
background-color: #18151e;
border-radius: 10px;
}
.player-nav-prev, .player-nav-next,
.tournament-nav-prev, .tournament-nav-next,
.series-nav-prev, .series-nav-next,
.championship-nav-prev, .championship-nav-next {
font-size: 20px;
font-weight: bold;
min-width: 30px;
text-align: center;
}
.player-nav-prev a, .player-nav-next a,
.tournament-nav-prev a, .tournament-nav-next a,
.series-nav-prev a, .series-nav-next a,
.championship-nav-prev a, .championship-nav-next a {
color: white !important;
text-decoration: none;
transition: opacity 0.2s;
}
.player-nav-prev a:hover, .player-nav-next a:hover,
.tournament-nav-prev a:hover, .tournament-nav-next a:hover,
.series-nav-prev a:hover, .series-nav-next a:hover,
.championship-nav-prev a:hover, .championship-nav-next a:hover {
opacity: 0.7;
}
.player-nav-name,
.tournament-nav-name,
.series-nav-name,
.championship-nav-name {
flex: 1;
text-align: center;
font-weight: bold;
color: white;
font-size: 16px;
}
/* ==================================================== */
/* L-BOX МЕНЮ */
/* ==================================================== */
.l-box {
position: fixed;
top: 100px !important;
left: 20px;
z-index: 100;
width: 220px;
background: none;
border-radius: 4px;
font-size: 13px;
max-height: calc(100vh - 100px) !important;
overflow-y: auto;
}
.l-box-item {
padding: 12px 20px;
border-bottom: 1px solid rgba(255,255,255,0.05);
border-left: 3px solid transparent;
color: #8ab4f8;
cursor: pointer;
transition: all 0.15s;
}
.l-box-item-last {
border-bottom: none;
}
.l-box-item:hover {
background: #373752;
border-left-color: #555;
color: #fff;
}
.l-box-item.active {
background: #373752;
border-left-color: #8ab4f8;
color: #fff;
}
@media (max-width: 1400px) {
.l-box {
display: none !important;
}
}
/* ==================================================== */
/* R-BOX ПАНЕЛІ */
/* ==================================================== */
.r-box, .tournament-box, .series-box {
top: 100px !important;
max-height: calc(100vh - 100px) !important;
}
@media (max-width: 1200px) {
.r-box, .tournament-box, .series-box {
position: static !important;
width: 100% !important;
max-width: none !important;
margin: 0 !important;
top: auto !important;
right: auto !important;
max-height: none !important;
overflow-y: visible !important;
}
}
/* ==================================================== */
/* PROFILE LINKS */
/* ==================================================== */
.profile-links {
margin-top: 20px;
padding-top: 15px;
border-top: 1px solid rgba(255,255,255,0.05);
padding-bottom: 10px;
}
.profile-links-title {
text-align: center;
font-size: 13px;
color: #888;
margin-bottom: 10px;
}
.profile-links-icons {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 10px;
}
.profile-icon {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 4px;
}
.profile-icon img {
display: block;
height: 24px;
width: auto;
}
/* ==================================================== */
/* TOC */
/* ==================================================== */
#toc, .toc {
display: none !important;
}
.r-box ~ * #toc,
.r-box ~ * .toc {
display: none !important;
}
/* ==================================================== */
/* КОНТЕНТ - MARGIN-LEFT ДЛЯ СТОРІНОК З МЕНЮ */
/* ==================================================== */
@media screen and (min-width: 1000px) {
.banner-container,
.minerva-anon-talk-message,
.page-header-bar,
.overlay-header,
.content,
.overlay-content,
.content-unstyled,
.pre-content,
.post-content,
#mw-content-text > form {
margin-left: 300px !important;
}
.page-Головна_сторінка .banner-container,
.page-Головна_сторінка .minerva-anon-talk-message,
.page-Головна_сторінка .page-header-bar,
.page-Головна_сторінка .overlay-header,
.page-Головна_сторінка .content,
.page-Головна_сторінка .overlay-content,
.page-Головна_сторінка .content-unstyled,
.page-Головна_сторінка .pre-content,
.page-Головна_сторінка .post-content,
.page-Головна_сторінка #mw-content-text > form {
margin-left: auto !important;
margin-right: auto !important;
max-width: 1200px !important;
padding-left: 20px !important;
padding-right: 20px !important;
}
}
/* ==================================================== */
/* МОБІЛЬНА ВЕРСІЯ HEADER */
/* ==================================================== */
@media (max-width: 767px) {
.minerva-header .branding-box a span {
font-size: 14px !important;
}
.minerva-header .branding-box a::before {
width: 28px !important;
height: 28px !important;
}
.minerva-header .minerva-search-form {
max-width: 200px !important;
}
.header-container.header-chrome {
padding: 0 12px !important;
}
}
@media (max-width: 480px) {
.minerva-header {
flex-wrap: wrap !important;
padding: 8px 0 !important;
}
.minerva-header .minerva-search-form {
order: 3 !important;
max-width: 100% !important;
width: 100% !important;
margin-top: 8px !important;
}
}
/* ==================================================== */
/* ФІКС ПОШУКУ - БЛОКУВАННЯ OVERLAY ТА СТРИБАННЯ */
/* ==================================================== */
/* Фіксуємо scroll */
html {
overflow-y: scroll !important;
scrollbar-gutter: stable !important;
}
/* Блокуємо зміни body при overlay */
body,
body.overlay-enabled,
body.search-enabled,
body[class*="overlay"],
body[class*="search"] {
overflow: auto !important;
position: static !important;
height: auto !important;
width: 100% !important;
top: auto !important;
left: auto !important;
}
/* Фіксуємо viewport */
#mw-mf-viewport,
#mw-mf-page-center {
transform: none !important;
transition: none !important;
position: static !important;
overflow: visible !important;
}
/* Блокуємо зміни при overlay */
.overlay-enabled #mw-mf-viewport,
.overlay-enabled #mw-mf-page-center,
.overlay-enabled .mw-body,
.overlay-enabled #content {
transform: none !important;
margin: 0 !important;
position: static !important;
}
/* Контент завжди має правильний padding-top */
.mw-body {
padding-top: 70px !important;
}
@media (max-width: 767px) {
.mw-body {
padding-top: 60px !important;
}
}
/* Ховаємо всі overlay елементи */
.overlay,
.search-overlay,
.overlay.search-overlay,
.overlay-header,
.overlay-content,
.mw-mf-page-center__mask {
display: none !important;
position: absolute !important;
left: -9999px !important;
visibility: hidden !important;
opacity: 0 !important;
pointer-events: none !important;
height: 0 !important;
width: 0 !important;
}
/* Поле пошуку - завжди активне */
#searchInput {
pointer-events: auto !important;
cursor: text !important;
-webkit-user-select: text !important;
user-select: text !important;
}
/* Вимикаємо тригер overlay */
.skin-minerva-search-trigger {
pointer-events: none !important;
}
/* Але input активний */
.minerva-header .search-box input.search {
pointer-events: auto !important;
cursor: text !important;
}