6202
редагування
Admin (обговорення | внесок) Немає опису редагування |
Admin (обговорення | внесок) Немає опису редагування Мітка: Ручний відкіт |
||
| (Не показані 34 проміжні версії цього користувача) | |||
| Рядок 23: | Рядок 23: | ||
.page-list li, .topic-title-list li, .site-link-list li { | .page-list li, .topic-title-list li, .site-link-list li { | ||
border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important; | border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important; | ||
} | |||
.overlay-header, | |||
.minerva-header { | |||
border-top: none !important; | |||
margin-top: 0 !important; | |||
} | } | ||
| Рядок 204: | Рядок 210: | ||
gap: 20px !important; | gap: 20px !important; | ||
margin-left: 0 !important; | margin-left: 0 !important; | ||
} | |||
.overlay-header, | |||
.minerva-header { | |||
border-top: none !important; | |||
margin-top: 0 !important; | |||
} | } | ||
| Рядок 293: | Рядок 305: | ||
} | } | ||
/* Ховаємо меню та user navigation */ | /* Ховаємо меню та user navigation */ | ||
| Рядок 456: | Рядок 464: | ||
.home__blocks { | .home__blocks { | ||
gap: 20px; | gap: 20px; | ||
align-items: stretch | align-items: stretch; | ||
margin-bottom: 20px; | |||
} | } | ||
| Рядок 476: | Рядок 485: | ||
flex-direction: column; | flex-direction: column; | ||
border-radius: 0px; | border-radius: 0px; | ||
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; | ||
| Рядок 933: | Рядок 941: | ||
.post-content, | .post-content, | ||
#mw-content-text > form { | #mw-content-text > form { | ||
margin-left: | margin-left: 280px !important; | ||
} | } | ||
| Рядок 958: | Рядок 966: | ||
/* ==================================================== */ | /* ==================================================== */ | ||
@media (max-width: | /* ==================================================== */ | ||
. | /* МОБІЛЬНА ВЕРСІЯ - АВАТАРКА ГРАВЦЯ */ | ||
/* ==================================================== */ | |||
@media (max-width: 768px) { | |||
/* Контейнер аватарки */ | |||
width: | .r-box figure { | ||
margin: 0 !important; | |||
width: 100% !important; | |||
overflow: hidden; | |||
} | } | ||
. | /* Обгортка посилання */ | ||
.r-box figure a.mw-file-description { | |||
display: block; | |||
width: 100%; | |||
aspect-ratio: 3 / 2; | |||
overflow: hidden; | |||
} | } | ||
/* Саме зображення */ | |||
.r-box figure .mw-file-element, | |||
.r-box figure img { | |||
. | |||
width: 100% !important; | width: 100% !important; | ||
height: 100% !important; | |||
object-fit: cover; | |||
object-position: center center; | |||
} | } | ||
} | } | ||
/* ==================================================== */ | /* ==================================================== */ | ||
/* ФІКС ПОШУКУ - БЛОКУВАННЯ OVERLAY | /* ФІКС ПОШУКУ - БЛОКУВАННЯ ТІЛЬКИ SEARCH OVERLAY */ | ||
/* ==================================================== */ | /* ==================================================== */ | ||
| Рядок 999: | Рядок 1004: | ||
overflow-y: scroll !important; | overflow-y: scroll !important; | ||
scrollbar-gutter: stable !important; | scrollbar-gutter: stable !important; | ||
} | } | ||
| Рядок 1045: | Рядок 1017: | ||
} | } | ||
/* Ховаємо | /* Ховаємо ТІЛЬКИ search overlay */ | ||
.overlay | .overlay.search-overlay { | ||
.search-overlay | |||
display: none !important; | display: none !important; | ||
visibility: hidden !important; | visibility: hidden !important; | ||
} | } | ||
| Рядок 1066: | Рядок 1027: | ||
pointer-events: auto !important; | pointer-events: auto !important; | ||
cursor: text !important; | cursor: text !important; | ||
} | } | ||
/* | /* Дозволяємо media overlay (галерея зображень) працювати */ | ||
. | .mw-mmv-overlay, | ||
.mw-mmv-image-wrapper, | |||
.mw-mmv-main, | |||
.overlay.media-overlay { | |||
display: block !important; | |||
visibility: visible !important; | |||
opacity: 1 !important; | |||
pointer-events: auto !important; | pointer-events: auto !important; | ||
position: fixed !important; | |||
left: 0 !important; | |||
height: auto !important; | |||
width: auto !important; | |||
} | } | ||
| Рядок 1209: | Рядок 1172: | ||
overflow-x: auto !important; | overflow-x: auto !important; | ||
} | } | ||
/* ==================================================== */ | /* ==================================================== */ | ||
| Рядок 1219: | Рядок 1180: | ||
display: flex; | display: flex; | ||
border-bottom: 2px solid #3a3a4a; | border-bottom: 2px solid #3a3a4a; | ||
margin-top: 20px; | |||
margin-bottom: 20px; | margin-bottom: 20px; | ||
gap: 0; | gap: 0; | ||
} | } | ||
| Рядок 1284: | Рядок 1245: | ||
} | } | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.player-tabs { | .player-tabs { | ||
margin-top: 16px; | |||
margin-bottom: 16px; | |||
} | } | ||
| Рядок 1299: | Рядок 1260: | ||
/* ==================================================== */ | /* ==================================================== */ | ||
/* МОБІЛЬНА ВЕРСІЯ - | /* МОБІЛЬНА ВЕРСІЯ - ПОШУК ТА КОМПАКТНИЙ ХЕДЕР */ | ||
/* ==================================================== */ | /* ==================================================== */ | ||
/* Кнопка пошуку */ | |||
.mobile-search-btn { | |||
display: none; | |||
align-items: center; | |||
justify-content: center; | |||
width: 36px; | |||
height: 36px; | |||
background: rgba(255, 255, 255, 0.1); | |||
border-radius: 8px; | |||
cursor: pointer; | |||
margin-left: auto; | |||
flex-shrink: 0; | |||
transition: background 0.2s; | |||
} | |||
.mobile-search-btn:hover { | |||
background: rgba(255, 255, 255, 0.2); | |||
} | |||
.mobile-search-btn svg { | |||
display: block; | |||
} | |||
/* Overlay пошуку */ | |||
.mobile-search-overlay { | |||
display: none; | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
z-index: 1001; | |||
background: rgba(21, 21, 31, 0.98); | |||
padding: 12px; | |||
align-items: flex-start; | |||
gap: 10px; | |||
} | |||
.mobile-search-overlay.active { | |||
display: flex; | |||
} | |||
.mobile-search-overlay input { | |||
flex: 1; | |||
padding: 14px 16px; | |||
font-size: 16px; | |||
border: 1px solid rgba(255, 255, 255, 0.15); | |||
border-radius: 10px; | |||
background: #23232c; | |||
color: white; | |||
outline: none; | |||
} | |||
.mobile-search-overlay input:focus { | |||
border-color: #a19ce0; | |||
} | |||
.mobile-search-overlay input::placeholder { | |||
color: rgba(255, 255, 255, 0.4); | |||
} | |||
.mobile-search-close { | |||
width: 44px; | |||
height: 44px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
font-size: 28px; | |||
color: #888; | |||
cursor: pointer; | |||
flex-shrink: 0; | |||
border-radius: 10px; | |||
background: rgba(255, 255, 255, 0.05); | |||
} | |||
.mobile-search-close:hover { | |||
color: white; | |||
background: rgba(255, 255, 255, 0.1); | |||
} | |||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
/* Показуємо кнопку пошуку */ | |||
.mobile-search-btn { | |||
display: flex; | |||
} | |||
.heading-holder { | |||
padding-top: 40px !important; | |||
} | |||
/* Ховаємо стандартну форму пошуку */ | |||
.minerva-header .minerva-search-form { | |||
display: none !important; | |||
} | |||
/* - | /* Ховаємо стандартну іконку */ | ||
.minerva-header #searchIcon { | |||
display: none !important; | |||
} | |||
/* Компактніший хедер */ | |||
.header-container.header-chrome { | .header-container.header-chrome { | ||
padding: | padding: 6px 12px !important; | ||
} | } | ||
.minerva-header { | .minerva-header { | ||
padding: 4px 0 !important; | |||
gap: 10px !important; | gap: 10px !important; | ||
} | } | ||
.minerva-header .branding-box a::before { | .minerva-header .branding-box a::before { | ||
width: | width: 28px !important; | ||
height: | height: 28px !important; | ||
} | } | ||
| Рядок 1325: | Рядок 1382: | ||
} | } | ||
.mw-body { | |||
padding-top: 52px !important; | |||
} | } | ||
} | |||
.minerva-header . | |||
@media (max-width: 720px) { | |||
.minerva-header .branding-box a span { | |||
display: none !important; | |||
} | } | ||
. | .content hr { | ||
background-color: #d8b283!important; | |||
height: 1px!important; | |||
border: 0!important; | |||
display: none!important; | |||
/* | |||
} | |||
} | |||
.content hr { | |||
background-color: #3a3a4a!important; | |||
height: 2px!important; | |||
border: 0!important; | |||
} | |||
.home__block-tournament-winner { | |||
border-bottom: 1px solid rgba(255, 255, 255, 0.1); | |||
padding: 15px 20px; | |||
background: rgba(24, 21, 30, 0.3); | |||
background: rgba(0,0,0,0.5); | |||
} | |||
.home__block-tournament-winner span:first-child { | |||
font-weight: 500; | |||
color: #fff; | |||
} | |||
/* ==================================================== */ | |||
/* БЛОКУВАННЯ SEARCH OVERLAY */ | |||
/* ==================================================== */ | |||
/* Фіксуємо scroll */ | |||
html { | |||
overflow-y: scroll !important; | |||
scrollbar-gutter: stable !important; | |||
} | |||
/* Блокуємо зміни body при search overlay */ | |||
body.overlay-enabled, | |||
body.search-enabled { | |||
overflow: auto !important; | |||
position: static !important; | |||
background-color: #15151f !important; | |||
} | |||
/* Ховаємо search overlay */ | |||
.overlay.search-overlay, | |||
.search-overlay { | |||
display: none !important; | |||
visibility: hidden !important; | |||
opacity: 0 !important; | |||
} | |||
/* Поле пошуку - завжди активне */ | |||
#searchInput { | |||
pointer-events: auto !important; | |||
cursor: text !important; | |||
} | |||
/* Контент - правильний padding-top */ | |||
.mw-body { | |||
padding-top: 70px !important; | |||
} | |||
@media (max-width: 767px) { | |||
.mw-body { | .mw-body { | ||
padding-top: 60px !important; | padding-top: 60px !important; | ||
} | } | ||
} | } | ||
/* | /* ==================================================== */ | ||
/* HEADER BANNER - LIQUIPEDIA STYLE */ | |||
. | /* ==================================================== */ | ||
.header-banner { | |||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
padding: 20px 30px; | |||
margin-bottom: 20px; | |||
background-image: url('/images/4/44/Searchbackground.png'); | |||
background-size: cover; | |||
background-position: center; | |||
border-radius: 8px; | |||
position: relative; | |||
min-height: 80px; | |||
} | |||
/* Затемнення для кращої читабельності */ | |||
.header-banner::before { | |||
content: ''; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%); | |||
border-radius: 8px; | |||
pointer-events: none; | |||
} | |||
/* Логотип зліва */ | |||
.header-banner__logo { | |||
position: relative; | |||
z-index: 1; | |||
display: flex; | |||
align-items: center; | |||
gap: 12px; | |||
} | |||
.header-banner__logo span[typeof="mw:File"], | |||
.header-banner__logo > span:first-child { | |||
display: flex; | |||
align-items: center; | |||
} | |||
.header-banner__logo > span:last-child { | |||
font-size: 24px; | |||
font-weight: 700; | |||
color: #fff !important; | |||
letter-spacing: 1px; | |||
text-shadow: 0 2px 4px rgba(0,0,0,0.5); | |||
white-space: nowrap; | |||
} | |||
.header-banner__logo a { | |||
display: flex; | |||
align-items: center; | |||
gap: 12px; | |||
text-decoration: none !important; | |||
} | |||
.header-banner__logo img { | |||
width: 50px; | |||
height: 50px; | |||
object-fit: contain; | |||
} | |||
.header-banner__logo span { | |||
font-size: 24px; | |||
font-weight: 700; | |||
color: #fff !important; | |||
letter-spacing: 1px; | |||
text-shadow: 0 2px 4px rgba(0,0,0,0.5); | |||
} | |||
/* Пошук справа */ | |||
.header-banner__search { | |||
position: relative; | |||
z-index: 1; | |||
display: flex; | |||
gap: 0; | |||
} | |||
.header-banner__search input { | |||
width: 360px; | |||
margin-right: 16px; | |||
padding: 12px 16px; | |||
font-size: 14px; | |||
border: none; | |||
border-radius: 6px; | |||
background: #fff; | |||
color: #333; | |||
outline: none; | |||
} | |||
.header-banner__search input::placeholder { | |||
color: #888; | |||
} | |||
.header-banner__search input:focus { | |||
box-shadow: 0 0 0 2px rgba(161, 156, 224, 0.5); | |||
} | |||
.header-banner__search button { | |||
padding: 12px 20px; | |||
font-size: 14px; | |||
font-weight: 600; | |||
border: none; | |||
border-radius: 6px; | |||
background: #3b82f6; | |||
color: #fff; | |||
cursor: pointer; | |||
transition: background 0.2s; | |||
} | |||
.header-banner__search button:hover { | |||
background: #2563eb; | |||
} | |||
/* Мобільна версія */ | |||
@media (max-width: 768px) { | |||
.header-banner { | |||
flex-direction: column; | |||
gap: 16px; | |||
padding: 20px; | |||
text-align: center; | |||
} | } | ||
. | .header-banner__logo span { | ||
font-size: 18px; | |||
} | } | ||
. | .header-banner__search { | ||
width: 100%; | |||
} | } | ||
. | .header-banner__search input { | ||
flex: 1; | |||
width: auto; | |||
} | } | ||
} | } | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
. | .header-banner__logo > span:last-child { | ||
font-size: | font-size: 16px; | ||
letter-spacing: 0.5px; | |||
} | } | ||
} | } | ||
@media (max-width: 480px) { | |||
.header-banner__logo > span:last-child { | |||
display: none; | |||
@media (max-width: | |||
. | |||
} | } | ||
} | } | ||