6369
редагувань
Admin (обговорення | внесок) Немає опису редагування |
Admin (обговорення | внесок) Немає опису редагування |
||
| Рядок 1: | Рядок 1: | ||
/** MediaWiki:Common.css — Mafia Closed Circle | /** MediaWiki:Common.css — Mafia Closed Circle | ||
ФІНАЛЬНА ВЕРСІЯ v3 — повністю замінює попередній файл | |||
Адаптує MediaWiki HTML під дизайн прототипу | |||
============================================================ */ | ============================================================ */ | ||
| Рядок 6: | Рядок 7: | ||
0. ШРИФТ | 0. ШРИФТ | ||
============================================================ */ | ============================================================ */ | ||
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap'); | ||
| Рядок 12: | Рядок 12: | ||
1. БАЗОВІ СТИЛІ | 1. БАЗОВІ СТИЛІ | ||
============================================================ */ | ============================================================ */ | ||
html { | |||
overflow-y: scroll !important; | |||
scrollbar-gutter: stable !important; | |||
} | |||
body { | body { | ||
| Рядок 22: | Рядок 26: | ||
font-family: 'Manrope', sans-serif !important; | font-family: 'Manrope', sans-serif !important; | ||
font-size: 15px !important; | font-size: 15px !important; | ||
color: #b7b4bf !important; | |||
} | } | ||
#mw-mf-viewport, | #mw-mf-viewport, | ||
#mw-mf-page-center, | #mw-mf-page-center, | ||
| Рядок 43: | Рядок 42: | ||
padding-bottom: 140px !important; | padding-bottom: 140px !important; | ||
font-family: 'Manrope', sans-serif !important; | font-family: 'Manrope', sans-serif !important; | ||
font-size: 15px !important; | |||
} | } | ||
@media (max-width: 767px) { | @media (max-width: 767px) { | ||
.overlay-enabled, .mw-body { | .overlay-enabled, .mw-body { padding-bottom: 80px !important; } | ||
} | } | ||
.mw-body { padding-top: 70px !important; } | |||
.mw-body { | @media (max-width: 767px) { .mw-body { padding-top: 60px !important; } } | ||
} | |||
@media (max-width: 767px) { | |||
} | |||
/* ============================================================ | /* ============================================================ | ||
2. ПОСИЛАННЯ | 2. ПОСИЛАННЯ | ||
============================================================ */ | ============================================================ */ | ||
a { color: #a19ce0 !important; } | a { color: #a19ce0 !important; } | ||
a:hover { color: # | a:hover { color: #c4bfff !important; text-decoration: underline !important; } | ||
a:visited { color: #a19ce0 !important; } | a:visited { color: #a19ce0 !important; } | ||
a.new { color: #ff7777 !important; } | a.new { color: #ff7777 !important; } | ||
| Рядок 76: | Рядок 65: | ||
3. ТИПОГРАФІКА | 3. ТИПОГРАФІКА | ||
============================================================ */ | ============================================================ */ | ||
b, strong { font-weight: 600 !important; color: #ebebeb !important; } | |||
/* Заголовки секцій — як у прототипі */ | |||
font-weight: | .content .mw-parser-output > h2, | ||
.content .section-heading { | |||
font-size: 18px !important; | |||
font-weight: 700 !important; | |||
color: #ebebeb !important; | color: #ebebeb !important; | ||
border-bottom: 1px solid #232b3a !important; | |||
padding-top: 0 !important; | |||
padding-bottom: 10px !important; | |||
margin-top: 48px !important; | |||
margin-bottom: 18px !important; | |||
scroll-margin-top: 80px !important; | |||
} | } | ||
| Рядок 92: | Рядок 91: | ||
} | } | ||
.mw-parser-output h2, .mw-parser-output .mw-headline { | |||
.mw-parser-output h2, | |||
.mw-parser-output .mw-headline { | |||
scroll-margin-top: 80px !important; | scroll-margin-top: 80px !important; | ||
} | } | ||
blockquote { | blockquote { | ||
border-left: 4px solid #e74c3c; | border-left: 4px solid #e74c3c !important; | ||
border-bottom: 1px solid rgba(231,76,60,0.2); | border-bottom: 1px solid rgba(231,76,60,0.2) !important; | ||
padding: 20px | padding: 16px 20px !important; | ||
font-family: | font-family: Georgia, serif !important; | ||
font-size: | font-size: 16px !important; | ||
font-style: italic; | font-style: italic !important; | ||
background: rgba(231,76,60,0.04); | background: rgba(231,76,60,0.04) !important; | ||
border-radius: 2px | border-radius: 2px 10px 10px 2px !important; | ||
color: #ebebeb !important; | |||
margin: 14px 0 !important; | |||
} | } | ||
@media (max-width: 720px) { | .content hr { background-color: #232b3a !important; height: 1px !important; border: 0 !important; } | ||
@media (max-width: 720px) { .content hr { display: none !important; } } | |||
} | |||
/* ============================================================ | /* ============================================================ | ||
4. HEADER | 4. HEADER | ||
============================================================ */ | ============================================================ */ | ||
.header-container.header-chrome { | .header-container.header-chrome { | ||
background-color: rgba( | background-color: rgba(22, 20, 30, 0.92) !important; | ||
backdrop-filter: blur(12px) !important; | backdrop-filter: blur(12px) !important; | ||
-webkit-backdrop-filter: blur(12px) !important; | -webkit-backdrop-filter: blur(12px) !important; | ||
box-shadow: 0 1px 0 rgba( | border-bottom: 1px solid rgba(255,255,255,0.06) !important; | ||
box-shadow: 0 1px 0 rgba(161,156,224,0.06) !important; | |||
position: fixed !important; | position: fixed !important; | ||
top: 0 !important; left: 0 !important; right: 0 !important; | top: 0 !important; left: 0 !important; right: 0 !important; | ||
z-index: 1000 !important; | z-index: 1000 !important; | ||
padding: 0 20px !important; | padding: 0 20px !important; | ||
} | } | ||
.minerva-header { | .minerva-header { | ||
display: flex !important; | display: flex !important; align-items: center !important; | ||
justify-content: space-between !important; | justify-content: space-between !important; | ||
width: 100% !important; | width: 100% !important; max-width: none !important; | ||
padding: 10px 0 !important; gap: 20px !important; margin-left: 0 !important; | |||
padding: 10px 0 !important; | |||
} | } | ||
.overlay-header, | .overlay-header, .minerva-header { border-top: none !important; margin-top: 0 !important; } | ||
.minerva-header { | |||
} | |||
.minerva-header .branding-box { | .minerva-header .branding-box { | ||
display: flex !important; | display: flex !important; align-items: center !important; | ||
gap: 12px !important; flex-shrink: 0 !important; | |||
gap: 12px !important; | |||
} | } | ||
.minerva-header .branding-box a { | .minerva-header .branding-box a { | ||
display: flex !important; | display: flex !important; align-items: center !important; | ||
gap: 12px !important; text-decoration: none !important; | |||
gap: 12px !important; | color: #b7b4bf !important; | ||
} | } | ||
.minerva-header .branding-box a::before { | .minerva-header .branding-box a::before { | ||
content: '' !important; | content: '' !important; display: block !important; | ||
width: 36px !important; height: 36px !important; | |||
width: | |||
background-image: url('/images/d/d7/MafiaClosedCircleLogo.png') !important; | background-image: url('/images/d/d7/MafiaClosedCircleLogo.png') !important; | ||
background-size: contain !important; | background-size: contain !important; background-repeat: no-repeat !important; | ||
background-position: center !important; flex-shrink: 0 !important; | |||
background-position: center !important; | |||
} | } | ||
.minerva-header .branding-box a span { | .minerva-header .branding-box a span { | ||
font-size: | font-size: 17px !important; font-weight: 600 !important; | ||
color: #fff !important; white-space: nowrap !important; | |||
color: #fff !important; | |||
font-family: 'Manrope', sans-serif !important; | font-family: 'Manrope', sans-serif !important; | ||
} | } | ||
.minerva-header .branding-box { opacity: 1 !important; } | .minerva-header .branding-box { opacity: 1 !important; } | ||
.minerva-header .minerva-search-form { | .minerva-header .minerva-search-form { | ||
flex-grow: 1 !important; | flex-grow: 1 !important; max-width: 380px !important; margin-left: auto !important; | ||
} | } | ||
| Рядок 217: | Рядок 170: | ||
.minerva-header .search-box .search { | .minerva-header .search-box .search { | ||
width: 100% !important; | width: 100% !important; | ||
padding: | padding: 8px 16px 8px 40px !important; | ||
border-radius: 8px !important; | border-radius: 8px !important; | ||
background-color: | background-color: rgba(24,21,30,0.8) !important; | ||
border: 1px solid rgba(255,255,255,0.10) !important; | border: 1px solid rgba(255,255,255,0.10) !important; | ||
font-family: 'Manrope', sans-serif !important; | font-family: 'Manrope', sans-serif !important; | ||
font-size: 14px !important; | font-size: 14px !important; | ||
color: #fff !important; | |||
transition: border-color .2s !important; | |||
} | } | ||
.minerva-header .search-box .search::placeholder { color: rgba(255,255,255,0.35) !important; } | .minerva-header .search-box .search::placeholder { color: rgba(255,255,255,0.35) !important; } | ||
.minerva-header .search-box .search:focus { border-color: #a19ce0 !important; outline: none !important; } | .minerva-header .search-box .search:focus { border-color: #a19ce0 !important; outline: none !important; } | ||
.search-box .search { | |||
background-color: rgba(24,21,30,0.8) !important; | |||
box-shadow: none !important; border: 1px solid #232b3a !important; color: white !important; | |||
} | |||
.minerva-header .search-box::before { | .minerva-header .search-box::before { | ||
content: '' !important; | content: '' !important; position: absolute !important; left: 12px !important; top: 50% !important; | ||
transform: translateY(-50%) !important; width: 16px !important; height: 16px !important; | |||
transform: translateY(-50%) !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-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-size: contain !important; background-repeat: no-repeat !important; | ||
z-index: 1 !important; pointer-events: none !important; | |||
z-index: 1 !important; | |||
} | } | ||
| Рядок 244: | Рядок 198: | ||
.minerva-header .navigation-drawer { display: none !important; } | .minerva-header .navigation-drawer { display: none !important; } | ||
.minerva-user-navigation { display: none !important; } | .minerva-user-navigation { display: none !important; } | ||
.minerva-footer { display: none !important; } | .minerva-footer { display: none !important; } | ||
.minerva__tab-container { display: none !important; } | .minerva__tab-container { display: none !important; } | ||
| Рядок 258: | Рядок 204: | ||
.image-details.is-visible { display: none !important; } | .image-details.is-visible { display: none !important; } | ||
#toc, .toc { display: none !important; } | #toc, .toc { display: none !important; } | ||
.content .mw-parser-output h1 .mw-editsection, | .content .mw-parser-output h1 .mw-editsection, | ||
.content .mw-parser-output h2 .mw-editsection, | .content .mw-parser-output h2 .mw-editsection, | ||
| Рядок 264: | Рядок 209: | ||
.content .mw-parser-output h4 .mw-editsection, | .content .mw-parser-output h4 .mw-editsection, | ||
.content .mw-parser-output h5 .mw-editsection, | .content .mw-parser-output h5 .mw-editsection, | ||
.content .mw-parser-output h6 .mw-editsection { | .content .mw-parser-output h6 .mw-editsection { visibility: hidden !important; display: none !important; } | ||
.page-Main_Page .mw-first-heading, .page-Головна_сторінка .mw-first-heading { display: none !important; } | |||
.page-Main_Page #page-secondary-actions a, .page-Головна_сторінка #page-secondary-actions a { display: none !important; } | |||
} | .minerva-icon--menu-base20, .minerva-icon--menu { filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%); } | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.mobile-search-btn { display: flex; } | .mobile-search-btn { display: flex; } | ||
| Рядок 288: | Рядок 226: | ||
} | } | ||
@media (max-width: 720px) { | @media (max-width: 720px) { .minerva-header .branding-box a span { display: none !important; } } | ||
} | |||
/* ============================================================ | /* ============================================================ | ||
5. ПОШУК — блокування overlay | 5. ПОШУК — блокування overlay | ||
============================================================ */ | ============================================================ */ | ||
.overlay.search-overlay, .search-overlay { | |||
.overlay.search-overlay, | display: none !important; visibility: hidden !important; opacity: 0 !important; | ||
.search-overlay { | |||
display: none !important; | |||
} | } | ||
body.overlay-enabled, body.search-enabled { | |||
body.overlay-enabled, | overflow: auto !important; position: static !important; background-color: #15151f !important; | ||
body.search-enabled { | |||
overflow: auto !important; | |||
} | } | ||
#searchInput { pointer-events: auto !important; cursor: text !important; } | #searchInput { pointer-events: auto !important; cursor: text !important; } | ||
.overlay.search-overlay .search-content { | .overlay.search-overlay .search-content { | ||
background-color: #18151e; | background-color: #18151e; border-bottom: 1px solid rgba(255,255,255,0.07) !important; color: #a19ce0 !important; | ||
} | } | ||
.overlay.search-overlay .results, .overlay.search-overlay .search-feedback { | |||
background-color: #18151e !important; color: white !important; box-shadow: none !important; | |||
.overlay.search-overlay .results, | |||
.overlay.search-overlay .search-feedback { | |||
background-color: #18151e !important; | |||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
6. | 6. LAYOUT — контент відступ від l-box | ||
============================================================ */ | ============================================================ */ | ||
@media screen and (min-width: 1000px) { | @media screen and (min-width: 1000px) { | ||
.banner-container, | .banner-container, .minerva-anon-talk-message, .page-header-bar, | ||
.overlay-header, .content, .overlay-content, .content-unstyled, | |||
.pre-content, .post-content, #mw-content-text > form { | |||
.overlay-header, | margin-left: 260px !important; | ||
/* Права панель — відступ щоб не перекривала */ | |||
margin-right: 320px !important; | |||
.pre-content, | |||
margin-left: | |||
} | } | ||
.page-Головна_сторінка .banner-container, | .page-Головна_сторінка .banner-container, | ||
.page-Головна_сторінка .content, | .page-Головна_сторінка .content, | ||
.page-Головна_сторінка .pre-content, | .page-Головна_сторінка .pre-content, | ||
.page-Головна_сторінка .post-content | .page-Головна_сторінка .post-content { | ||
margin-left: auto !important; margin-right: auto !important; | |||
margin-left: auto !important; | |||
max-width: 1200px !important; | max-width: 1200px !important; | ||
padding-left: 20px !important; | padding-left: 20px !important; padding-right: 20px !important; | ||
} | } | ||
/* Сторінки | /* Сторінки без r-box — прибираємо правий відступ */ | ||
.page-Ігри .content, | .page-Ігри .content, .page-Статистика .content, .page-Гравці .content, | ||
.page-Фундація .content, .page-Призовий_фонд .content, | |||
.page-Призові .content, .page-Фіналіст .content, | |||
.page-Фундація .content, | .page-Титули .content, .page-Період .content, | ||
.page-Призові .content, | |||
.page-Титули .content, | |||
.page-Перша_статистика .content { | .page-Перша_статистика .content { | ||
margin-left: 16px !important; | margin-left: 16px !important; margin-right: 16px !important; | ||
width: calc(100% - 32px) !important; max-width: none !important; | |||
width: calc(100% - 32px) !important; | |||
} | } | ||
} | } | ||
/* Media overlay | /* Media overlay */ | ||
.mw-mmv-overlay, | .mw-mmv-overlay, .mw-mmv-image-wrapper, .mw-mmv-main, .overlay.media-overlay { | ||
.mw-mmv-image-wrapper, | display: block !important; visibility: visible !important; opacity: 1 !important; | ||
.mw-mmv-main, | pointer-events: auto !important; position: fixed !important; left: 0 !important; | ||
.overlay.media-overlay { | } | ||
display: block !important; | |||
/* ============================================================ | |||
7. L-BOX — БІЧНЕ МЕНЮ (прикріплене зліва) | |||
pointer-events: auto !important; | ============================================================ */ | ||
.l-box { | |||
position: fixed !important; | position: fixed !important; | ||
top: 0 !important; | |||
left: 0 !important; | left: 0 !important; | ||
bottom: 0 !important; | |||
width: 240px !important; | |||
background: rgba(15,14,22,0.88) !important; | |||
backdrop-filter: blur(10px) !important; | |||
-webkit-backdrop-filter: blur(10px) !important; | |||
border-right: 1px solid rgba(255,255,255,0.07) !important; | |||
padding-top: 80px !important; | |||
font-size: 13.5px !important; | |||
z-index: 100 !important; | |||
overflow-y: auto !important; | |||
max-height: none !important; | |||
border-radius: 0 !important; | |||
} | |||
.l-box-item { | |||
display: flex !important; | |||
align-items: center !important; | |||
padding: 10px 20px !important; | |||
border-left: 3px solid transparent !important; | |||
border-bottom: 1px solid rgba(255,255,255,0.04) !important; | |||
color: #8ab4f8 !important; | |||
cursor: pointer !important; | |||
transition: all 0.14s !important; | |||
font-family: 'Manrope', sans-serif !important; | |||
font-size: 13.5px !important; | |||
font-weight: 500 !important; | |||
user-select: none !important; | |||
} | } | ||
.l-box-item span:first-child { flex: 1 !important; } | |||
.l-box-item:hover { | |||
background: rgba(55,55,82,0.8) !important; | |||
border-left-color: rgba(138,180,248,0.4) !important; | |||
color: #ffffff !important; | |||
} | |||
.l-box-item.active { | |||
background: rgba(55,55,82,0.9) !important; | |||
border-left-color: #8ab4f8 !important; | |||
color: #ffffff !important; | |||
font-weight: 600 !important; | |||
} | |||
.l-box-item-last { border-bottom: none !important; } | |||
/* Badge */ | |||
.mcc-badge { | |||
background: rgba(210,130,60,0.18) !important; | |||
border-radius: 20px !important; | |||
padding: 1px 7px !important; | |||
font-size: 10.5px !important; | |||
color: #d4895a !important; | |||
font-weight: 700 !important; | |||
flex-shrink: 0 !important; | |||
margin-left: 6px !important; | |||
} | |||
@media (max-width: 1400px) { .l-box { display: none !important; } } | |||
/* ============================================================ | /* ============================================================ | ||
8. R-BOX — ПРАВА ПАНЕЛЬ (прикріплена праворуч) | |||
============================================================ */ | ============================================================ */ | ||
.r-box, | |||
.tournament-box, | |||
.series-box { | |||
position: fixed !important; | |||
top: 0 !important; | |||
right: 0 !important; | |||
bottom: 0 !important; | |||
width: 300px !important; | |||
max-height: none !important; | |||
overflow-y: auto !important; | |||
box-sizing: border-box !important; | |||
padding: 0 !important; | |||
. | background: rgba(15,14,22,0.88) !important; | ||
backdrop-filter: blur(10px) !important; | |||
-webkit-backdrop-filter: blur(10px) !important; | |||
border-left: 1px solid rgba(255,255,255,0.07) !important; | |||
border-radius: 0 !important; | |||
z-index: 100 !important; | |||
} | |||
/* Фото у r-box */ | |||
.r-box figure, | |||
.tournament-box figure, | |||
.series-box figure { margin: 0 !important; display: block !important; } | |||
.r-box figure img, | |||
.tournament-box figure img, | |||
.series-box figure img { | |||
width: 100% !important; | |||
height: 200px !important; | |||
object-fit: cover !important; | |||
object-position: top center !important; | |||
display: block !important; | |||
border-radius: 0 !important; | |||
} | |||
/* Champion banner */ | |||
.rp-champion { | |||
border: 1px solid rgba(255,215,0,0.20) !important; | |||
border-radius: 6px !important; | |||
background: rgba(255,215,0,0.06) !important; | |||
padding: 12px 14px !important; | |||
text-align: center !important; | |||
margin: 12px !important; | |||
} | |||
.rp-ch-lbl { | |||
font-size: 9.5px !important; font-weight: 700 !important; | |||
letter-spacing: .13em !important; text-transform: uppercase !important; | |||
color: #c8a840 !important; opacity: .8 !important; margin-bottom: 3px !important; | |||
font-family: 'Manrope', sans-serif !important; | |||
} | |||
.rp-ch-name { | |||
font-size: 18px !important; font-weight: 800 !important; | |||
color: #ffd700 !important; font-family: 'Manrope', sans-serif !important; | |||
} | |||
/* Info таблиця */ | |||
.r-box-info-table { | |||
width: 100% !important; border-collapse: collapse !important; | |||
margin: 0 !important; background: none !important; text-align: left !important; | |||
} | |||
.r-box-info-table tr { border-bottom: 1px solid rgba(255,255,255,0.05) !important; } | |||
.r-box-info-table tr:last-child { border-bottom: none !important; } | |||
/* ВАЖЛИВО: без анімації в info таблиці */ | |||
.r-box-info-table tr, | |||
.r-box table tr, | |||
.tournament-box table tr { animation: none !important; } | |||
.r-box-info-table th, | |||
.r-box-info-table td, | |||
.r-box table th, | |||
.r-box table td, | |||
.tournament-box table th, | |||
.tournament-box table td { | |||
padding: 9px 14px !important; | |||
font-size: 12.5px !important; | |||
font-family: 'Manrope', sans-serif !important; | |||
background: none !important; | |||
border: none !important; | border: none !important; | ||
border-bottom: 1px solid rgba(255,255,255,0.05) !important; | |||
text-align: left !important; | |||
animation: none !important; | |||
} | |||
.r-box-info-table th, | |||
.r-box table th, | |||
.tournament-box table th { | |||
font-weight: 500 !important; | |||
color: #b7b4bf !important; | |||
opacity: .55 !important; | |||
text-transform: none !important; | |||
letter-spacing: 0 !important; | |||
width: 55% !important; | |||
white-space: nowrap !important; | |||
} | |||
.r-box-info-table td, | |||
.r-box table td, | |||
.tournament-box table td { | |||
text-align: right !important; | |||
color: #ebebeb !important; | |||
font-weight: 600 !important; | |||
width: 45% !important; | |||
word-break: break-word !important; | |||
} | |||
.r-box-gold { color: #c8a840 !important; } | |||
/* Навігація (стрілки) */ | |||
.tournament-nav, .series-nav, .player-nav, .championship-nav { | |||
display: flex !important; justify-content: space-between !important; | |||
align-items: center !important; | |||
padding: 14px 16px !important; | |||
margin: 0 !important; | |||
font-family: 'Manrope', sans-serif !important; | |||
background: rgba(12,11,18,0.9) !important; | |||
border-bottom: 1px solid rgba(255,255,255,0.07) !important; | |||
border-radius: 0 !important; | |||
font-size: 14px !important; | |||
} | |||
.tournament-nav-prev, .tournament-nav-next, | |||
.series-nav-prev, .series-nav-next, | |||
.player-nav-prev, .player-nav-next, | |||
.championship-nav-prev, .championship-nav-next { | |||
font-size: 18px !important; font-weight: bold !important; | |||
min-width: 28px !important; text-align: center !important; | |||
} | |||
.tournament-nav-prev a, .tournament-nav-next a, | |||
.series-nav-prev a, .series-nav-next a, | |||
.player-nav-prev a, .player-nav-next a, | |||
.championship-nav-prev a, .championship-nav-next a { | |||
color: rgba(255,255,255,0.55) !important; | |||
text-decoration: none !important; transition: color 0.15s !important; | |||
} | |||
.tournament-nav-prev a:hover, .tournament-nav-next a:hover, | |||
.series-nav-prev a:hover, .series-nav-next a:hover, | |||
.player-nav-prev a:hover, .player-nav-next a:hover, | |||
.championship-nav-prev a:hover, .championship-nav-next a:hover { | |||
color: #fff !important; | |||
} | |||
.tournament-nav-name, .series-nav-name, .player-nav-name, .championship-nav-name { | |||
flex: 1 !important; text-align: center !important; font-weight: 700 !important; | |||
color: white !important; font-size: 15px !important; | |||
font-family: 'Manrope', sans-serif !important; | |||
} | |||
/* R-box мобільна — статична */ | |||
@media (max-width: 1200px) { | |||
.r-box, .tournament-box, .series-box { | |||
position: static !important; | |||
width: 100% !important; max-width: none !important; | |||
margin: 0 0 20px 0 !important; | |||
border-left: none !important; | |||
border: 1px solid rgba(255,255,255,0.07) !important; | |||
border-radius: 8px !important; | |||
overflow: hidden !important; | |||
} | |||
} | |||
/* R-box мобільна — фото */ | |||
@media (max-width: 768px) { | |||
.r-box figure a.mw-file-description { display: block; width: 100%; } | |||
.r-box figure .mw-file-element, .r-box figure img { | |||
width: 100% !important; height: auto !important; | |||
max-height: 220px !important; | |||
object-fit: cover !important; object-position: top center !important; | |||
} | |||
} | |||
/* ============================================================ | |||
9. WIKITABLE — ОСНОВНІ СТИЛІ | |||
============================================================ */ | |||
/* Обгортка таблиці — border + rounded corners */ | |||
.content .mw-parser-output .wikitable { | |||
border: none !important; | |||
border-radius: 8px !important; | |||
border-collapse: separate !important; | border-collapse: separate !important; | ||
border-spacing: 0 !important; | border-spacing: 0 !important; | ||
width: 100%; | width: 100% !important; | ||
background | background: rgba(20,18,28,0.6) !important; | ||
overflow: hidden !important; | |||
font-family: 'Manrope', sans-serif !important; | font-family: 'Manrope', sans-serif !important; | ||
box-shadow: 0 1px 0 rgba(255,255,255,0.04) !important; | |||
} | } | ||
/* Заголовки */ | /* Заголовки */ | ||
.content .mw-parser-output .wikitable > thead > tr > th, | .content .mw-parser-output .wikitable > thead > tr > th, | ||
.content .mw-parser-output .wikitable > * > tr:first-child > th { | .content .mw-parser-output .wikitable > * > tr:first-child > th, | ||
background-color: rgba( | .content .mw-parser-output .wikitable > tr:first-child > th { | ||
color: # | background-color: rgba(18,16,26,0.92) !important; | ||
color: #c8c5d0 !important; | |||
font-family: 'Manrope', sans-serif !important; | font-family: 'Manrope', sans-serif !important; | ||
font-size: | font-size: 11px !important; | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||
letter-spacing: . | letter-spacing: .09em !important; | ||
text-transform: uppercase !important; | text-transform: uppercase !important; | ||
padding: 11px 14px !important; | padding: 11px 14px !important; | ||
border: none !important; | border: none !important; | ||
border-bottom: 2px solid rgba(161,156,224,0. | border-bottom: 2px solid rgba(161,156,224,0.20) !important; | ||
white-space: nowrap !important; | white-space: nowrap !important; | ||
text-align: center !important; | |||
} | } | ||
| Рядок 432: | Рядок 569: | ||
.content .mw-parser-output .wikitable > tbody > tr:nth-child(odd) > td, | .content .mw-parser-output .wikitable > tbody > tr:nth-child(odd) > td, | ||
.content .mw-parser-output .wikitable > * > tr:nth-child(odd) > td { | .content .mw-parser-output .wikitable > * > tr:nth-child(odd) > td { | ||
background-color: rgba(24,21,30,0. | background-color: rgba(24,21,30,0.30) !important; | ||
} | } | ||
| Рядок 438: | Рядок 575: | ||
.content .mw-parser-output .wikitable > tbody > tr:nth-child(even) > td, | .content .mw-parser-output .wikitable > tbody > tr:nth-child(even) > td, | ||
.content .mw-parser-output .wikitable > * > tr:nth-child(even) > td { | .content .mw-parser-output .wikitable > * > tr:nth-child(even) > td { | ||
background-color: rgba(24,21,30,0. | background-color: rgba(24,21,30,0.52) !important; | ||
} | } | ||
/* Всі td */ | /* Всі td */ | ||
.content .mw-parser-output .wikitable > tbody > tr > td, | .content .mw-parser-output .wikitable > tbody > tr > td, | ||
.content .mw-parser-output .wikitable > * > tr > td { | .content .mw-parser-output .wikitable > * > tr > td, | ||
.content .mw-parser-output .wikitable > tr > td { | |||
border: none !important; | border: none !important; | ||
border-bottom: 1px solid rgba(255,255,255,0. | border-bottom: 1px solid rgba(255,255,255,0.04) !important; | ||
padding: 10px 14px !important; | padding: 10px 14px !important; | ||
font-family: 'Manrope', sans-serif !important; | font-family: 'Manrope', sans-serif !important; | ||
| Рядок 451: | Рядок 589: | ||
color: #b7b4bf !important; | color: #b7b4bf !important; | ||
vertical-align: middle !important; | vertical-align: middle !important; | ||
text-align: center !important; | |||
} | } | ||
/* Hover */ | /* Hover рядка */ | ||
.content .mw-parser-output .wikitable > tbody > tr:hover > td, | .content .mw-parser-output .wikitable > tbody > tr:hover > td, | ||
.content .mw-parser-output .wikitable > * > tr:hover > td { | .content .mw-parser-output .wikitable > * > tr:hover > td { | ||
| Рядок 460: | Рядок 599: | ||
} | } | ||
/* | /* Останній рядок — без бордера */ | ||
.content .mw-parser-output .wikitable > tbody > tr:last-child > td, | .content .mw-parser-output .wikitable > tbody > tr:last-child > td, | ||
.content .mw-parser-output .wikitable > * > tr:last-child > td { | .content .mw-parser-output .wikitable > * > tr:last-child > td { | ||
border-bottom: none !important; | border-bottom: none !important; | ||
} | } | ||
| Рядок 480: | Рядок 610: | ||
font-weight: 500 !important; | font-weight: 500 !important; | ||
} | } | ||
.content .mw-parser-output .wikitable td a:hover { | .content .mw-parser-output .wikitable td a:hover { | ||
color: #c4bfff !important; | color: #c4bfff !important; text-decoration: underline !important; | ||
} | } | ||
/* External links | /* External links без іконки */ | ||
.wikitable .external { background: none !important; padding-right: 0 !important; } | .wikitable .external { background: none !important; padding-right: 0 !important; } | ||
.wikitable a.external::after { content: '' !important; display: none !important; } | .wikitable a.external::after { content: '' !important; display: none !important; } | ||
/* Вертикальне вирівнювання */ | |||
.content .mw-parser-output .wikitable td { vertical-align: middle !important; } | |||
/* ============================================================ | /* ============================================================ | ||
10. СОРТУВАННЯ | |||
============================================================ */ | ============================================================ */ | ||
.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 { | ||
background-color: rgba( | background-color: rgba(18,16,26,0.92) !important; | ||
color: # | color: #c8c5d0 !important; | ||
font-family: 'Manrope', sans-serif !important; | font-family: 'Manrope', sans-serif !important; | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||
font-size: | font-size: 11px !important; | ||
letter-spacing: . | letter-spacing: .09em !important; | ||
text-transform: uppercase !important; | text-transform: uppercase !important; | ||
padding: 11px 14px !important; | padding: 11px 14px !important; | ||
| Рядок 510: | Рядок 640: | ||
user-select: none !important; | user-select: none !important; | ||
white-space: nowrap !important; | white-space: nowrap !important; | ||
border-bottom: 2px solid rgba(161,156,224,0. | border-bottom: 2px solid rgba(161,156,224,0.20) !important; | ||
text-align: center !important; | |||
} | } | ||
.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 { | ||
content: "⇅" !important; | content: "⇅" !important; | ||
position: absolute !important; | position: absolute !important; | ||
right: 7px !important; | right: 7px !important; top: 50% !important; | ||
transform: translateY(-50%) !important; | transform: translateY(-50%) !important; | ||
font-size: 11px !important; | font-size: 11px !important; | ||
| Рядок 527: | Рядок 656: | ||
.jquery-tablesorter th.headerSortUp::after { | .jquery-tablesorter th.headerSortUp::after { | ||
content: "▲" !important; | content: "▲" !important; color: #a19ce0 !important; font-size: 11px !important; | ||
} | } | ||
.jquery-tablesorter th.headerSortDown::after { | .jquery-tablesorter th.headerSortDown::after { | ||
content: "▼" !important; | content: "▼" !important; color: #a19ce0 !important; font-size: 11px !important; | ||
} | } | ||
.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 { | ||
background-color: rgba(25,87,255,0. | background-color: rgba(25,87,255,0.25) !important; | ||
transition: background-color 0.15s ease !important; | transition: background-color 0.15s ease !important; | ||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
11. АНІМАЦІЯ РЯДКІВ | |||
============================================================ */ | ============================================================ */ | ||
.wikitable tbody tr { | .wikitable tbody tr { | ||
animation: mcc-row-in 0. | animation: mcc-row-in 0.28s ease both; | ||
} | } | ||
.wikitable tbody tr:nth-child(1) { animation-delay: 0.03s; } | .wikitable tbody tr:nth-child(1) { animation-delay: 0.03s; } | ||
.wikitable tbody tr:nth-child(2) { animation-delay: 0.06s; } | .wikitable tbody tr:nth-child(2) { animation-delay: 0.06s; } | ||
| Рядок 565: | Рядок 686: | ||
.wikitable tbody tr:nth-child(n+11) { animation-delay: 0.33s; } | .wikitable tbody tr:nth-child(n+11) { animation-delay: 0.33s; } | ||
/* Анімація після сортування */ | |||
.wikitable.mcc-sorted tbody tr { animation: mcc-row-in 0.22s ease both; } | |||
/* | |||
.wikitable.mcc-sorted | |||
.wikitable.mcc-sorted tbody tr:nth-child(1) { animation-delay: 0.02s; } | .wikitable.mcc-sorted tbody tr:nth-child(1) { animation-delay: 0.02s; } | ||
.wikitable.mcc-sorted tbody tr:nth-child(2) { animation-delay: 0.04s; } | .wikitable.mcc-sorted tbody tr:nth-child(2) { animation-delay: 0.04s; } | ||
| Рядок 578: | Рядок 693: | ||
.wikitable.mcc-sorted tbody tr:nth-child(4) { animation-delay: 0.08s; } | .wikitable.mcc-sorted tbody tr:nth-child(4) { animation-delay: 0.08s; } | ||
.wikitable.mcc-sorted tbody tr:nth-child(5) { animation-delay: 0.10s; } | .wikitable.mcc-sorted tbody tr:nth-child(5) { animation-delay: 0.10s; } | ||
.wikitable.mcc-sorted tbody tr:nth-child(6) | .wikitable.mcc-sorted tbody tr:nth-child(n+6) { animation-delay: 0.12s; } | ||
.wikitable.mcc- | .wikitable.mcc-sorting tbody tr { animation: none; } | ||
@keyframes mcc-row-in { | |||
.wikitable. | from { opacity: 0; transform: translateX(-4px); } | ||
to { opacity: 1; transform: translateX(0); } | |||
} | |||
/* R-box таблиці — без анімації */ | |||
.r-box .wikitable tbody tr, | |||
.tournament-box .wikitable tbody tr, | |||
.r-box-info-table tr { animation: none !important; } | |||
/* ============================================================ | /* ============================================================ | ||
12. ГОРИЗОНТАЛЬНИЙ СКРОЛ — широкі таблиці | |||
============================================================ */ | ============================================================ */ | ||
/* | /* CSS-only scroll для таблиць з класом */ | ||
.content .mw-parser-output .wikitable.wide-table, | |||
.content .mw-parser-output .wikitable.full-width, | |||
.content .mw-parser-output .wikitable.mcc-wide { | |||
display: block !important; | |||
overflow-x: auto !important; | |||
-webkit-overflow-scrolling: touch !important; | |||
} | |||
/* JS-обгортка */ | |||
.mcc-scroll-outer { | .mcc-scroll-outer { | ||
position: relative; | position: relative; | ||
border-radius: 8px; | |||
overflow: hidden; | |||
border: 1px solid rgba(255,255,255,0.07); | |||
} | } | ||
.mcc-scroll-outer::after { | .mcc-scroll-outer::after { | ||
content: ''; | content: ''; | ||
position: absolute; | position: absolute; right: 0; top: 0; bottom: 0; width: 36px; | ||
background: linear-gradient(to right, transparent, rgba(15,14,22,0.88)); | |||
pointer-events: none; transition: opacity 0.25s; | |||
background: linear-gradient(to right, transparent, rgba( | |||
pointer-events: none; | |||
} | } | ||
| Рядок 614: | Рядок 743: | ||
.mcc-wide-table { min-width: 860px; } | .mcc-wide-table { min-width: 860px; } | ||
/* Сторінки | /* Сторінки зі спеціальними широкими таблицями */ | ||
.page-Ігри .mw-parser-output, | .page-Ігри .mw-parser-output, | ||
.page-Статистика .mw-parser-output, | .page-Статистика .mw-parser-output, | ||
| Рядок 626: | Рядок 755: | ||
.page-Перша_статистика .mw-parser-output { | .page-Перша_статистика .mw-parser-output { | ||
overflow-x: auto !important; | overflow-x: auto !important; | ||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
13. ВІНРЕЙТ — кольорові класи | |||
============================================================ */ | ============================================================ */ | ||
.wikitable td.wr-hi { color: #5aaa80 !important; font-weight: 600 !important; } | |||
.wr-hi { color: #5aaa80 !important; } | .wikitable td.wr-lo { color: #c06070 !important; font-weight: 600 !important; } | ||
.wr-lo { color: #c06070 !important; } | |||
/* ============================================================ | /* ============================================================ | ||
14. PLAYER TABS | |||
============================================================ */ | ============================================================ */ | ||
.player-tabs { | |||
. | display: flex !important; | ||
border-bottom: 2px solid rgba(255,255,255,0.08) !important; | |||
margin-top: 20px !important; | |||
margin-bottom: 24px !important; | |||
gap: 0 !important; | |||
} | } | ||
. | .player-tab { | ||
padding: 12px 24px !important; | |||
padding: | |||
cursor: pointer !important; | cursor: pointer !important; | ||
color: rgba(255,255,255,0.35) !important; | |||
font-size: 14.5px !important; | |||
font-size: | |||
font-weight: 500 !important; | font-weight: 500 !important; | ||
font-family: 'Manrope', sans-serif !important; | font-family: 'Manrope', sans-serif !important; | ||
border-bottom: 2px solid transparent !important; | |||
margin-bottom: -2px !important; | |||
border- | transition: color 0.18s, border-color 0.18s !important; | ||
user-select: none !important; | |||
background: transparent !important; | |||
} | } | ||
.player-tab:hover { | |||
color: rgba(255,255,255,0.7) !important; | |||
background: transparent !important; | |||
.player- | |||
color: rgba(255,255,255,0. | |||
} | } | ||
.player-tab.active { | .player-tab.active { | ||
color: # | color: #ffffff !important; | ||
border-bottom-color: #a19ce0 !important; | border-bottom-color: #a19ce0 !important; | ||
background: transparent !important; | background: transparent !important; | ||
} | } | ||
.player-tab-content { display: none; } | .player-tab-content { display: none !important; } | ||
.player-tab-content.active { | .player-tab-content.active { | ||
display: block; | display: block !important; | ||
animation: mcc-fade-in 0. | animation: mcc-fade-in 0.25s ease both !important; | ||
} | } | ||
@keyframes mcc-fade-in { | @keyframes mcc-fade-in { | ||
from { opacity: 0; transform: translateY( | from { opacity: 0; transform: translateY(6px); } | ||
to { opacity: 1; transform: translateY(0); } | to { opacity: 1; transform: translateY(0); } | ||
} | } | ||
.tab-loader { | .tab-loader { | ||
text-align: center; | text-align: center; padding: 40px; | ||
color: #888; font-size: 14px; font-family: 'Manrope', sans-serif; | |||
color: #888; | |||
} | } | ||
.tab-loader::before { | .tab-loader::before { | ||
content: ''; | content: ''; display: block; width: 28px; height: 28px; | ||
margin: 0 auto 16px; | margin: 0 auto 16px; | ||
border: 2px solid rgba(161,156,224,0.2); | border: 2px solid rgba(161,156,224,0.2); | ||
border-top-color: #a19ce0; | border-top-color: #a19ce0; border-radius: 50%; | ||
animation: mcc-spin 0.8s linear infinite; | animation: mcc-spin 0.8s linear infinite; | ||
} | } | ||
| Рядок 984: | Рядок 826: | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.player-tabs { margin-top: 16px; margin-bottom: 16px; } | .player-tabs { margin-top: 16px !important; margin-bottom: 16px !important; } | ||
.player-tab { padding: 10px 16px; font-size: 13px; flex: 1; text-align: center; } | .player-tab { padding: 10px 16px !important; font-size: 13px !important; flex: 1 !important; text-align: center !important; } | ||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
15. | 15. КНОПКА ЗАПИСУ ГРИ — роль-пілюлі | ||
============================================================ */ | ============================================================ */ | ||
.game-record-btn { | |||
. | display: inline-block !important; | ||
display: | padding: 3px 10px !important; | ||
background-color: rgba(180,40,40,0.18) !important; | |||
color: #e08080 !important; | |||
border-radius: 4px !important; | |||
font-size: 12px !important; | |||
font-family: 'Manrope', sans-serif !important; | |||
cursor: pointer !important; | |||
transition: background-color 0.15s !important; | |||
border: 1px solid rgba(200,70,70,0.25) !important; | |||
} | } | ||
. | .game-record-btn:hover { | ||
background-color: rgba(180,40,40,0.35) !important; opacity: 1 !important; | |||
background | |||
} | } | ||
. | .game-record-btn a { color: #e08080 !important; text-decoration: none !important; } | ||
} | |||
. | /* Ролі в таблиці ігор (FetchData генерує inline style, перебиваємо) */ | ||
/* Мирний / Шер / Маф / Дон через атрибут */ | |||
font-weight: | .wikitable td span[style*="color:#fff"], | ||
.wikitable td span[style*="color: #fff"] { | |||
background: none !important; | |||
font-weight: 600 !important; | |||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
16. | 16. PROFILE LINKS — 4 квадрати повна ширина | ||
============================================================ */ | ============================================================ */ | ||
.profile-links { | .profile-links { | ||
margin | margin: 0 !important; | ||
padding: 0; | padding: 0 !important; | ||
border-top: 1px solid rgba(255,255,255,0.06); | border-top: 1px solid rgba(255,255,255,0.06) !important; | ||
} | } | ||
.profile-links-title { display: none; } | .profile-links-title { display: none !important; } | ||
.profile-links-icons { | .profile-links-icons { | ||
display: grid !important; | display: grid !important; | ||
grid-template-columns: 1fr | grid-template-columns: repeat(4, 1fr) !important; | ||
gap: 0 !important; | gap: 0 !important; | ||
width: 100% !important; | |||
} | } | ||
.profile-icon { | .profile-icon { | ||
display: | display: flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
justify-content: center !important; | justify-content: center !important; | ||
padding: 14px | padding: 14px 6px !important; | ||
border-right: 1px solid rgba(255,255,255,0. | border-right: 1px solid rgba(255,255,255,0.06) !important; | ||
background: rgba(24,21,30,0.4); | background: rgba(24,21,30,0.4) !important; | ||
transition: background 0.14s; | transition: background 0.14s !important; | ||
cursor: pointer; | cursor: pointer !important; | ||
min-width: 0 !important; | |||
width: auto !important; | |||
float: none !important; | |||
} | } | ||
.profile-icon:last-child { border-right: none | .profile-icon:last-child { border-right: none !important; } | ||
.profile-icon | .profile-icon:hover:not(.inactive) { | ||
background: rgba(55,55,82,0.8) !important; | |||
} | } | ||
/* | /* MediaWiki обгортки для [[File:]] */ | ||
.profile-icon. | .profile-icon a, | ||
.profile-icon span[typeof="mw:File"], | |||
.profile-icon .mw-file-description { | |||
display: flex !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
width: 100% !important; | |||
} | } | ||
.profile-icon | .profile-icon img, | ||
.profile-icon .mw-file-description img, | |||
.profile-icon .mw-file-element { | |||
width: 24px !important; | |||
height: 24px !important; | |||
max-width: 24px !important; | |||
. | object-fit: contain !important; | ||
display: block !important; | |||
width: | |||
} | } | ||
. | .profile-icon.inactive { | ||
opacity: 0.28 !important; | |||
pointer-events: none !important; | |||
cursor: default !important; | |||
} | } | ||
. | .profile-icon.inactive img, | ||
.profile-icon.inactive .mw-file-description img { | |||
filter: grayscale(100%) !important; | |||
. | |||
. | |||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
17. ГОЛОВНА СТОРІНКА — БЛОКИ | |||
============================================================ */ | ============================================================ */ | ||
.flex__block { display: flex; justify-content: space-between; align-items: center; } | .flex__block { display: flex; justify-content: space-between; align-items: center; } | ||
.home__blocks { gap: 20px; align-items: stretch; margin-bottom: 20px; } | .home__blocks { gap: 20px; align-items: stretch; margin-bottom: 20px; } | ||
.home__block { align-items: stretch; width: 33.3333%; flex-direction: column; } | .home__block { align-items: stretch; width: 33.3333%; flex-direction: column; } | ||
.home__block-inner { align-items: stretch; gap: 0; flex-direction: column; flex-grow: 0; border: 1px solid rgba(255,255,255,0.10); } | |||
.home__block-inner { | .home__block-image-block { flex-direction: column; background-image: url(https://mafiacc.site/images/d/df/Bg_03.png); background-size: cover; } | ||
} | |||
.home__block-image-block { | |||
} | |||
.home__block-image { text-align: center; padding-top: 20px; } | .home__block-image { text-align: center; padding-top: 20px; } | ||
.home__block-icon { width: 96px; height: 96px; display: inline-block; background-position: center; background-size: contain; background-repeat: no-repeat; } | |||
.home__block-icon { | |||
} | |||
.home__block-icon-1 { background-image: url(https://mafiacc.site/images/d/dc/Block_01.png); } | .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-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-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 { flex-grow: 0; flex-direction: column; align-items: stretch; } | ||
.home__block-content-inner { border-radius: 0; background: none; padding: 20px 20px 0; flex-grow: 0; } | |||
.home__block-content-inner { | |||
} | |||
.home__block-content-title { line-height: 1; padding-bottom: 10px; } | .home__block-content-title { line-height: 1; padding-bottom: 10px; } | ||
.home__block-content-inner pre { font-family: 'Manrope', sans-serif !important; padding: 0 !important; display: block !important; } | .home__block-content-inner pre { font-family: 'Manrope', sans-serif !important; padding: 0 !important; display: block !important; } | ||
.home__block-content-title .content p { margin: 0 !important; } | .home__block-content-title .content p { margin: 0 !important; } | ||
.home__block-tournament-winner { border-bottom: 1px solid rgba(255,255,255,0.10); padding: 15px 20px; background: rgba(0,0,0,0.5); } | |||
.home__block-tournament-winner { | |||
} | |||
.home__block-tournament-winner span:first-child { font-weight: 500; color: #fff; } | .home__block-tournament-winner span:first-child { font-weight: 500; color: #fff; } | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.home__blocks { display: block; padding-top: 10px; } | .home__blocks { display: block; padding-top: 10px; } | ||
.home__block { width: 100%; } | .home__block { width: 100%; } | ||
.home__block-content-inner { margin-bottom: 10px; } | .home__block-content-inner { margin-bottom: 10px; } | ||
| Рядок 1208: | Рядок 957: | ||
/* ============================================================ | /* ============================================================ | ||
18. ГЕРОЇ | |||
============================================================ */ | ============================================================ */ | ||
.mcc-heroes-list { padding-top: 20px !important; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; } | |||
.mcc-heroes-list { | |||
} | |||
.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%; border-radius: 0; overflow: hidden; background: #1a1a2e; transition: transform 0.2s ease, box-shadow 0.2s ease; } | |||
.mcc-hero-card { | .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: 30px 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; font-family: 'Manrope', sans-serif; } | |||
} | .mcc-hero-nickname a, .mcc-hero-nickname a:visited { color: #fff !important; text-decoration: none; } | ||
.mcc-hero-card:hover { | |||
} | |||
.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 { | |||
} | |||
.mcc-hero-info { | |||
} | |||
.mcc-hero-nickname { | |||
} | |||
.mcc-hero-nickname a, | |||
.mcc-hero-nickname a:visited { color: #fff !important; text-decoration: none; } | |||
.mcc-hero-nickname a:hover { text-decoration: underline; color: #fff !important; } | .mcc-hero-nickname a:hover { text-decoration: underline; color: #fff !important; } | ||
.mcc-hero-nickname a.external::after, | .mcc-hero-nickname a.external::after, .mcc-hero-nickname a.extiw::after { content: none !important; display: none !important; } | ||
.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-role { color: #ffd700; font-size: 0.85em; font-weight: 600; } | ||
.mcc-hero-date { font-size: 0.85em; opacity: 0.7; } | .mcc-hero-date { font-size: 0.85em; opacity: 0.7; } | ||
.mcc-champion-card { box-shadow: 0 0 0 0.5px orange; } | .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); } | .mcc-champion-card:hover { box-shadow: 0 0 0 1px #ffd700, 0 8px 24px rgba(0,0,0,0.4); } | ||
| Рядок 1268: | Рядок 982: | ||
} | } | ||
/* ============================================================ | |||
19. МОБІЛЬНИЙ ПОШУК | |||
============================================================ */ | |||
} | .mobile-search-btn { display: none; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,0.10); 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.20); } | |||
.mobile-search-btn svg { display: block; } | |||
.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; font-family: 'Manrope', sans-serif; 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.10); } | |||
/* ============================================================ | /* ============================================================ | ||
20. РІЗНЕ | |||
============================================================ */ | ============================================================ */ | ||
.content ul { list-style-type: none !important; padding-left: 0 !important; } | .content ul { list-style-type: none !important; padding-left: 0 !important; } | ||
.list-thumb.list-thumb-none { background-color: #18151e !important; } | .list-thumb.list-thumb-none { background-color: #18151e !important; } | ||
.page-list li, .topic-title-list li, .site-link-list li { | .page-list li, .topic-title-list li, .site-link-list li { border-bottom: 1px solid rgba(255,255,255,0.07) !important; } | ||
} | |||
li.gallerybox div.thumb { background-color: #18151e !important; border: none !important; } | li.gallerybox div.thumb { background-color: #18151e !important; border: none !important; } | ||
.content kbd, .content samp, .content code, .content pre { border: none !important; } | .content kbd, .content samp, .content code, .content pre { border: none !important; } | ||
.content pre { padding: 10px 0 !important; } | .content pre { padding: 10px 0 !important; } | ||
.mw-ui-icon-mf-expand { background-image: none !important; } | .mw-ui-icon-mf-expand { background-image: none !important; } | ||
.mw-ui-icon-mf-expand:before { | .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-icon, .mf-icon--small, .mf-icon--large { | |||
} | |||
.mf-mw-ui-icon-rotate-flip { transform: rotate(45deg) !important; } | .mf-mw-ui-icon-rotate-flip { transform: rotate(45deg) !important; } | ||
@media (max-width: 994px) { .harley { display: none; } } | @media (max-width: 994px) { .harley { display: none; } } | ||
/* Header banner */ | /* Header banner */ | ||
.header-banner { | .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; inset: 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::before { | |||
} | |||
.header-banner__logo { | |||
} | |||
.header-banner__logo img { width: 50px; height: 50px; object-fit: contain; } | .header-banner__logo img { width: 50px; height: 50px; object-fit: contain; } | ||
.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; font-family: 'Manrope', sans-serif; } | |||
.header-banner__logo > span:last-child { | |||
} | |||
.header-banner__logo a { display: flex; align-items: center; gap: 12px; text-decoration: none !important; } | .header-banner__logo a { display: flex; align-items: center; gap: 12px; text-decoration: none !important; } | ||
.header-banner__search { position: relative; z-index: 1; display: flex; } | .header-banner__search { position: relative; z-index: 1; display: flex; } | ||
.header-banner__search input { width: 360px; margin-right: 16px; padding: 12px 16px; font-size: 14px; font-family: 'Manrope', sans-serif; border: none; border-radius: 6px; background: #fff; color: #333; outline: none; } | |||
.header-banner__search input { | |||
} | |||
.header-banner__search input:focus { box-shadow: 0 0 0 2px rgba(161,156,224,0.5); } | .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; font-family: 'Manrope', sans-serif; border: none; border-radius: 6px; background: #3b82f6; color: #fff; cursor: pointer; transition: background 0.2s; } | |||
.header-banner__search button { | |||
} | |||
.header-banner__search button:hover { background: #2563eb; } | .header-banner__search button:hover { background: #2563eb; } | ||
| Рядок 1359: | Рядок 1031: | ||
} | } | ||
@media (max-width: 480px) { | @media (max-width: 480px) { .header-banner__logo > span:last-child { display: none; } } | ||
} | |||
/* ============================================================ | /* ============================================================ | ||
21. МОБІЛЬНА АДАПТАЦІЯ — загальна | |||
============================================================ */ | ============================================================ */ | ||
@media (max-width: 1200px) { | |||
/* При відсутності r-box — прибираємо правий відступ */ | |||
.content . | .banner-container, .content, .pre-content, .post-content { | ||
margin-right: 0 !important; | |||
} | |||
} | } | ||
@media screen and (max-width: 999px) { | |||
. | .banner-container, .content, .pre-content, .post-content { | ||
.content . | margin-left: 0 !important; | ||
margin-right: 0 !important; | |||
} | |||
} | } | ||
@media (max-width: 720px) { | |||
.r-box { float: none !important; margin-left: 0 !important; } | |||
.content table { display: table !important; } | |||
.r-box | |||
} | |||
} | |||
} | } | ||