MediaWiki:Common.css: відмінності між версіями
Admin (обговорення | внесок) Немає опису редагування |
Admin (обговорення | внесок) Немає опису редагування |
||
| Рядок 1: | Рядок 1: | ||
/** | /** MediaWiki:Common.css — Mafia Closed Circle | ||
Фінальна версія. Всі попередні версії замінені цим файлом. | |||
============================================================ */ | |||
/* ==================================================== | /* ============================================================ | ||
0. ШРИФТ | |||
============================================================ */ | |||
@ | @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap'); | ||
/* ============================================================ | |||
1. БАЗОВІ СТИЛІ | |||
============================================================ */ | |||
. | |||
body { | body { | ||
| Рядок 40: | Рядок 20: | ||
background-position: center center !important; | background-position: center center !important; | ||
background-attachment: fixed !important; | background-attachment: fixed !important; | ||
font-family: 'Manrope', sans-serif !important; | |||
font-size: 15px !important; | |||
} | |||
html { | |||
overflow-y: scroll !important; | |||
scrollbar-gutter: stable !important; | |||
} | } | ||
#mw-mf-viewport, | /* Прозорі обгортки щоб фон проглядався */ | ||
#mw-mf-viewport, | |||
#mw-mf-page-center, | #mw-mf-page-center, | ||
#content, | #content, | ||
.mw-body { | .mw-body { | ||
background-color: transparent !important; | background-color: transparent !important; | ||
} | } | ||
. | .overlay-enabled, | ||
background-color: | .mw-body { | ||
background-color: #15151f !important; | |||
- | color: #b7b4bf !important; | ||
padding-bottom: 140px !important; | |||
font-family: 'Manrope', sans-serif !important; | |||
} | } | ||
@media (max-width: 767px) { | |||
.overlay-enabled, .mw-body { | |||
.overlay | padding-bottom: 80px !important; | ||
} | |||
} | } | ||
/* Padding під фіксований header */ | |||
.mw-body { | |||
padding-top: 70px !important; | |||
padding- | |||
} | } | ||
@media (max-width: 767px) { | @media (max-width: 767px) { | ||
.mw-body { | |||
padding- | padding-top: 60px !important; | ||
} | } | ||
} | } | ||
/* ============================================================ | |||
2. ПОСИЛАННЯ | |||
============================================================ */ | |||
a { color: #a19ce0!important; } | a { color: #a19ce0 !important; } | ||
a:hover { color: #a19ce0!important; } | a:hover { color: #a19ce0 !important; } | ||
a:visited { color: #a19ce0!important; } | a:visited { color: #a19ce0 !important; } | ||
a.new { color: #ff7777 !important; } | |||
a.new:hover { color: #ff7777 !important; } | |||
a.new:visited { color: #ff7777 !important; } | |||
. | /* ============================================================ | ||
3. ТИПОГРАФІКА | |||
color: # | ============================================================ */ | ||
b, strong { | |||
font-weight: 600 !important; | |||
color: #ebebeb !important; | |||
} | } | ||
h4 { | h4 { | ||
font-size: 11px !important; | |||
font-weight: | font-weight: 700 !important; | ||
letter-spacing: .10em !important; | |||
text-transform: uppercase !important; | |||
color: #b7b4bf !important; | |||
opacity: .45 !important; | |||
margin: 22px 0 8px !important; | |||
} | } | ||
/* H2 секції */ | |||
.content .mw-parser-output > h2, | |||
.content .section-heading { | |||
font-size: 18px !important; | |||
.content .mw-parser-output > h2, .content .section-heading { | font-weight: 700 !important; | ||
border-bottom: 1px solid #232b3a!important; | color: #ebebeb !important; | ||
padding-top: | border-bottom: 1px solid #232b3a !important; | ||
padding-bottom: 10px!important; | padding-top: 0 !important; | ||
padding-bottom: 10px !important; | |||
margin-top: 48px !important; | |||
margin-bottom: 18px !important; | |||
} | } | ||
. | /* Scroll offset — щоб секція не ховалась під header при anchor */ | ||
.mw-parser-output h2, | |||
.mw-parser-output .mw-headline { | |||
scroll-margin-top: 80px !important; | |||
} | } | ||
blockquote { | |||
border-left: 4px solid #e74c3c; | |||
border-bottom: 1px solid rgba(231,76,60,0.2); | |||
padding: 20px 24px; | |||
font-family: 'Linux Libertine', Georgia, serif; | |||
font-size: 18px; | |||
font-style: italic; | |||
background: rgba(231,76,60,0.04); | |||
border-radius: 2px 12px 12px 2px; | |||
box-shadow: 0 4px 16px rgba(0,0,0,0.25); | |||
} | } | ||
.content | .content hr { | ||
background-color: #3a3a4a !important; | |||
height: 2px !important; | |||
border: 0 !important; | |||
} | } | ||
@media (max-width: 720px) { | |||
.content hr { | |||
display: none !important; | |||
} | |||
} | } | ||
/* ============================================================ | |||
4. HEADER | |||
============================================================ */ | |||
/* ==================================================== | |||
.header-container.header-chrome { | .header-container.header-chrome { | ||
background-color: rgba(30, 30, 42, 0. | background-color: rgba(30,30,42,0.88) !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: | box-shadow: 0 1px 0 rgba(255,255,255,0.05) !important; | ||
position: fixed !important; | position: fixed !important; | ||
top: 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; | ||
margin-left: 0 !important; | margin-left: 0 !important; | ||
border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; | border-bottom: 1px solid rgba(255,255,255,0.05) !important; | ||
} | } | ||
| Рядок 212: | Рядок 163: | ||
} | } | ||
.overlay-header, | .overlay-header, | ||
.minerva-header { | .minerva-header { | ||
border-top: none !important; | border-top: none !important; | ||
| Рядок 218: | Рядок 169: | ||
} | } | ||
/* | /* Логотип + назва */ | ||
.minerva-header .branding-box { | .minerva-header .branding-box { | ||
display: flex !important; | display: flex !important; | ||
| Рядок 233: | Рядок 184: | ||
} | } | ||
.minerva-header .branding-box a::before { | .minerva-header .branding-box a::before { | ||
content: '' !important; | content: '' !important; | ||
display: block !important; | display: block !important; | ||
width: 40px !important; | width: 40px !important; height: 40px !important; | ||
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; | ||
| Рядок 247: | Рядок 195: | ||
} | } | ||
.minerva-header .branding-box a span { | .minerva-header .branding-box a span { | ||
font-size: 18px !important; | font-size: 18px !important; | ||
font-weight: | font-weight: 600 !important; | ||
color: #fff !important; | color: #fff !important; | ||
white-space: nowrap !important; | white-space: nowrap !important; | ||
font-family: 'Manrope', sans-serif !important; | |||
} | } | ||
/* Пошук | .minerva-header .branding-box a { color: #b7b4bf !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; | ||
| Рядок 262: | Рядок 213: | ||
} | } | ||
.minerva-header .search-box { | .minerva-header .search-box { width: 100% !important; position: relative !important; } | ||
} | |||
.minerva-header .search-box .search { | .minerva-header .search-box .search { | ||
| Рядок 272: | Рядок 220: | ||
border-radius: 8px !important; | border-radius: 8px !important; | ||
background-color: #15151f !important; | background-color: #15151f !important; | ||
border: 1px solid rgba(255, 255, 255, 0. | border: 1px solid rgba(255,255,255,0.10) !important; | ||
font-family: 'Manrope', sans-serif !important; | |||
font-size: 14px !important; | |||
} | } | ||
.minerva-header .search-box .search::placeholder { | .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::before { | .minerva-header .search-box::before { | ||
content: '' !important; | content: '' !important; | ||
position: absolute !important; | position: absolute !important; | ||
left: 12px !important; | left: 12px !important; top: 50% !important; | ||
transform: translateY(-50%) !important; | transform: translateY(-50%) !important; | ||
width: 16px !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-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; | ||
| Рядок 300: | Рядок 241: | ||
} | } | ||
.minerva-header .search-box .search.minerva-icon--search { background-image: none !important; } | |||
.minerva-header .search-box .search.minerva-icon--search { | .minerva-header .navigation-drawer { display: none !important; } | ||
.minerva-user-navigation { display: none !important; } | |||
.minerva-user-navigation > *:last-child { display: none !important; } | |||
.minerva-user-navigation .minerva-notifications { display: none !important; } | |||
.minerva-header .navigation-drawer .toggle-list__toggle { display: none !important; } | |||
.minerva-icon--menu-base20, .minerva-icon--menu { | |||
filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%); | |||
} | } | ||
/* Ховаємо зайве */ | |||
.minerva-footer { display: none !important; } | |||
.minerva__tab-container { display: none !important; } | |||
.page-actions-menu { display: none !important; } | |||
.mw-ui-icon-mf-articlesSearch { visibility: hidden !important; display: none !important; } | |||
.image-details.is-visible { display: none !important; } | |||
#toc, .toc { display: none !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; | 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; } | |||
. | /* Мобільний header */ | ||
@media (max-width: 768px) { | |||
.mobile-search-btn { display: flex; } | |||
.heading-holder { padding-top: 40px !important; } | |||
width: | .minerva-header .minerva-search-form { display: none !important; } | ||
.minerva-header #searchIcon { display: none !important; } | |||
.header-container.header-chrome { padding: 6px 12px !important; } | |||
.minerva-header { padding: 4px 0 !important; gap: 10px !important; } | |||
.minerva-header .branding-box a::before { width: 28px !important; height: 28px !important; } | |||
.minerva-header .branding-box a span { font-size: 14px !important; } | |||
.mw-body { padding-top: 52px !important; } | |||
} | } | ||
. | @media (max-width: 720px) { | ||
.minerva-header .branding-box a span { display: none !important; } | |||
} | } | ||
. | /* ============================================================ | ||
5. ПОШУК — блокування overlay | |||
============================================================ */ | |||
.overlay.search-overlay, | |||
.search-overlay { | |||
display: none !important; | display: none !important; | ||
visibility: hidden !important; | |||
opacity: 0 !important; | |||
} | } | ||
. | body.overlay-enabled, | ||
. | body.search-enabled { | ||
overflow: auto !important; | |||
position: static !important; | |||
background-color: #15151f !important; | |||
} | } | ||
#searchInput { pointer-events: auto !important; cursor: text !important; } | |||
. | |||
background-color: | .search-box .search { | ||
background-color: #15151f !important; | |||
box-shadow: none !important; | |||
border: 1px solid #232b3a !important; | |||
color: white !important; | |||
} | } | ||
. | .overlay.search-overlay .search-content { | ||
. | background-color: #18151e; | ||
background-color: rgba( | border-bottom: 0.2px solid rgba(255,255,255,0.07) !important; | ||
color: #a19ce0 !important; | |||
} | } | ||
. | .overlay.search-overlay .search-content .caption { padding-left: 30px !important; } | ||
. | .overlay.search-overlay .results, | ||
background-color: | .overlay.search-overlay .search-feedback { | ||
background-color: #18151e !important; | |||
color: white !important; | |||
box-shadow: none !important; | |||
} | } | ||
. | /* ============================================================ | ||
. | 6. КОНТЕНТ — відступ від l-box | ||
============================================================ */ | |||
@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: 280px !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; | |||
} | |||
/* Сторінки з широкими таблицями */ | |||
.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-right: 16px !important; | |||
width: calc(100% - 32px) !important; | |||
max-width: none !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; | |||
position: fixed !important; | |||
left: 0 !important; | |||
} | } | ||
/* ==================================================== | /* ============================================================ | ||
7. WIKITABLE — основні стилі | |||
============================================================ */ | |||
. | .wikitable { | ||
border: none !important; | |||
background-color: rgba(24, 21, 30, 0. | border-collapse: separate !important; | ||
color: | border-spacing: 0 !important; | ||
font-weight: | width: 100%; | ||
background-color: transparent !important; | |||
font-family: 'Manrope', sans-serif !important; | |||
} | |||
/* Заголовки */ | |||
.content .mw-parser-output .wikitable > thead > tr > th, | |||
.content .mw-parser-output .wikitable > * > tr:first-child > th { | |||
background-color: rgba(24,21,30,0.82) !important; | |||
color: #e8e6df !important; | |||
font-family: 'Manrope', sans-serif !important; | |||
font-size: 11.5px !important; | |||
font-weight: 700 !important; | |||
letter-spacing: .08em !important; | |||
text-transform: uppercase !important; | |||
padding: 11px 14px !important; | |||
border: none !important; | |||
border-bottom: 2px solid rgba(161,156,224,0.22) !important; | |||
white-space: nowrap !important; | |||
} | } | ||
. | /* Непарні рядки */ | ||
. | .content .mw-parser-output .wikitable > tbody > tr:nth-child(odd) > td, | ||
.content .mw-parser-output .wikitable > * > tr:nth-child(odd) > td { | |||
background-color: rgba(24,21,30,0.32) !important; | |||
} | } | ||
. | /* Парні рядки */ | ||
.content .mw-parser-output .wikitable > tbody > tr:nth-child(even) > td, | |||
color: | .content .mw-parser-output .wikitable > * > tr:nth-child(even) > td { | ||
background-color: rgba(24,21,30,0.55) !important; | |||
} | } | ||
. | /* Всі td */ | ||
.content .mw-parser-output .wikitable > tbody > tr > td, | |||
color: # | .content .mw-parser-output .wikitable > * > tr > td { | ||
border: none !important; | |||
border-bottom: 1px solid rgba(255,255,255,0.05) !important; | |||
padding: 10px 14px !important; | |||
font-family: 'Manrope', sans-serif !important; | |||
font-size: 14px !important; | |||
color: #b7b4bf !important; | |||
vertical-align: middle !important; | |||
} | } | ||
. | /* Hover */ | ||
. | .content .mw-parser-output .wikitable > tbody > tr:hover > td, | ||
background-color: rgba(25, 87, 255, 0. | .content .mw-parser-output .wikitable > * > tr:hover > td { | ||
transition: background-color 0. | background-color: rgba(25,87,255,0.12) !important; | ||
transition: background-color 0.12s ease !important; | |||
} | } | ||
.wikitable > tbody > tr:first-child > td, | /* Перший/останній рядок */ | ||
.wikitable > * > tr:first-child > td { | .content .mw-parser-output .wikitable > tbody > tr:first-child > td, | ||
.content .mw-parser-output .wikitable > * > tr:first-child > td { | |||
border-top: none !important; | border-top: none !important; | ||
} | } | ||
.wikitable > tbody > tr:last-child > td, | .content .mw-parser-output .wikitable > tbody > tr:last-child > td, | ||
.wikitable > * > tr:last-child > td { | .content .mw-parser-output .wikitable > * > tr:last-child > td { | ||
border-bottom: none !important; | border-bottom: none !important; | ||
} | } | ||
.wikitable td { | .content .mw-parser-output .wikitable td { | ||
vertical-align: middle !important; | vertical-align: middle !important; | ||
} | } | ||
/* Посилання в таблицях */ | |||
.content .mw-parser-output .wikitable td a { | |||
color: #a19ce0 !important; | |||
font-weight: 500 !important; | |||
} | } | ||
.content .mw-parser-output .wikitable td a:hover { | |||
color: #c4bfff !important; | |||
text-decoration: underline !important; | |||
} | |||
. | /* External links в таблицях — без іконки */ | ||
.wikitable .external { background: none !important; padding-right: 0 !important; } | |||
.wikitable a.external::after { content: '' !important; display: none !important; } | |||
} | |||
. | /* ============================================================ | ||
8. СОРТУВАННЯ | |||
============================================================ */ | |||
. | .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), | ||
.jquery-tablesorter th.headerSort { | |||
background-color: rgba(24,21,30,0.82) !important; | |||
color: #e8e6df !important; | |||
font-family: 'Manrope', sans-serif !important; | |||
font-weight: 700 !important; | |||
font-size: 11.5px !important; | |||
letter-spacing: .08em !important; | |||
text-transform: uppercase !important; | |||
padding: 11px 14px !important; | |||
padding-right: 24px !important; | |||
background-image: none !important; | |||
cursor: pointer !important; | |||
position: relative !important; | |||
user-select: none !important; | |||
white-space: nowrap !important; | |||
border-bottom: 2px solid rgba(161,156,224,0.22) !important; | |||
} | } | ||
. | /* Іконка сортування */ | ||
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable)::after, | |||
.jquery-tablesorter th.headerSort::after { | |||
content: "⇅" !important; | |||
position: absolute !important; | |||
right: 7px !important; | |||
top: 50% !important; | |||
transform: translateY(-50%) !important; | |||
font-size: 11px !important; | |||
color: rgba(255,255,255,0.22) !important; | |||
font-weight: 400 !important; | |||
} | } | ||
. | .jquery-tablesorter th.headerSortUp::after { | ||
content: "▲" !important; | |||
color: #a19ce0 !important; | |||
font-size: 11px !important; | |||
} | } | ||
. | .jquery-tablesorter th.headerSortDown::after { | ||
content: "▼" !important; | |||
color: #a19ce0 !important; | |||
font-size: 11px !important; | |||
} | } | ||
. | /* Hover */ | ||
.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.28) !important; | |||
transition: background-color 0.15s ease !important; | |||
background- | |||
background- | |||
} | } | ||
. | /* ============================================================ | ||
9. АНІМАЦІЯ РЯДКІВ | |||
============================================================ */ | |||
. | .wikitable tbody tr { | ||
animation: mcc-row-in 0.30s ease both; | |||
} | } | ||
. | .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(3) { animation-delay: 0.09s; } | ||
.wikitable tbody tr:nth-child(4) { animation-delay: 0.12s; } | |||
.wikitable tbody tr:nth-child(5) { animation-delay: 0.15s; } | |||
.wikitable tbody tr:nth-child(6) { animation-delay: 0.18s; } | |||
.wikitable tbody tr:nth-child(7) { animation-delay: 0.21s; } | |||
.wikitable tbody tr:nth-child(8) { animation-delay: 0.24s; } | |||
.wikitable tbody tr:nth-child(9) { animation-delay: 0.27s; } | |||
.wikitable tbody tr:nth-child(10) { animation-delay: 0.30s; } | |||
.wikitable tbody tr:nth-child(n+11) { animation-delay: 0.33s; } | |||
@keyframes mcc-row-in { | |||
from { opacity: 0; transform: translateX(-5px); } | |||
to { opacity: 1; transform: translateX(0); } | |||
} | } | ||
. | /* Після сортування — клас додається JS */ | ||
.wikitable.mcc-sorting tbody tr { animation: none; } | |||
.wikitable.mcc-sorted tbody tr { animation: mcc-row-in 0.25s ease both; } | |||
.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(3) { animation-delay: 0.06s; } | |||
.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(6) { animation-delay: 0.12s; } | ||
.wikitable.mcc-sorted tbody tr:nth-child(7) { animation-delay: 0.14s; } | |||
.wikitable.mcc-sorted tbody tr:nth-child(8) { animation-delay: 0.16s; } | |||
.wikitable.mcc-sorted tbody tr:nth-child(9) { animation-delay: 0.18s; } | |||
.wikitable.mcc-sorted tbody tr:nth-child(10) { animation-delay: 0.20s; } | |||
.wikitable.mcc-sorted tbody tr:nth-child(n+11) { animation-delay: 0.22s; } | |||
. | /* ============================================================ | ||
10. ШИРОКІ ТАБЛИЦІ — горизонтальний скрол | |||
============================================================ */ | |||
. | /* Обгортка — додається JS */ | ||
.mcc-scroll-outer { | |||
position: relative; | |||
} | } | ||
. | .mcc-scroll-outer::after { | ||
content: ''; | |||
position: absolute; | |||
right: 0; top: 0; bottom: 0; | |||
width: 40px; | |||
background: linear-gradient(to right, transparent, rgba(21,21,31,0.90)); | |||
pointer-events: none; | |||
transition: opacity 0.25s; | |||
border-radius: 0 6px 6px 0; | |||
} | } | ||
.mcc-scroll-outer.mcc-no-fade::after { opacity: 0; } | |||
.mcc-scroll-inner { | |||
overflow-x: auto; | |||
} | -webkit-overflow-scrolling: touch; | ||
} | |||
.mcc-wide-table { min-width: 860px; } | |||
/* Сторінки з широкими таблицями */ | |||
.page-Ігри .mw-parser-output, | |||
.page-Статистика .mw-parser-output, | |||
.page-Гравці .mw-parser-output, | |||
.page-Фундація .mw-parser-output, | |||
.page-Призовий_фонд .mw-parser-output, | |||
.page-Призові .mw-parser-output, | |||
.page-Фіналіст .mw-parser-output, | |||
.page-Титули .mw-parser-output, | |||
.page-Період .mw-parser-output, | |||
.page-Перша_статистика .mw-parser-output { | |||
overflow-x: auto !important; | |||
} | } | ||
/* | /* Компактний стиль для широких таблиць */ | ||
.wide-table, | |||
.page-Ігри .wikitable, | |||
.page-Статистика .wikitable, | |||
.page-Гравці .wikitable, | |||
.page-Фундація .wikitable, | |||
.page-Призовий_фонд .wikitable, | |||
.page-Призові .wikitable, | |||
.page-Фіналіст .wikitable, | |||
.page-Титули .wikitable, | |||
.page-Період .wikitable, | |||
.page-Перша_статистика .wikitable { | |||
width: 100% !important; | |||
font-size: 12px !important; | |||
table-layout: auto !important; | |||
} | |||
/* ============================================================ | |||
11. ВІНРЕЙТ — кольорове підсвічення | |||
============================================================ */ | |||
.wr-hi { color: #5aaa80 !important; } | |||
.wr-lo { color: #c06070 !important; } | |||
} | |||
/* ==================================================== | /* ============================================================ | ||
12. L-BOX — БІЧНЕ МЕНЮ | |||
============================================================ */ | |||
. | .l-box { | ||
position: fixed; | |||
top: 80px; | |||
left: 20px; | |||
z-index: 100; | |||
width: 220px; | |||
background: none; | |||
font-size: 13.5px; | |||
max-height: calc(100vh - 100px); | |||
overflow-y: auto; | |||
} | } | ||
. | .l-box-item { | ||
display: flex !important; | |||
align-items: center !important; | |||
padding: 10px 20px !important; | |||
border-bottom: 1px solid rgba(255,255,255,0.05) !important; | |||
border-left: 3px solid transparent !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; | |||
} | } | ||
. | .l-box-item span:first-child { flex: 1; } | ||
.l-box-item:hover { | |||
background: #373752 !important; | |||
border-left-color: #555 !important; | |||
color: #fff !important; | |||
} | } | ||
. | .l-box-item.active { | ||
background: #373752 !important; | |||
border-left-color: #8ab4f8 !important; | |||
color: #fff !important; | |||
font-weight: 600 !important; | |||
} | } | ||
. | .l-box-item-last { border-bottom: none !important; } | ||
} | |||
.mcc- | /* Badge — помаранчевий */ | ||
.mcc-badge { | |||
background: rgba(210,130,60,0.18); | |||
border-radius: 20px; | |||
padding: 1px 7px; | |||
font-size: 10.5px; | |||
color: #d4895a; | |||
font-weight: 700; | |||
flex-shrink: 0; | |||
margin-left: 6px; | |||
} | } | ||
@media (max-width: 1400px) { | |||
.l-box { display: none !important; } | |||
} | } | ||
/* ============================================================ | |||
. | 13. R-BOX — ПРАВА ПАНЕЛЬ | ||
============================================================ */ | |||
. | .r-box, | ||
.tournament-box, | |||
.series-box { | |||
position: fixed !important; | |||
top: 80px !important; | |||
right: 20px !important; | |||
z-index: 100 !important; | |||
width: 300px !important; | |||
max-height: calc(100vh - 100px) !important; | |||
overflow-y: auto !important; | |||
box-sizing: border-box !important; | |||
padding: 0 !important; | |||
. | background: rgba(22,20,30,0.88) !important; | ||
backdrop-filter: blur(10px) !important; | |||
-webkit-backdrop-filter: blur(10px) !important; | |||
border: 1px solid #232b3a !important; | |||
border-radius: 10px !important; | |||
} | } | ||
. | /* Фото */ | ||
. | .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: 180px !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.18); | |||
border-radius: 6px; | |||
background: rgba(255,215,0,0.05); | |||
padding: 12px 14px; | |||
text-align: center; | |||
margin: 12px; | |||
} | } | ||
. | .rp-ch-lbl { | ||
font-size: 9.5px; | |||
font-weight: 700; | |||
letter-spacing: .13em; | |||
text-transform: uppercase; | |||
color: #c8a840; | |||
opacity: .8; | |||
margin-bottom: 3px; | |||
} | } | ||
. | .rp-ch-name { | ||
font-size: 17px; | |||
font-weight: 800; | |||
color: #ffd700; | |||
font-family: 'Manrope', sans-serif; | |||
} | } | ||
/* Info таблиця всередині r-box */ | |||
.r-box-info-table { | |||
width: 100% !important; | |||
border-collapse: collapse !important; | |||
margin: 0 !important; | |||
background: none !important; | |||
text-align: left !important; | |||
width: | |||
} | } | ||
.r-box-info-table tr { | |||
border-bottom: 1px solid rgba(255,255,255,0.05) !important; | |||
animation: none !important; /* без анімації в info таблиці */ | |||
} | } | ||
.r-box-info-table tr:last-child { border-bottom: none !important; } | |||
. | .r-box-info-table th, | ||
.r-box-info-table td { | |||
padding: | padding: 8px 14px !important; | ||
font-size: 12.5px !important; | |||
font-family: 'Manrope', sans-serif !important; | |||
background: none !important; | |||
border: none !important; | |||
border-bottom: 1px solid rgba(255,255,255,0.05) !important; | |||
} | } | ||
. | .r-box-info-table th { | ||
opacity: 0 | font-weight: 500 !important; | ||
color: #b7b4bf !important; | |||
opacity: .55 !important; | |||
text-transform: none !important; | |||
letter-spacing: 0 !important; | |||
text-align: left !important; | |||
width: 50% !important; | |||
} | } | ||
. | .r-box-info-table td { | ||
color: | text-align: right !important; | ||
color: #ebebeb !important; | |||
font-weight: 600 !important; | |||
width: 50% !important; | |||
} | } | ||
.r-box-gold { color: #c8a840 !important; } | |||
/* Навігація (стрілки) всередині r-box */ | |||
.tournament-nav, | .tournament-nav, | ||
.series-nav, | .series-nav, | ||
.player-nav, | |||
.championship-nav { | .championship-nav { | ||
display: flex; | display: flex !important; | ||
justify-content: space-between; | justify-content: space-between !important; | ||
align-items: center; | align-items: center !important; | ||
padding: | padding: 12px 14px !important; | ||
margin-bottom: | margin-bottom: 0 !important; | ||
font-size: 14px; | font-size: 14px !important; | ||
background | font-family: 'Manrope', sans-serif !important; | ||
border-radius: 10px; | background: rgba(18,15,24,0.9) !important; | ||
border-radius: 10px 10px 0 0 !important; | |||
border-bottom: 1px solid #232b3a !important; | |||
} | } | ||
.tournament-nav-prev, .tournament-nav-next, | .tournament-nav-prev, .tournament-nav-next, | ||
.series-nav-prev, .series-nav-next, | .series-nav-prev, .series-nav-next, | ||
.player-nav-prev, .player-nav-next, | |||
.championship-nav-prev, .championship-nav-next { | .championship-nav-prev, .championship-nav-next { | ||
font-size: | font-size: 18px !important; | ||
font-weight: bold; | font-weight: bold !important; | ||
min-width: | min-width: 28px !important; | ||
text-align: center; | text-align: center !important; | ||
} | } | ||
.tournament-nav-prev a, .tournament-nav-next a, | .tournament-nav-prev a, .tournament-nav-next a, | ||
.series-nav-prev a, .series-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 { | .championship-nav-prev a, .championship-nav-next a { | ||
color: | color: #b7b4bf !important; | ||
text-decoration: none; | text-decoration: none !important; | ||
transition: | transition: color 0.15s !important; | ||
} | } | ||
.tournament-nav-prev a:hover, .tournament-nav-next a:hover, | .tournament-nav-prev a:hover, .tournament-nav-next a:hover, | ||
.series-nav-prev a:hover, .series-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 { | .championship-nav-prev a:hover, .championship-nav-next a:hover { | ||
color: #fff !important; | |||
} | } | ||
.tournament-nav-name, | .tournament-nav-name, | ||
.series-nav-name, | .series-nav-name, | ||
.player-nav-name, | |||
.championship-nav-name { | .championship-nav-name { | ||
flex: 1; | flex: 1 !important; | ||
text-align: center; | text-align: center !important; | ||
font-weight: | font-weight: 700 !important; | ||
color: white | color: white !important; | ||
font-size: 15px !important; | |||
font-family: 'Manrope', sans-serif !important; | |||
font-size: | |||
} | } | ||
/* R-box мобільна */ | |||
@media (max-width: 1200px) { | @media (max-width: 1200px) { | ||
.r-box, .tournament-box, .series-box { | .r-box, .tournament-box, .series-box { | ||
| Рядок 866: | Рядок 891: | ||
width: 100% !important; | width: 100% !important; | ||
max-width: none !important; | max-width: none !important; | ||
margin: 0 !important; | margin: 0 0 20px 0 !important; | ||
top: auto !important; | top: auto !important; right: auto !important; | ||
max-height: none !important; | max-height: none !important; | ||
overflow-y: visible !important; | overflow-y: visible !important; | ||
border-radius: 8px !important; | |||
} | } | ||
} | } | ||
/* | /* R-box мобільна — фото */ | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.r-box figure a.mw-file-description { | .r-box figure a.mw-file-description { | ||
display: block; | display: block; | ||
| Рядок 985: | Рядок 907: | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
.r-box figure .mw-file-element, | .r-box figure .mw-file-element, | ||
.r-box figure img { | .r-box figure img { | ||
| Рядок 996: | Рядок 917: | ||
} | } | ||
/* ========================== | /* ============================================================ | ||
14. PLAYER TABS | |||
============================================================ */ | |||
. | |||
.player-tabs { | .player-tabs { | ||
| Рядок 1188: | Рядок 932: | ||
padding: 12px 24px; | padding: 12px 24px; | ||
cursor: pointer; | cursor: pointer; | ||
color: | color: rgba(255,255,255,0.38); | ||
font-size: | font-size: 14.5px; | ||
font-weight: 500; | font-weight: 500; | ||
font-family: 'Manrope', sans-serif; | |||
border-bottom: 2px solid transparent; | border-bottom: 2px solid transparent; | ||
margin-bottom: -2px; | margin-bottom: -2px; | ||
transition: | transition: color 0.18s, border-color 0.18s; | ||
user-select: none; | user-select: none; | ||
} | } | ||
.player-tab:hover { | .player-tab:hover { color: rgba(255,255,255,0.7); background: transparent; } | ||
} | |||
.player-tab.active { | .player-tab.active { | ||
color: #fff; | color: #fff !important; | ||
border-bottom-color: #a19ce0; | border-bottom-color: #a19ce0 !important; | ||
background: | background: transparent !important; | ||
} | } | ||
.player-tab-content { | .player-tab-content { display: none; } | ||
} | |||
.player-tab-content.active { | .player-tab-content.active { | ||
display: block; | display: block; | ||
animation: | animation: mcc-fade-in 0.28s ease both; | ||
} | } | ||
@keyframes | @keyframes mcc-fade-in { | ||
from { opacity: 0; transform: translateY( | from { opacity: 0; transform: translateY(8px); } | ||
to { opacity: 1; transform: translateY(0); } | to { opacity: 1; transform: translateY(0); } | ||
} | } | ||
| Рядок 1227: | Рядок 967: | ||
color: #888; | color: #888; | ||
font-size: 14px; | font-size: 14px; | ||
font-family: 'Manrope', sans-serif; | |||
} | } | ||
| Рядок 1232: | Рядок 973: | ||
content: ''; | content: ''; | ||
display: block; | display: block; | ||
width: | width: 28px; height: 28px; | ||
margin: 0 auto 16px; | margin: 0 auto 16px; | ||
border: | border: 2px solid rgba(161,156,224,0.2); | ||
border-top-color: #a19ce0; | border-top-color: #a19ce0; | ||
border-radius: 50%; | border-radius: 50%; | ||
animation: spin | animation: mcc-spin 0.8s linear infinite; | ||
} | } | ||
@keyframes mcc-spin { to { transform: rotate(360deg); } } | |||
} | |||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.player-tabs { margin-top: 16px; margin-bottom: 16px; } | |||
. | .player-tab { padding: 10px 16px; font-size: 13px; flex: 1; text-align: center; } | ||
. | |||
} | |||
} | } | ||
/* | /* ============================================================ | ||
15. STAT PILLS | |||
============================================================ */ | |||
.mcc-stat-row { | .mcc-stat-row { | ||
| Рядок 1828: | Рядок 1024: | ||
} | } | ||
/* ==================================================== | /* ============================================================ | ||
16. КНОПКА ЗАПИСУ ГРИ | |||
==================================================== */ | ============================================================ */ | ||
.game-record-btn { | |||
display: inline-block; | |||
padding: 3px 9px; | |||
background-color: rgba(208,47,47,0.18); | |||
color: #e08080; | |||
border-radius: 4px; | |||
font-size: 12px; | |||
font-family: 'Manrope', sans-serif; | |||
cursor: pointer; | |||
transition: background-color 0.15s; | |||
border: 1px solid rgba(208,47,47,0.25); | |||
} | |||
.game-record-btn:hover { background-color: rgba(208,47,47,0.35); opacity: 1; } | |||
.game-record-btn a { color: #e08080 !important; text-decoration: none !important; } | |||
. | /* ============================================================ | ||
margin- | 17. PROFILE LINKS — 4 квадрати | ||
============================================================ */ | |||
border- | |||
.profile-links { | |||
margin-top: 0; | |||
padding: 0; | |||
border-top: 1px solid rgba(255,255,255,0.06); | |||
} | } | ||
.profile-links-title { display: none; } | |||
.profile-links-icons { | .profile-links-icons { | ||
| Рядок 1853: | Рядок 1063: | ||
.profile-icon { | .profile-icon { | ||
display: inline-flex !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
padding: 14px 8px !important; | padding: 14px 8px !important; | ||
border-right: 1px solid rgba(255,255,255,0.07); | border-right: 1px solid rgba(255,255,255,0.07); | ||
background: rgba(24,21,30,0.4); | background: rgba(24,21,30,0.4); | ||
transition: background .14s; | transition: background 0.14s; | ||
cursor: pointer; | |||
} | } | ||
.profile-icon:hover { | .profile-icon:last-child { border-right: none; } | ||
.profile-icon:hover { background: #373752; } | |||
} | |||
.profile-icon img { | .profile-icon img { | ||
display: block !important; | |||
width: 26px !important; | width: 26px !important; | ||
height: 26px !important; | height: 26px !important; | ||
| Рядок 1874: | Рядок 1083: | ||
} | } | ||
/* Неактивний | /* Неактивний */ | ||
.profile-icon.inactive { | .profile-icon.inactive { | ||
opacity: 0.28; | opacity: 0.28; | ||
pointer-events: none; | pointer-events: none; | ||
cursor: default; | |||
} | } | ||
.profile-icon.inactive img { | .profile-icon.inactive img { filter: grayscale(100%); } | ||
} | |||
/* ==================================================== | /* ============================================================ | ||
18. МОБІЛЬНИЙ ПОШУК | |||
==================================================== */ | ============================================================ */ | ||
. | .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; | |||
border-radius: | cursor: pointer; flex-shrink: 0; | ||
background: rgba(255, | border-radius: 10px; | ||
background: rgba(255,255,255,0.05); | |||
} | } | ||
.mobile-search-close:hover { color: white; background: rgba(255,255,255,0.10); } | |||
. | /* ============================================================ | ||
19. ГОЛОВНА СТОРІНКА — БЛОКИ | |||
============================================================ */ | |||
.flex__block { display: flex; justify-content: space-between; align-items: center; } | |||
. | .home__blocks { gap: 20px; align-items: stretch; margin-bottom: 20px; } | ||
} | |||
. | .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); | |||
flex- | |||
} | } | ||
. | .home__block-image-block { | ||
flex-direction: column; border-radius: 0; | |||
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; 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: 0; background: none; | |||
padding: 20px 20px 0; flex-grow: 0; | |||
} | } | ||
.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-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 span:first-child { font-weight: 500; color: #fff; } | |||
. | |||
} | |||
@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; } | |||
} | } | ||
. | /* ============================================================ | ||
20. ГЕРОЇ — ГОЛОВНА СТОРІНКА | |||
============================================================ */ | |||
.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 { | ||
color: # | 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-nickname a:hover { text-decoration: underline; color: #fff !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); } | |||
} | |||
.mcc- | @media (max-width: 768px) { | ||
.mcc-heroes-list { gap: 12px; } | |||
.mcc-heroes-list li { width: calc((100% - 12px) / 2); } | |||
.mcc-hero-info { padding: 30px 8px 8px; } | |||
font-size: | .mcc-hero-nickname { font-size: 1em; } | ||
.mcc-hero-date { font-size: 0.75em; } | |||
font- | |||
} | } | ||
@media (max-width: 360px) { | |||
@media (max-width: | .mcc-heroes-list li { width: calc((100% - 8px) / 2); } | ||
. | .mcc-hero-nickname { font-size: 0.9em; } | ||
} | } | ||
/* ==================================================== | /* ============================================================ | ||
21. РІЗНЕ | |||
==================================================== */ | ============================================================ */ | ||
.content ul { list-style-type: none !important; padding-left: 0 !important; } | |||
.list-thumb.list-thumb-none { background-color: #18151e !important; } | |||
.page-list li, .topic-title-list li, .site-link-list li { | |||
.content | border-bottom: 0.2px solid rgba(255,255,255,0.07) !important; | ||
. | |||
border-bottom: 2px solid rgba( | |||
} | } | ||
li.gallerybox div.thumb { background-color: #18151e !important; border: none !important; } | |||
.content kbd, .content samp, .content code, .content pre { border: none !important; } | |||
. | .content pre { padding: 10px 0 !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; } | |||
@media (max-width: 994px) { .harley { display: none; } } | |||
} | |||
@media (max-width: 720px) { | |||
.r-box { float: none !important; margin-left: 0 !important; } | |||
.content table { display: table !important; } | |||
} | } | ||
/* | /* Header banner */ | ||
. | .header-banner { | ||
padding- | 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- | 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 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 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 input { | ||
width: 360px; margin-right: 16px; | |||
color: # | 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: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; | |||
border- | |||
cursor: pointer | |||
} | } | ||
. | .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__search { width: 100%; } | |||
.header-banner__search input { flex: 1; width: auto; margin-right: 0; } | |||
font- | .header-banner__logo > span:last-child { font-size: 16px; } | ||
} | } | ||
@media (max-width: 480px) { | |||
.header-banner__logo > span:last-child { display: none; } | |||
} | } | ||
Версія за 15:11, 6 квітня 2026
/** MediaWiki:Common.css — Mafia Closed Circle
Фінальна версія. Всі попередні версії замінені цим файлом.
============================================================ */
/* ============================================================
0. ШРИФТ
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');
/* ============================================================
1. БАЗОВІ СТИЛІ
============================================================ */
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;
font-family: 'Manrope', sans-serif !important;
font-size: 15px !important;
}
html {
overflow-y: scroll !important;
scrollbar-gutter: stable !important;
}
/* Прозорі обгортки щоб фон проглядався */
#mw-mf-viewport,
#mw-mf-page-center,
#content,
.mw-body {
background-color: transparent !important;
}
.overlay-enabled,
.mw-body {
background-color: #15151f !important;
color: #b7b4bf !important;
padding-bottom: 140px !important;
font-family: 'Manrope', sans-serif !important;
}
@media (max-width: 767px) {
.overlay-enabled, .mw-body {
padding-bottom: 80px !important;
}
}
/* Padding під фіксований header */
.mw-body {
padding-top: 70px !important;
}
@media (max-width: 767px) {
.mw-body {
padding-top: 60px !important;
}
}
/* ============================================================
2. ПОСИЛАННЯ
============================================================ */
a { color: #a19ce0 !important; }
a:hover { color: #a19ce0 !important; }
a:visited { color: #a19ce0 !important; }
a.new { color: #ff7777 !important; }
a.new:hover { color: #ff7777 !important; }
a.new:visited { color: #ff7777 !important; }
/* ============================================================
3. ТИПОГРАФІКА
============================================================ */
b, strong {
font-weight: 600 !important;
color: #ebebeb !important;
}
h4 {
font-size: 11px !important;
font-weight: 700 !important;
letter-spacing: .10em !important;
text-transform: uppercase !important;
color: #b7b4bf !important;
opacity: .45 !important;
margin: 22px 0 8px !important;
}
/* H2 секції */
.content .mw-parser-output > h2,
.content .section-heading {
font-size: 18px !important;
font-weight: 700 !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 offset — щоб секція не ховалась під header при anchor */
.mw-parser-output h2,
.mw-parser-output .mw-headline {
scroll-margin-top: 80px !important;
}
blockquote {
border-left: 4px solid #e74c3c;
border-bottom: 1px solid rgba(231,76,60,0.2);
padding: 20px 24px;
font-family: 'Linux Libertine', Georgia, serif;
font-size: 18px;
font-style: italic;
background: rgba(231,76,60,0.04);
border-radius: 2px 12px 12px 2px;
box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.content hr {
background-color: #3a3a4a !important;
height: 2px !important;
border: 0 !important;
}
@media (max-width: 720px) {
.content hr {
display: none !important;
}
}
/* ============================================================
4. HEADER
============================================================ */
.header-container.header-chrome {
background-color: rgba(30,30,42,0.88) !important;
backdrop-filter: blur(12px) !important;
-webkit-backdrop-filter: blur(12px) !important;
box-shadow: 0 1px 0 rgba(255,255,255,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;
}
.overlay-header,
.minerva-header {
border-top: none !important;
margin-top: 0 !important;
}
/* Логотип + назва */
.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: 600 !important;
color: #fff !important;
white-space: nowrap !important;
font-family: 'Manrope', sans-serif !important;
}
.minerva-header .branding-box a { color: #b7b4bf !important; }
.minerva-header .branding-box { opacity: 1 !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.10) !important;
font-family: 'Manrope', sans-serif !important;
font-size: 14px !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::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 .navigation-drawer { display: none !important; }
.minerva-user-navigation { display: none !important; }
.minerva-user-navigation > *:last-child { display: none !important; }
.minerva-user-navigation .minerva-notifications { display: none !important; }
.minerva-header .navigation-drawer .toggle-list__toggle { display: none !important; }
.minerva-icon--menu-base20, .minerva-icon--menu {
filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%);
}
/* Ховаємо зайве */
.minerva-footer { display: none !important; }
.minerva__tab-container { display: none !important; }
.page-actions-menu { display: none !important; }
.mw-ui-icon-mf-articlesSearch { visibility: hidden !important; display: none !important; }
.image-details.is-visible { display: none !important; }
#toc, .toc { display: none !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 .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; }
/* Мобільний header */
@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 { padding: 6px 12px !important; }
.minerva-header { padding: 4px 0 !important; gap: 10px !important; }
.minerva-header .branding-box a::before { width: 28px !important; height: 28px !important; }
.minerva-header .branding-box a span { font-size: 14px !important; }
.mw-body { padding-top: 52px !important; }
}
@media (max-width: 720px) {
.minerva-header .branding-box a span { display: none !important; }
}
/* ============================================================
5. ПОШУК — блокування overlay
============================================================ */
.overlay.search-overlay,
.search-overlay {
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
}
body.overlay-enabled,
body.search-enabled {
overflow: auto !important;
position: static !important;
background-color: #15151f !important;
}
#searchInput { pointer-events: auto !important; cursor: text !important; }
.search-box .search {
background-color: #15151f !important;
box-shadow: none !important;
border: 1px solid #232b3a !important;
color: white !important;
}
.overlay.search-overlay .search-content {
background-color: #18151e;
border-bottom: 0.2px solid rgba(255,255,255,0.07) !important;
color: #a19ce0 !important;
}
.overlay.search-overlay .search-content .caption { padding-left: 30px !important; }
.overlay.search-overlay .results,
.overlay.search-overlay .search-feedback {
background-color: #18151e !important;
color: white !important;
box-shadow: none !important;
}
/* ============================================================
6. КОНТЕНТ — відступ від l-box
============================================================ */
@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: 280px !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;
}
/* Сторінки з широкими таблицями */
.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-right: 16px !important;
width: calc(100% - 32px) !important;
max-width: none !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;
position: fixed !important;
left: 0 !important;
}
/* ============================================================
7. WIKITABLE — основні стилі
============================================================ */
.wikitable {
border: none !important;
border-collapse: separate !important;
border-spacing: 0 !important;
width: 100%;
background-color: transparent !important;
font-family: 'Manrope', sans-serif !important;
}
/* Заголовки */
.content .mw-parser-output .wikitable > thead > tr > th,
.content .mw-parser-output .wikitable > * > tr:first-child > th {
background-color: rgba(24,21,30,0.82) !important;
color: #e8e6df !important;
font-family: 'Manrope', sans-serif !important;
font-size: 11.5px !important;
font-weight: 700 !important;
letter-spacing: .08em !important;
text-transform: uppercase !important;
padding: 11px 14px !important;
border: none !important;
border-bottom: 2px solid rgba(161,156,224,0.22) !important;
white-space: nowrap !important;
}
/* Непарні рядки */
.content .mw-parser-output .wikitable > tbody > tr:nth-child(odd) > td,
.content .mw-parser-output .wikitable > * > tr:nth-child(odd) > td {
background-color: rgba(24,21,30,0.32) !important;
}
/* Парні рядки */
.content .mw-parser-output .wikitable > tbody > tr:nth-child(even) > td,
.content .mw-parser-output .wikitable > * > tr:nth-child(even) > td {
background-color: rgba(24,21,30,0.55) !important;
}
/* Всі td */
.content .mw-parser-output .wikitable > tbody > tr > td,
.content .mw-parser-output .wikitable > * > tr > td {
border: none !important;
border-bottom: 1px solid rgba(255,255,255,0.05) !important;
padding: 10px 14px !important;
font-family: 'Manrope', sans-serif !important;
font-size: 14px !important;
color: #b7b4bf !important;
vertical-align: middle !important;
}
/* Hover */
.content .mw-parser-output .wikitable > tbody > tr:hover > td,
.content .mw-parser-output .wikitable > * > tr:hover > td {
background-color: rgba(25,87,255,0.12) !important;
transition: background-color 0.12s ease !important;
}
/* Перший/останній рядок */
.content .mw-parser-output .wikitable > tbody > tr:first-child > td,
.content .mw-parser-output .wikitable > * > tr:first-child > td {
border-top: none !important;
}
.content .mw-parser-output .wikitable > tbody > tr:last-child > td,
.content .mw-parser-output .wikitable > * > tr:last-child > td {
border-bottom: none !important;
}
.content .mw-parser-output .wikitable td {
vertical-align: middle !important;
}
/* Посилання в таблицях */
.content .mw-parser-output .wikitable td a {
color: #a19ce0 !important;
font-weight: 500 !important;
}
.content .mw-parser-output .wikitable td a:hover {
color: #c4bfff !important;
text-decoration: underline !important;
}
/* External links в таблицях — без іконки */
.wikitable .external { background: none !important; padding-right: 0 !important; }
.wikitable a.external::after { content: '' !important; display: none !important; }
/* ============================================================
8. СОРТУВАННЯ
============================================================ */
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),
.jquery-tablesorter th.headerSort {
background-color: rgba(24,21,30,0.82) !important;
color: #e8e6df !important;
font-family: 'Manrope', sans-serif !important;
font-weight: 700 !important;
font-size: 11.5px !important;
letter-spacing: .08em !important;
text-transform: uppercase !important;
padding: 11px 14px !important;
padding-right: 24px !important;
background-image: none !important;
cursor: pointer !important;
position: relative !important;
user-select: none !important;
white-space: nowrap !important;
border-bottom: 2px solid rgba(161,156,224,0.22) !important;
}
/* Іконка сортування */
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable)::after,
.jquery-tablesorter th.headerSort::after {
content: "⇅" !important;
position: absolute !important;
right: 7px !important;
top: 50% !important;
transform: translateY(-50%) !important;
font-size: 11px !important;
color: rgba(255,255,255,0.22) !important;
font-weight: 400 !important;
}
.jquery-tablesorter th.headerSortUp::after {
content: "▲" !important;
color: #a19ce0 !important;
font-size: 11px !important;
}
.jquery-tablesorter th.headerSortDown::after {
content: "▼" !important;
color: #a19ce0 !important;
font-size: 11px !important;
}
/* Hover */
.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.28) !important;
transition: background-color 0.15s ease !important;
}
/* ============================================================
9. АНІМАЦІЯ РЯДКІВ
============================================================ */
.wikitable tbody tr {
animation: mcc-row-in 0.30s ease both;
}
.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(3) { animation-delay: 0.09s; }
.wikitable tbody tr:nth-child(4) { animation-delay: 0.12s; }
.wikitable tbody tr:nth-child(5) { animation-delay: 0.15s; }
.wikitable tbody tr:nth-child(6) { animation-delay: 0.18s; }
.wikitable tbody tr:nth-child(7) { animation-delay: 0.21s; }
.wikitable tbody tr:nth-child(8) { animation-delay: 0.24s; }
.wikitable tbody tr:nth-child(9) { animation-delay: 0.27s; }
.wikitable tbody tr:nth-child(10) { animation-delay: 0.30s; }
.wikitable tbody tr:nth-child(n+11) { animation-delay: 0.33s; }
@keyframes mcc-row-in {
from { opacity: 0; transform: translateX(-5px); }
to { opacity: 1; transform: translateX(0); }
}
/* Після сортування — клас додається JS */
.wikitable.mcc-sorting tbody tr { animation: none; }
.wikitable.mcc-sorted tbody tr { animation: mcc-row-in 0.25s ease both; }
.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(3) { animation-delay: 0.06s; }
.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(6) { animation-delay: 0.12s; }
.wikitable.mcc-sorted tbody tr:nth-child(7) { animation-delay: 0.14s; }
.wikitable.mcc-sorted tbody tr:nth-child(8) { animation-delay: 0.16s; }
.wikitable.mcc-sorted tbody tr:nth-child(9) { animation-delay: 0.18s; }
.wikitable.mcc-sorted tbody tr:nth-child(10) { animation-delay: 0.20s; }
.wikitable.mcc-sorted tbody tr:nth-child(n+11) { animation-delay: 0.22s; }
/* ============================================================
10. ШИРОКІ ТАБЛИЦІ — горизонтальний скрол
============================================================ */
/* Обгортка — додається JS */
.mcc-scroll-outer {
position: relative;
}
.mcc-scroll-outer::after {
content: '';
position: absolute;
right: 0; top: 0; bottom: 0;
width: 40px;
background: linear-gradient(to right, transparent, rgba(21,21,31,0.90));
pointer-events: none;
transition: opacity 0.25s;
border-radius: 0 6px 6px 0;
}
.mcc-scroll-outer.mcc-no-fade::after { opacity: 0; }
.mcc-scroll-inner {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.mcc-wide-table { min-width: 860px; }
/* Сторінки з широкими таблицями */
.page-Ігри .mw-parser-output,
.page-Статистика .mw-parser-output,
.page-Гравці .mw-parser-output,
.page-Фундація .mw-parser-output,
.page-Призовий_фонд .mw-parser-output,
.page-Призові .mw-parser-output,
.page-Фіналіст .mw-parser-output,
.page-Титули .mw-parser-output,
.page-Період .mw-parser-output,
.page-Перша_статистика .mw-parser-output {
overflow-x: auto !important;
}
/* Компактний стиль для широких таблиць */
.wide-table,
.page-Ігри .wikitable,
.page-Статистика .wikitable,
.page-Гравці .wikitable,
.page-Фундація .wikitable,
.page-Призовий_фонд .wikitable,
.page-Призові .wikitable,
.page-Фіналіст .wikitable,
.page-Титули .wikitable,
.page-Період .wikitable,
.page-Перша_статистика .wikitable {
width: 100% !important;
font-size: 12px !important;
table-layout: auto !important;
}
/* ============================================================
11. ВІНРЕЙТ — кольорове підсвічення
============================================================ */
.wr-hi { color: #5aaa80 !important; }
.wr-lo { color: #c06070 !important; }
/* ============================================================
12. L-BOX — БІЧНЕ МЕНЮ
============================================================ */
.l-box {
position: fixed;
top: 80px;
left: 20px;
z-index: 100;
width: 220px;
background: none;
font-size: 13.5px;
max-height: calc(100vh - 100px);
overflow-y: auto;
}
.l-box-item {
display: flex !important;
align-items: center !important;
padding: 10px 20px !important;
border-bottom: 1px solid rgba(255,255,255,0.05) !important;
border-left: 3px solid transparent !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;
}
.l-box-item span:first-child { flex: 1; }
.l-box-item:hover {
background: #373752 !important;
border-left-color: #555 !important;
color: #fff !important;
}
.l-box-item.active {
background: #373752 !important;
border-left-color: #8ab4f8 !important;
color: #fff !important;
font-weight: 600 !important;
}
.l-box-item-last { border-bottom: none !important; }
/* Badge — помаранчевий */
.mcc-badge {
background: rgba(210,130,60,0.18);
border-radius: 20px;
padding: 1px 7px;
font-size: 10.5px;
color: #d4895a;
font-weight: 700;
flex-shrink: 0;
margin-left: 6px;
}
@media (max-width: 1400px) {
.l-box { display: none !important; }
}
/* ============================================================
13. R-BOX — ПРАВА ПАНЕЛЬ
============================================================ */
.r-box,
.tournament-box,
.series-box {
position: fixed !important;
top: 80px !important;
right: 20px !important;
z-index: 100 !important;
width: 300px !important;
max-height: calc(100vh - 100px) !important;
overflow-y: auto !important;
box-sizing: border-box !important;
padding: 0 !important;
background: rgba(22,20,30,0.88) !important;
backdrop-filter: blur(10px) !important;
-webkit-backdrop-filter: blur(10px) !important;
border: 1px solid #232b3a !important;
border-radius: 10px !important;
}
/* Фото */
.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: 180px !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.18);
border-radius: 6px;
background: rgba(255,215,0,0.05);
padding: 12px 14px;
text-align: center;
margin: 12px;
}
.rp-ch-lbl {
font-size: 9.5px;
font-weight: 700;
letter-spacing: .13em;
text-transform: uppercase;
color: #c8a840;
opacity: .8;
margin-bottom: 3px;
}
.rp-ch-name {
font-size: 17px;
font-weight: 800;
color: #ffd700;
font-family: 'Manrope', sans-serif;
}
/* Info таблиця всередині r-box */
.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;
animation: none !important; /* без анімації в info таблиці */
}
.r-box-info-table tr:last-child { border-bottom: none !important; }
.r-box-info-table th,
.r-box-info-table td {
padding: 8px 14px !important;
font-size: 12.5px !important;
font-family: 'Manrope', sans-serif !important;
background: none !important;
border: none !important;
border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}
.r-box-info-table th {
font-weight: 500 !important;
color: #b7b4bf !important;
opacity: .55 !important;
text-transform: none !important;
letter-spacing: 0 !important;
text-align: left !important;
width: 50% !important;
}
.r-box-info-table td {
text-align: right !important;
color: #ebebeb !important;
font-weight: 600 !important;
width: 50% !important;
}
.r-box-gold { color: #c8a840 !important; }
/* Навігація (стрілки) всередині r-box */
.tournament-nav,
.series-nav,
.player-nav,
.championship-nav {
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
padding: 12px 14px !important;
margin-bottom: 0 !important;
font-size: 14px !important;
font-family: 'Manrope', sans-serif !important;
background: rgba(18,15,24,0.9) !important;
border-radius: 10px 10px 0 0 !important;
border-bottom: 1px solid #232b3a !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: #b7b4bf !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;
top: auto !important; right: auto !important;
max-height: none !important;
overflow-y: visible !important;
border-radius: 8px !important;
}
}
/* R-box мобільна — фото */
@media (max-width: 768px) {
.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;
height: 100% !important;
object-fit: cover;
object-position: center center;
}
}
/* ============================================================
14. PLAYER TABS
============================================================ */
.player-tabs {
display: flex;
border-bottom: 2px solid #3a3a4a;
margin-top: 20px;
margin-bottom: 20px;
gap: 0;
}
.player-tab {
padding: 12px 24px;
cursor: pointer;
color: rgba(255,255,255,0.38);
font-size: 14.5px;
font-weight: 500;
font-family: 'Manrope', sans-serif;
border-bottom: 2px solid transparent;
margin-bottom: -2px;
transition: color 0.18s, border-color 0.18s;
user-select: none;
}
.player-tab:hover { color: rgba(255,255,255,0.7); background: transparent; }
.player-tab.active {
color: #fff !important;
border-bottom-color: #a19ce0 !important;
background: transparent !important;
}
.player-tab-content { display: none; }
.player-tab-content.active {
display: block;
animation: mcc-fade-in 0.28s ease both;
}
@keyframes mcc-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
.tab-loader {
text-align: center;
padding: 40px;
color: #888;
font-size: 14px;
font-family: 'Manrope', sans-serif;
}
.tab-loader::before {
content: '';
display: block;
width: 28px; height: 28px;
margin: 0 auto 16px;
border: 2px solid rgba(161,156,224,0.2);
border-top-color: #a19ce0;
border-radius: 50%;
animation: mcc-spin 0.8s linear infinite;
}
@keyframes mcc-spin { to { transform: rotate(360deg); } }
@media (max-width: 768px) {
.player-tabs { margin-top: 16px; margin-bottom: 16px; }
.player-tab { padding: 10px 16px; font-size: 13px; flex: 1; text-align: center; }
}
/* ============================================================
15. STAT PILLS
============================================================ */
.mcc-stat-row {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 16px 0 20px;
}
.mcc-stat-pill {
display: inline-flex;
align-items: center;
gap: 8px;
background: #18151e;
border: 1px solid #232b3a;
border-radius: 8px;
padding: 8px 14px;
}
.mcc-stat-pill-lbl {
font-size: 11px;
font-weight: 700;
letter-spacing: .08em;
text-transform: uppercase;
color: #b7b4bf;
opacity: .5;
}
.mcc-stat-pill-val {
font-size: 14px;
font-weight: 700;
color: #ebebeb;
}
/* ============================================================
16. КНОПКА ЗАПИСУ ГРИ
============================================================ */
.game-record-btn {
display: inline-block;
padding: 3px 9px;
background-color: rgba(208,47,47,0.18);
color: #e08080;
border-radius: 4px;
font-size: 12px;
font-family: 'Manrope', sans-serif;
cursor: pointer;
transition: background-color 0.15s;
border: 1px solid rgba(208,47,47,0.25);
}
.game-record-btn:hover { background-color: rgba(208,47,47,0.35); opacity: 1; }
.game-record-btn a { color: #e08080 !important; text-decoration: none !important; }
/* ============================================================
17. PROFILE LINKS — 4 квадрати
============================================================ */
.profile-links {
margin-top: 0;
padding: 0;
border-top: 1px solid rgba(255,255,255,0.06);
}
.profile-links-title { display: none; }
.profile-links-icons {
display: grid !important;
grid-template-columns: 1fr 1fr 1fr 1fr !important;
gap: 0 !important;
}
.profile-icon {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
padding: 14px 8px !important;
border-right: 1px solid rgba(255,255,255,0.07);
background: rgba(24,21,30,0.4);
transition: background 0.14s;
cursor: pointer;
}
.profile-icon:last-child { border-right: none; }
.profile-icon:hover { background: #373752; }
.profile-icon img {
display: block !important;
width: 26px !important;
height: 26px !important;
object-fit: contain;
}
/* Неактивний */
.profile-icon.inactive {
opacity: 0.28;
pointer-events: none;
cursor: default;
}
.profile-icon.inactive img { filter: grayscale(100%); }
/* ============================================================
18. МОБІЛЬНИЙ ПОШУК
============================================================ */
.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); }
/* ============================================================
19. ГОЛОВНА СТОРІНКА — БЛОКИ
============================================================ */
.flex__block { display: flex; justify-content: space-between; align-items: center; }
.home__blocks { gap: 20px; align-items: stretch; margin-bottom: 20px; }
.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-image-block {
flex-direction: column; border-radius: 0;
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; 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: 0; background: none;
padding: 20px 20px 0; flex-grow: 0;
}
.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-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 span:first-child { font-weight: 500; color: #fff; }
@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; }
}
/* ============================================================
20. ГЕРОЇ — ГОЛОВНА СТОРІНКА
============================================================ */
.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: 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-nickname a:hover { text-decoration: underline; color: #fff !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 { 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 li { width: calc((100% - 8px) / 2); }
.mcc-hero-nickname { font-size: 0.9em; }
}
/* ============================================================
21. РІЗНЕ
============================================================ */
.content ul { list-style-type: none !important; padding-left: 0 !important; }
.list-thumb.list-thumb-none { background-color: #18151e !important; }
.page-list li, .topic-title-list li, .site-link-list li {
border-bottom: 0.2px solid rgba(255,255,255,0.07) !important;
}
li.gallerybox div.thumb { background-color: #18151e !important; border: none !important; }
.content kbd, .content samp, .content code, .content pre { border: none !important; }
.content pre { padding: 10px 0 !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; }
@media (max-width: 994px) { .harley { display: none; } }
@media (max-width: 720px) {
.r-box { float: none !important; margin-left: 0 !important; }
.content table { display: table !important; }
}
/* 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__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 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 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: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:hover { background: #2563eb; }
@media (max-width: 768px) {
.header-banner { flex-direction: column; gap: 16px; padding: 20px; text-align: center; }
.header-banner__search { width: 100%; }
.header-banner__search input { flex: 1; width: auto; margin-right: 0; }
.header-banner__logo > span:last-child { font-size: 16px; }
}
@media (max-width: 480px) {
.header-banner__logo > span:last-child { display: none; }
}