5494
редагування
Admin (обговорення | внесок) Немає опису редагування Мітка: Скасовано |
Admin (обговорення | внесок) Немає опису редагування |
||
| (Не показані 154 проміжні версії цього користувача) | |||
| Рядок 1: | Рядок 1: | ||
/** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */ | /** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */ | ||
/* ==================================================== */ | |||
/* ЗАГАЛЬНІ СТИЛІ ТА UI */ | |||
/* ==================================================== */ | |||
@media (max-width: 720px) { | @media (max-width: 720px) { | ||
.r-box { | .r-box { float:none !important; margin-left:0 !important; } | ||
.content table { display:table !important; } | |||
.content table { | |||
} | } | ||
.overlay.search-overlay .search-content { | .overlay.search-overlay .search-content { | ||
background-color: #18151e; | background-color: #18151e; | ||
border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important; | border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important; | ||
color: #a19ce0!important; | color: #a19ce0!important; | ||
} | } | ||
.page-Main_Page .mw-first-heading { | .page-Main_Page .mw-first-heading { display: none!important; } | ||
display: none!important; | .page-Головна_сторінка .mw-first-heading { display: none!important; } | ||
} | |||
.overlay.search-overlay .search-content .caption { | .overlay.search-overlay .search-content .caption { padding-left: 30px!important; } | ||
padding-left: 30px!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: 0.2px solid rgba(255, 255, 255, 0.07)!important; | border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important; | ||
} | } | ||
.mw-ui-icon-mf-articlesSearch { visibility: hidden!important; display:none!important; background-image:none!important; } | |||
body { | |||
background-color: #15151f !important; | |||
background-image: url('/images/a/a1/Background_x%402x.png') !important; | |||
background- | background-size: cover !important; | ||
background-repeat: no-repeat !important; | |||
background-position: center center !important; | |||
background-attachment: fixed !important; | |||
} | } | ||
#mw-mf-viewport, | |||
#mw-mf-page-center, | |||
#content, | |||
.mw-body { | |||
background-color: transparent !important; | |||
} | |||
.header-container.header-chrome { | .header-container.header-chrome { | ||
background-color: | background-color: rgba(30, 30, 42, 0.85) !important; | ||
backdrop-filter: blur(12px) !important; | |||
-webkit-backdrop-filter: blur(12px) !important; | |||
} | } | ||
.list-thumb.list-thumb-none { background-color: #18151e!important; } | |||
.list-thumb.list-thumb-none { | |||
} | |||
.overlay.search-overlay .results, .overlay.search-overlay .search-feedback { | .overlay.search-overlay .results, .overlay.search-overlay .search-feedback { | ||
background-color: #18151e!important; | background-color: #18151e!important; | ||
color: white!important; | color: white!important; | ||
} | } | ||
.overlay.search-overlay .results { | .overlay.search-overlay .results { box-shadow: none!important; } | ||
box-shadow: none!important; | |||
} | |||
.minerva-header .branding-box a { | .minerva-header .branding-box a { color: #b7b4bf!important; } | ||
} | |||
.minerva-header .branding-box { | .minerva-header .branding-box { opacity: 1.0!important; } | ||
opacity: 1.0!important; | |||
} | |||
.minerva-icon--menu-base20, .minerva-icon--menu { | .minerva-icon--menu-base20, .minerva-icon--menu { | ||
invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%); | filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%); | ||
} | } | ||
| Рядок 76: | Рядок 69: | ||
background-color: #15151f!important; | background-color: #15151f!important; | ||
color: #b7b4bf!important; | color: #b7b4bf!important; | ||
padding-bottom: 140px!important; | padding-bottom: 140px!important; | ||
} | } | ||
@media (max-width: 767px) { | @media (max-width: 767px) { | ||
.overlay-enabled, .mw-body { | .overlay-enabled, .mw-body { | ||
padding-bottom: 80px!important; | padding-bottom: 80px!important; | ||
} | } | ||
} | } | ||
a.new { color: #ff7777!important; } | |||
a.new:hover { color: #ff7777!important; } | |||
a.new:visited { color: #ff7777!important; } | |||
} | |||
a { color: #a19ce0!important; } | |||
a:hover { color: #a19ce0!important; } | |||
a:visited { color: #a19ce0!important; } | |||
.minerva-footer { | |||
color: # | background-color: #15151f!important; | ||
color: #b7b4bf!important; | |||
display: none!important; | |||
} | |||
h4 { | |||
opacity: 0.5!important; | |||
font-weight: 400!important; | |||
} | } | ||
.minerva__tab-container { display:none!important; } | |||
color: # | |||
#mw-mf-page-center { background-color: #15151f!important; } | |||
.content .mw-parser-output > h2, .content .section-heading { | |||
border-bottom: 1px solid #232b3a!important; | |||
padding-top: 30px!important; | |||
padding-bottom: 10px!important; | |||
} | } | ||
.search-box .search { | |||
color: # | background-color: #15151f!important; | ||
box-shadow: none!important; | |||
border: 1px solid #232b3a!important; | |||
color: white!important; | |||
} | |||
b, strong { font-weight: 400!important; color: #ebebeb!important; } | |||
.page-actions-menu { | |||
box-sizing: border-box; | |||
border-top: 1px solid #232b3a!important; | |||
border-bottom: 1px solid #232b3a!important; | |||
margin-top: -1px; | |||
display: none!important; | |||
} | } | ||
.content ul { list-style-type: none!important; padding-left: 0em!important; } | |||
.toc { background-color: #18151e!important; border: none!important; } | |||
.content kbd, .content samp, .content code, .content pre { border: none!important; } | |||
.content pre { | |||
padding-left: 0px!important; | |||
padding-top: 10px!important; | |||
padding-right: 0px!important; | |||
padding-bottom: 10px!important; | |||
} | } | ||
.content .mw-parser-output h1 .mw-editsection, .content .mw-parser-output h2 .mw-editsection, .content .mw-parser-output h3 .mw-editsection, .content .mw-parser-output h4 .mw-editsection, .content .mw-parser-output h5 .mw-editsection, .content .mw-parser-output h6 .mw-editsection { | |||
visibility:hidden!important; | |||
display:none!important; | |||
} | } | ||
a: | .page-Main_Page #page-secondary-actions a { display:none!important; } | ||
.page-Головна_сторінка #page-secondary-actions a { display:none!important; } | |||
.mw-ui-icon-mf-expand { background-image:none!important; } | |||
.mw-ui-icon-mf-expand:before { | |||
content: "+"; | |||
color: white; | |||
font-size: 16px; | |||
font-weight: bold; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
line-height: 1em; | |||
text-align: center; | |||
vertical-align: middle; | |||
} | } | ||
.mf-icon, .mf-icon--small, .mf-icon--large { display: inline-flex; align-items: center; justify-content: center; } | |||
} | .mf-mw-ui-icon-rotate-flip { transform: rotate(45deg)!important; } | ||
li.gallerybox div.thumb { background-color: #18151e!important; border: none!important; } | |||
} | |||
.image-details.is-visible { display: none!important; } | |||
. | .content table, .content .infobox { text-align: center!important; } | ||
} | |||
. | .minerva-header .navigation-drawer .toggle-list__toggle { display:none!important; } | ||
display:none!important; | |||
} | |||
.minerva-user-navigation .minerva-notifications { display:none!important; } | |||
} | |||
.minerva-user-navigation > *:last-child { display: none!important; } | |||
/* ==================================================== */ | |||
/* HEADER - ФІКСОВАНИЙ НА ВСЮ ШИРИНУ */ | |||
/* ==================================================== */ | |||
. | .header-container.header-chrome { | ||
background-color: | background-color: rgba(30, 30, 42, 0.85) !important; | ||
box-shadow: | backdrop-filter: blur(12px) !important; | ||
-webkit-backdrop-filter: blur(12px) !important; | |||
box-shadow: 5px 12px 24px rgba(0, 0, 0, 0.05) !important; | |||
position: fixed !important; | |||
top: 0 !important; | |||
left: 0 !important; | |||
right: 0 !important; | |||
z-index: 1000 !important; | |||
padding: 0 20px !important; | |||
margin-left: 0 !important; | |||
border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; | |||
} | } | ||
.minerva-header { | |||
display: flex !important; | |||
align-items: center !important; | |||
} | justify-content: space-between !important; | ||
width: 100% !important; | |||
max-width: none !important; | |||
padding: 10px 0 !important; | |||
gap: 20px !important; | |||
margin-left: 0 !important; | |||
} | |||
. | /* Branding box - логотип + назва зліва */ | ||
.minerva-header .branding-box { | |||
display: flex !important; | |||
align-items: center !important; | |||
gap: 12px !important; | |||
flex-shrink: 0 !important; | |||
} | } | ||
. | .minerva-header .branding-box a { | ||
display: flex !important; | |||
align-items: center !important; | |||
gap: 12px !important; | |||
text-decoration: none !important; | |||
} | } | ||
.content | /* Логотип */ | ||
/* Логотип */ | |||
.minerva-header .branding-box a::before { | |||
content: '' !important; | |||
display: block !important; | |||
width: 40px !important; | |||
height: 40px !important; | |||
background-image: url('/images/d/d7/MafiaClosedCircleLogo.png') !important; | |||
background-size: contain !important; | |||
background-repeat: no-repeat !important; | |||
background-position: center !important; | |||
flex-shrink: 0 !important; | |||
} | } | ||
/* Назва сайту */ | |||
.minerva-header .branding-box a span { | |||
font-size: 18px !important; | |||
font-weight: 500 !important; | |||
color: #fff !important; | |||
white-space: nowrap !important; | |||
} | |||
. | /* Пошук - розтягується праворуч */ | ||
.minerva-header .minerva-search-form { | |||
flex-grow: 1 !important; | |||
max-width: 400px !important; | |||
margin-left: auto !important; | |||
} | |||
.minerva-header .search-box { | |||
width: 100% !important; | |||
position: relative !important; | |||
} | } | ||
. | .minerva-header .search-box .search { | ||
background-color: # | width: 100% !important; | ||
border: | padding: 10px 16px 10px 40px !important; | ||
border-radius: 8px !important; | |||
background-color: #15151f !important; | |||
border: 1px solid rgba(255, 255, 255, 0.1) !important; | |||
} | } | ||
. | .minerva-header .search-box .search::placeholder { | ||
. | color: rgba(255, 255, 255, 0.4) !important; | ||
} | } | ||
.minerva-header .search-box .search:focus { | |||
border-color: #a19ce0 !important; | |||
outline: none !important; | |||
} | |||
. | /* Іконка лупи */ | ||
.minerva-header .search-box::before { | |||
. | content: '' !important; | ||
position: absolute !important; | |||
left: 12px !important; | |||
top: 50% !important; | |||
transform: translateY(-50%) !important; | |||
width: 16px !important; | |||
height: 16px !important; | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") !important; | |||
background-size: contain !important; | |||
background-repeat: no-repeat !important; | |||
z-index: 1 !important; | |||
pointer-events: none !important; | |||
} | |||
/* Прибираємо стандартну іконку пошуку */ | |||
.minerva-header .search-box .search.minerva-icon--search { | |||
background-image: none !important; | |||
} | } | ||
. | /* Ховаємо меню та user navigation */ | ||
. | .minerva-header .navigation-drawer { | ||
display: none !important; | |||
} | |||
.minerva-user-navigation { | |||
display: none !important; | |||
} | } | ||
/* ==================================================== */ | |||
/* СТИЛІ ТАБЛИЦЬ У СТИЛІ LIQUIPEDIA */ | |||
/* ==================================================== */ | |||
.wikitable { | .wikitable { | ||
border: none!important; | border: none !important; | ||
border-color: | border-collapse: separate !important; | ||
border-spacing: 0 !important; | |||
width: 100%; | |||
background-color: transparent !important; | |||
} | } | ||
. | .wikitable .external { | ||
background: none !important; | |||
padding-right: 0 !important; | |||
} | } | ||
. | .wikitable a.external::after { | ||
display:none!important; | content: '' !important; | ||
display: none !important; | |||
} | } | ||
. | .wikitable > tr > th, | ||
.wikitable > tr > td, | |||
.wikitable > * > tr > th, | |||
.wikitable > * > tr > td { | |||
border: none !important; | |||
border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; | |||
padding: 8px 12px !important; | |||
background: none; | |||
} | } | ||
. | .wikitable > thead > tr > th, | ||
.wikitable > * > tr:first-child > th { | |||
background-color: rgba(24, 21, 30, 0.6) !important; | |||
border-bottom: 2px solid rgba(161, 156, 224, 0.3) !important; | |||
font-weight: 500 !important; | |||
text-transform: uppercase; | |||
font-size: 12px; | |||
letter-spacing: 0.5px; | |||
padding: 10px 12px !important; | |||
} | } | ||
. | .wikitable > tbody > tr:nth-child(odd) > td, | ||
.wikitable > * > tr:nth-child(odd) > td { | |||
background-color: rgba(24, 21, 30, 0.3) !important; | |||
} | } | ||
.wikitable > tbody > tr:nth-child(even) > td, | |||
.wikitable > * > tr:nth-child(even) > td { | |||
background-color: rgba(24, 21, 30, 0.5) !important; | |||
} | } | ||
. | .wikitable > tbody > tr:hover > td, | ||
.wikitable > * > tr:hover > td { | |||
background-color: rgba(25, 87, 255, 0.15) !important; | |||
transition: background-color 0.2s ease; | |||
} | |||
/* ==================================================== */ | |||
/* SORTABLE СТРІЛОЧКИ */ | |||
/* ==================================================== */ | |||
. | .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), | ||
.jquery-tablesorter th.headerSort { | |||
background-color: rgba(24, 21, 30, 0.6) !important; | |||
color: white !important; | |||
font-weight: 500 !important; | |||
padding: 10px 12px !important; | |||
padding-right: 24px !important; | |||
background-image: none !important; | |||
cursor: pointer; | |||
position: relative; | |||
user-select: none; | |||
} | } | ||
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort { | .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable)::after, | ||
.jquery-tablesorter th.headerSort::after { | |||
content: "⇅"; | |||
position: absolute; | |||
right: 8px; | |||
top: 50%; | |||
transform: translateY(-50%); | |||
font-size: 14px; | |||
color: rgba(255, 255, 255, 0.3); | |||
font-weight: normal; | |||
} | } | ||
.jquery-tablesorter th.headerSortUp::after { | |||
content: "▲"; | |||
. | color: #a19ce0 !important; | ||
font-size: 12px; | |||
} | } | ||
. | .jquery-tablesorter th.headerSortDown::after { | ||
content: " | content: "▼"; | ||
color: | color: #a19ce0 !important; | ||
font-size: | font-size: 12px; | ||
} | } | ||
. | .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable):hover, | ||
.jquery-tablesorter th.headerSort:hover { | |||
background-color: rgba(25, 87, 255, 0.4) !important; | |||
transition: background-color 0.2s ease; | |||
. | |||
} | } | ||
. | .wikitable > tbody > tr:first-child > td, | ||
.wikitable > * > tr:first-child > td { | |||
border-top: none !important; | |||
} | } | ||
.wikitable > tbody > tr:last-child > td, | |||
.wikitable > * > tr:last-child > td { | |||
border-bottom: none !important; | |||
} | } | ||
.wikitable td { | |||
vertical-align: middle !important; | |||
} | } | ||
. | @media (max-width: 768px) { | ||
.wikitable > tr > th, | |||
.wikitable > tr > td, | |||
.wikitable > * > tr > th, | |||
.wikitable > * > tr > td { | |||
padding: 6px 8px !important; | |||
font-size: 13px; | |||
} | |||
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), | |||
.jquery-tablesorter th.headerSort { | |||
padding: 8px 8px !important; | |||
padding-right: 20px !important; | |||
font-size: 11px; | |||
} | |||
} | } | ||
/* ==================================================== */ | |||
/* HOME PAGE BLOCKS */ | |||
/* ==================================================== */ | |||
.flex__block { | .flex__block { | ||
display: flex; | display: flex; | ||
justify-content: space-between; | justify-content: space-between; | ||
align-items: center | align-items: center | ||
| Рядок 366: | Рядок 476: | ||
background-size: cover; | background-size: cover; | ||
} | } | ||
.home__block-image { | .home__block-image { | ||
| Рядок 424: | Рядок 520: | ||
.home__block-content-title { | .home__block-content-title { | ||
line-height: 1; | line-height: 1; | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
} | } | ||
.home__block-content-inner pre { | .home__block-content-inner pre { | ||
font-family: 'Helvetica'!important; | font-family: 'Helvetica'!important; | ||
padding: 0!important; | padding: 0!important; | ||
display: block!important; | display: block!important; | ||
} | } | ||
.home__block-content-title .content p { | |||
.home__block-content-title | margin: 0!important; | ||
margin: 0!important; | |||
} | } | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.home__blocks { | .home__blocks { | ||
display:block; | display:block; | ||
padding-top: 10px; | padding-top: 10px; | ||
} | } | ||
.home__block-content-title { | .home__block-content-title { | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
} | } | ||
.home__block { | .home__block { | ||
width:100%; | width:100%; | ||
} | } | ||
.home__block-content-inner { | .home__block-content-inner { | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
} | |||
} | } | ||
/* ==================================================== */ | |||
/* BACKGROUND */ | |||
/* ==================================================== */ | |||
#mw-mf-viewport, #content, .header-container, .mw-body { | #mw-mf-viewport, #content, .header-container, .mw-body { | ||
background-size: cover !important; | background-size: cover !important; | ||
background-repeat: no-repeat !important; | background-repeat: no-repeat !important; | ||
background-position: center center !important; | background-position: center center !important; | ||
background-attachment: fixed !important; | background-attachment: fixed !important; | ||
} | } | ||
| Рядок 484: | Рядок 569: | ||
} | } | ||
} | } | ||
/* ==================================================== */ | /* ==================================================== */ | ||
/* | /* ГЕРОЇ */ | ||
/* ==================================================== */ | /* ==================================================== */ | ||
.mcc-heroes-list { | |||
padding-top: 20px!important; | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 8px; | |||
list-style: none; | |||
padding: 0; | |||
margin: 0; | |||
} | } | ||
. | .mcc-heroes-list li { | ||
margin: 0; | |||
padding: 0; | |||
width: calc((100% - 32px) / 5); | |||
} | } | ||
. | .mcc-hero-card { | ||
position: relative; | |||
display: block; | |||
width: 100%; | |||
border-radius: 0; | |||
overflow: hidden; | |||
background: #1a1a2e; | |||
transition: transform 0.2s ease, box-shadow 0.2s ease; | |||
} | |||
. | .mcc-hero-card:hover { | ||
transform: translateY(-4px); | |||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); | |||
} | } | ||
. | .mcc-hero-card .hero-image-wiki, | ||
.mcc-hero-card .hero-image-wiki img, | |||
. | .mcc-hero-card .mw-file-element, | ||
.mcc-hero-card a.mw-file-description { | |||
display: block; | |||
width: 100%; | |||
height: auto; | |||
} | } | ||
.mcc-hero-info { | |||
position: absolute; | |||
bottom: 0; | |||
left: 0; | |||
right: 0; | |||
padding: 0px 12px 12px; | |||
background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%); | |||
color: #fff; | |||
} | } | ||
. | .mcc-hero-nickname { | ||
font-weight: 700; | |||
font-size: 1.1em; | |||
} | } | ||
. | .mcc-hero-nickname a, | ||
.mcc-hero-nickname a:visited { | |||
color: #fff !important; | |||
text-decoration: none; | |||
background: none !important; | |||
padding-right: 0 !important; | |||
} | } | ||
.mcc-hero-nickname a:hover { | |||
text-decoration: underline; | |||
color: #fff !important; | |||
} | } | ||
a. | .mcc-hero-nickname a.external, | ||
a. | .mcc-hero-nickname a.external:after, | ||
a. | .mcc-hero-nickname a.extiw, | ||
.mcc-hero-nickname a.extiw:after { | |||
background-image: none !important; | |||
a: | padding-right: 0 !important; | ||
} | } | ||
. | .mcc-hero-nickname a.external::after, | ||
.mcc-hero-nickname a.extiw::after { | |||
content: none !important; | |||
display: none !important; | |||
} | } | ||
. | .mcc-hero-role { | ||
color: #ffd700; | |||
font-size: 0.85em; | |||
font-weight: 600; | |||
} | } | ||
.mcc-hero-date { | |||
font-size: 0.85em; | |||
. | opacity: 0.7; | ||
} | } | ||
. | .mcc-champion-card { | ||
box-shadow: 0 0 0 0.5px orange; | |||
. | |||
} | } | ||
. | .mcc-champion-card:hover { | ||
box-shadow: 0 0 0 1px #ffd700, 0 8px 24px rgba(0, 0, 0, 0.4); | |||
} | } | ||
@media (max-width: 768px) { | |||
. | .mcc-heroes-list { | ||
. | padding: 0; | ||
. | gap: 12px; | ||
} | |||
.mcc-heroes-list li { | |||
width: calc((100% - 12px) / 2); | |||
} | |||
.mcc-hero-info { | |||
padding: 30px 8px 8px; | |||
} | |||
.mcc-hero-nickname { | |||
font-size: 1em; | |||
} | |||
.mcc-hero-date { | |||
font-size: 0.75em; | |||
} | |||
} | } | ||
. | @media (max-width: 360px) { | ||
.mcc-heroes-list { | |||
padding: 0 12px; | |||
gap: 8px; | |||
} | |||
.mcc-heroes-list li { | |||
width: calc((100% - 8px) / 2); | |||
} | |||
.mcc-hero-nickname { | |||
font-size: 0.9em; | |||
} | |||
} | } | ||
/* ==================================================== */ | |||
/* КНОПКА ЗАПИСУ ГРИ */ | |||
/* ==================================================== */ | |||
. | .game-record-btn { | ||
display: inline-block; | |||
padding: 4px 8px; | |||
background-color: #d02f2f; | |||
color: white; | |||
border-radius: 4px; | |||
font-size: 13px; | |||
cursor: pointer; | |||
transition: opacity 0.2s; | |||
} | |||
. | .game-record-btn:hover { | ||
opacity: 0.7; | |||
} | |||
. | .game-record-btn a { | ||
color: white !important; | |||
color: white!important; | text-decoration: none !important; | ||
} | } | ||
/* ==================================================== */ | |||
/* НАВІГАЦІЯ - ГРАВЦІ, ТУРНІРИ, СЕРІЇ, ЧЕМПІОНАТИ */ | |||
/* ==================================================== */ | |||
. | .player-nav, | ||
.tournament-nav, | |||
.series-nav, | |||
.championship-nav { | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
padding: 10px; | |||
margin-bottom: 10px; | |||
font-size: 14px; | |||
background-color: #18151e; | |||
border-radius: 10px; | |||
} | } | ||
. | .player-nav-prev, .player-nav-next, | ||
.tournament-nav-prev, .tournament-nav-next, | |||
. | .series-nav-prev, .series-nav-next, | ||
.championship-nav-prev, .championship-nav-next { | |||
. | font-size: 20px; | ||
font-size: | |||
font-weight: bold; | font-weight: bold; | ||
min-width: 30px; | |||
text-align: center; | text-align: center; | ||
} | } | ||
. | .player-nav-prev a, .player-nav-next a, | ||
.tournament-nav-prev a, .tournament-nav-next a, | |||
. | .series-nav-prev a, .series-nav-next a, | ||
.championship-nav-prev a, .championship-nav-next a { | |||
color: white !important; | |||
text-decoration: none; | |||
transition: opacity 0.2s; | |||
} | |||
. | .player-nav-prev a:hover, .player-nav-next a:hover, | ||
.tournament-nav-prev a:hover, .tournament-nav-next a:hover, | |||
.series-nav-prev a:hover, .series-nav-next a:hover, | |||
.championship-nav-prev a:hover, .championship-nav-next a:hover { | |||
opacity: 0.7; | |||
} | } | ||
. | .player-nav-name, | ||
.tournament-nav-name, | |||
.series-nav-name, | |||
.championship-nav-name { | |||
flex: 1; | |||
text-align: center; | |||
font-weight: bold; | |||
color: white; | |||
font-size: 16px; | |||
} | } | ||
/* ==================================================== */ | /* ==================================================== */ | ||
/* | /* L-BOX МЕНЮ */ | ||
/* ==================================================== */ | /* ==================================================== */ | ||
.l-box { | |||
position: fixed; | |||
top: 100px !important; | |||
left: 20px; | |||
z-index: 100; | |||
width: 220px; | |||
background: none; | |||
border-radius: 4px; | |||
font-size: 13px; | |||
max-height: calc(100vh - 100px) !important; | |||
overflow-y: auto; | |||
} | } | ||
. | .l-box-item { | ||
padding: 12px 20px; | |||
border-bottom: | border-bottom: 1px solid rgba(255,255,255,0.05); | ||
color: # | border-left: 3px solid transparent; | ||
color: #8ab4f8; | |||
cursor: pointer; | |||
transition: all 0.15s; | |||
} | } | ||
. | .l-box-item-last { | ||
border-bottom: none; | |||
} | |||
. | .l-box-item:hover { | ||
background: #373752; | |||
border-left-color: #555; | |||
color: #fff; | |||
} | |||
. | .l-box-item.active { | ||
border- | background: #373752; | ||
border-left-color: #8ab4f8; | |||
color: #fff; | |||
} | } | ||
@media (max-width: 1400px) { | |||
.l-box { | |||
. | display: none !important; | ||
} | |||
} | } | ||
/* ==================================================== */ | |||
/* R-BOX ПАНЕЛІ */ | |||
/* ==================================================== */ | |||
. | .r-box, .tournament-box, .series-box { | ||
top: 100px !important; | |||
max-height: calc(100vh - 100px) !important; | |||
} | |||
. | @media (max-width: 1200px) { | ||
.r-box, .tournament-box, .series-box { | |||
position: static !important; | |||
width: 100% !important; | |||
max-width: none !important; | |||
margin: 0 !important; | |||
top: auto !important; | |||
right: auto !important; | |||
max-height: none !important; | |||
overflow-y: visible !important; | |||
} | |||
} | } | ||
/* ==================================================== */ | |||
/* PROFILE LINKS */ | |||
/* ==================================================== */ | |||
. | .profile-links { | ||
margin-top: 20px; | |||
padding-top: 15px; | |||
border-top: 1px solid rgba(255,255,255,0.05); | |||
padding-bottom: 10px; | |||
} | |||
. | .profile-links-title { | ||
text-align: center; | |||
font-size: 13px; | |||
color: #888; | |||
margin-bottom: 10px; | |||
} | } | ||
. | .profile-links-icons { | ||
display: flex; | |||
flex-direction: row; | |||
justify-content: center; | |||
align-items: center; | |||
gap: 10px; | |||
} | } | ||
.profile-icon { | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
padding: 4px; | |||
} | } | ||
.profile-icon img { | |||
display: block; | |||
height: 24px; | |||
width: auto; | |||
} | } | ||
/* ==================================================== */ | |||
/* TOC */ | |||
/* ==================================================== */ | |||
# | #toc, .toc { | ||
display: none !important; | |||
} | } | ||
. | .r-box ~ * #toc, | ||
.r-box ~ * .toc { | |||
display: none !important; | |||
} | } | ||
/* ==================================================== */ | |||
/* КОНТЕНТ - MARGIN-LEFT ДЛЯ СТОРІНОК З МЕНЮ */ | |||
/* ==================================================== */ | |||
.page- | @media screen and (min-width: 1000px) { | ||
.banner-container, | |||
.minerva-anon-talk-message, | |||
.page-header-bar, | |||
.overlay-header, | |||
.content, | |||
.overlay-content, | |||
.content-unstyled, | |||
.pre-content, | |||
.post-content, | |||
#mw-content-text > form { | |||
margin-left: 300px !important; | |||
} | |||
.page-Головна_сторінка .banner-container, | |||
.page-Головна_сторінка .minerva-anon-talk-message, | |||
.page-Головна_сторінка .page-header-bar, | |||
.page-Головна_сторінка .overlay-header, | |||
.page-Головна_сторінка .content, | |||
.page-Головна_сторінка .overlay-content, | |||
.page-Головна_сторінка .content-unstyled, | |||
.page-Головна_сторінка .pre-content, | |||
.page-Головна_сторінка .post-content, | |||
.page-Головна_сторінка #mw-content-text > form { | |||
margin-left: auto !important; | |||
margin-right: auto !important; | |||
max-width: 1200px !important; | |||
padding-left: 20px !important; | |||
padding-right: 20px !important; | |||
} | |||
} | } | ||
/* ==================================================== */ | |||
/* МОБІЛЬНА ВЕРСІЯ HEADER */ | |||
/* ==================================================== */ | |||
/* ==================================================== */ | |||
/* ФІКС ПОШУКУ - БЛОКУВАННЯ OVERLAY ТА СТРИБАННЯ */ | |||
/* ==================================================== */ | |||
/* Фіксуємо scroll */ | |||
html { | |||
overflow-y: scroll !important; | |||
scrollbar-gutter: stable !important; | |||
} | } | ||
. | /* Блокуємо зміни body при overlay */ | ||
body, | |||
body.overlay-enabled, | |||
body.search-enabled, | |||
body[class*="overlay"], | |||
body[class*="search"] { | |||
overflow: auto !important; | |||
position: static !important; | |||
height: auto !important; | |||
width: 100% !important; | |||
top: auto !important; | |||
left: auto !important; | |||
} | |||
/* Фіксуємо viewport */ | |||
#mw-mf-viewport, | |||
#mw-mf-page-center { | |||
transform: none !important; | |||
transition: none !important; | |||
position: static !important; | |||
overflow: visible !important; | |||
} | } | ||
. | /* Блокуємо зміни при overlay */ | ||
. | .overlay-enabled #mw-mf-viewport, | ||
. | .overlay-enabled #mw-mf-page-center, | ||
. | .overlay-enabled .mw-body, | ||
.overlay-enabled #content { | |||
transform: none !important; | |||
margin: 0 !important; | |||
position: static !important; | |||
} | } | ||
/* Контент завжди має правильний padding-top */ | |||
.mw-body { | |||
padding-top: 70px !important; | |||
} | } | ||
@media (max-width: 767px) { | |||
.mw-body { | |||
padding-top: 60px !important; | |||
} | |||
} | } | ||
. | /* Ховаємо всі overlay елементи */ | ||
.overlay, | |||
. | .search-overlay, | ||
visibility:hidden!important; | .overlay.search-overlay, | ||
.overlay-header, | |||
.overlay-content, | |||
.mw-mf-page-center__mask { | |||
display: none !important; | |||
position: absolute !important; | |||
left: -9999px !important; | |||
visibility: hidden !important; | |||
opacity: 0 !important; | |||
pointer-events: none !important; | |||
height: 0 !important; | |||
width: 0 !important; | |||
} | } | ||
/* Поле пошуку - завжди активне */ | |||
#searchInput { | |||
pointer-events: auto !important; | |||
cursor: text !important; | |||
-webkit-user-select: text !important; | |||
user-select: text !important; | |||
} | } | ||
/* Вимикаємо тригер overlay */ | |||
.skin-minerva-search-trigger { | |||
pointer-events: none !important; | |||
/* | |||
} | } | ||
. | /* Але input активний */ | ||
.minerva-header .search-box input.search { | |||
pointer-events: auto !important; | |||
cursor: text !important; | |||
} | } | ||
/* - | /* ==================================================== */ | ||
/* ШИРОКІ ТАБЛИЦІ - ПОВНА ШИРИНА */ | |||
/* ==================================================== */ | |||
. | /* Сторінки з широкими таблицями - перезаписуємо Minerva стилі */ | ||
@media screen and (min-width: 1000px) { | |||
.page-Ігри .content, | |||
.page-Ігри .pre-content, | |||
.page-Ігри .post-content, | |||
.page-Ігри .banner-container, | |||
.page-Статистика .content, | |||
.page-Статистика .pre-content, | |||
.page-Статистика .post-content, | |||
.page-Статистика .banner-container, | |||
.page-Гравці .content, | |||
.page-Гравці .pre-content, | |||
.page-Гравці .post-content, | |||
.page-Гравці .banner-container, | |||
.page-Фундація .content, | |||
.page-Фундація .pre-content, | |||
.page-Фундація .post-content, | |||
.page-Фундація .banner-container, | |||
.page-Призовий_фонд .content, | |||
.page-Призовий_фонд .pre-content, | |||
.page-Призовий_фонд .post-content, | |||
.page-Призовий_фонд .banner-container, | |||
.page-Призові .content, | |||
.page-Призові .pre-content, | |||
.page-Призові .post-content, | |||
.page-Призові .banner-container, | |||
.page-Фіналіст .content, | |||
.page-Фіналіст .pre-content, | |||
.page-Фіналіст .post-content, | |||
.page-Фіналіст .banner-container, | |||
.page-Титули .content, | |||
.page-Титули .pre-content, | |||
.page-Титули .post-content, | |||
.page-Титули .banner-container, | |||
.page-Період .content, | |||
.page-Період .pre-content, | |||
.page-Період .post-content, | |||
.page-Період .banner-container, | |||
.page-Перша_статистика .content, | |||
.page-Перша_статистика .pre-content, | |||
.page-Перша_статистика .post-content, | |||
.page-Перша_статистика .banner-container { | |||
margin-left: 16px !important; | |||
margin-right: 16px !important; | |||
width: calc(100% - 32px) !important; | |||
max-width: none !important; | |||
} | |||
} | } | ||
. | /* Широка таблиця - компактний стиль */ | ||
width: | .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; | |||
} | } | ||
.wide-table th, | |||
.wide-table td, | |||
. | .page-Ігри .wikitable th, | ||
.page-Ігри .wikitable td, | |||
.page-Статистика .wikitable th, | |||
.page-Статистика .wikitable td, | |||
.page-Гравці .wikitable th, | |||
.page-Гравці .wikitable td, | |||
.page-Фундація .wikitable th, | |||
.page-Фундація .wikitable td, | |||
.page-Призовий_фонд .wikitable th, | |||
.page-Призовий_фонд .wikitable td, | |||
.page-Призові .wikitable th, | |||
.page-Призові .wikitable td, | |||
.page-Фіналіст .wikitable th, | |||
.page-Фіналіст .wikitable td, | |||
.page-Титули .wikitable th, | |||
.page-Титули .wikitable td, | |||
.page-Період .wikitable th, | |||
.page-Період .wikitable td, | |||
.page-Перша_статистика .wikitable th, | |||
.page-Перша_статистика .wikitable td { | |||
padding: 6px 8px !important; | |||
white-space: nowrap !important; | |||
font-size: 12px !important; | |||
} | } | ||
. | /* Заголовки компактніші */ | ||
.wide-table th, | |||
.page-Ігри .wikitable th, | |||
.page-Статистика .wikitable th, | |||
.page-Гравці .wikitable th, | |||
.page-Фундація .wikitable th, | |||
.page-Призовий_фонд .wikitable th, | |||
.page-Призові .wikitable th, | |||
.page-Фіналіст .wikitable th, | |||
.page-Титули .wikitable th, | |||
.page-Період .wikitable th, | |||
.page-Перша_статистика .wikitable th { | |||
font-size: 11px !important; | |||
padding: 8px 6px !important; | |||
text-transform: uppercase !important; | |||
letter-spacing: 0.3px !important; | |||
} | } | ||
/* | /* Горизонтальний скрол якщо не влазить */ | ||
. | .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; | |||
} | } | ||
/* - | /* ==================================================== */ | ||
/* PLAYER TABS - LIQUIPEDIA STYLE */ | |||
/* ==================================================== */ | |||
. | .player-tabs { | ||
display: | display: flex; | ||
border-bottom: 2px solid #3a3a4a; | |||
margin-bottom: 20px; | |||
margin-top: 20px; | |||
gap: 0; | |||
} | } | ||
.player-tab { | |||
padding: 12px 24px; | |||
cursor: pointer; | |||
color: #888; | |||
font-size: 14px; | |||
font-weight: 500; | |||
border-bottom: 2px solid transparent; | |||
margin-bottom: -2px; | |||
transition: all 0.2s ease; | |||
user-select: none; | |||
} | } | ||
.player-tab:hover { | |||
color: #fff; | |||
background: rgba(255, 255, 255, 0.05); | |||
} | } | ||
.player-tab.active { | |||
color: #fff; | |||
border-bottom-color: #a19ce0; | |||
background: rgba(161, 156, 224, 0.1); | |||
} | } | ||
.player-tab-content { | |||
display: none; | |||
. | |||
} | } | ||
.player-tab-content.active { | |||
display: block; | |||
. | animation: fadeIn 0.3s ease; | ||
} | } | ||
@keyframes fadeIn { | |||
from { opacity: 0; transform: translateY(10px); } | |||
to { opacity: 1; transform: translateY(0); } | |||
} | } | ||
. | .tab-loader { | ||
text-align: center; | |||
padding: 40px; | |||
color: #888; | |||
font-size: 14px; | font-size: 14px; | ||
} | } | ||
.tab-loader::before { | |||
content: ''; | |||
display: block; | |||
width: 32px; | |||
height: 32px; | |||
. | margin: 0 auto 16px; | ||
border: 3px solid rgba(161, 156, 224, 0.2); | |||
border-top-color: #a19ce0; | |||
border-radius: 50%; | |||
animation: spin 1s linear infinite; | |||
} | } | ||
@keyframes spin { | |||
to { transform: rotate(360deg); } | |||
} | } | ||
@media (max-width: 768px) { | |||
.player-tabs { | |||
flex-wrap: wrap; | |||
} | } | ||
.player-tab { | |||
. | padding: 10px 16px; | ||
font-size: 13px; | |||
flex: 1; | |||
text-align: center; | |||
} | |||
} | } | ||
/* ==================================================== */ | /* ==================================================== */ | ||
/* | /* МОБІЛЬНА ВЕРСІЯ - КРОК 1: ПОШУК ТА КОМПАКТНИЙ ХЕДЕР */ | ||
/* ==================================================== */ | /* ==================================================== */ | ||
/* | @media (max-width: 768px) { | ||
. | |||
border: | /* Менші відступи в хедері */ | ||
.header-container.header-chrome { | |||
padding: 6px 12px !important; | |||
} | |||
.minerva-header { | |||
padding: 4px 0 !important; | |||
gap: 8px !important; | |||
} | |||
/* Менше лого */ | |||
.minerva-header .branding-box a::before { | |||
width: 28px !important; | |||
height: 28px !important; | |||
} | |||
/* Менший текст */ | |||
.minerva-header .branding-box a span { | |||
font-size: 13px !important; | |||
} | |||
/* Ховаємо звичайний пошук */ | |||
.minerva-header .minerva-search-form { | |||
display: none !important; | |||
} | |||
/* Показуємо кнопку пошуку */ | |||
.minerva-header #searchIcon { | |||
display: flex !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
width: 36px !important; | |||
height: 36px !important; | |||
background: rgba(255, 255, 255, 0.1) !important; | |||
border-radius: 8px !important; | |||
margin-left: auto !important; | |||
} | |||
.minerva-header #searchIcon .minerva-icon--search-base20 { | |||
filter: brightness(2) !important; | |||
} | |||
/* Мобільний пошук (спочатку прихований) */ | |||
.mobile-search-overlay { | |||
display: none; | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
z-index: 1001; | |||
background: rgba(21, 21, 31, 0.98); | |||
padding: 12px; | |||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); | |||
} | |||
.mobile-search-overlay.active { | |||
display: flex; | |||
align-items: center; | |||
gap: 10px; | |||
} | |||
.mobile-search-overlay input { | |||
flex: 1; | |||
padding: 12px 16px; | |||
font-size: 16px; | |||
border: 1px solid rgba(255, 255, 255, 0.15); | |||
border-radius: 8px; | |||
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: 36px; | |||
height: 36px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
font-size: 24px; | |||
color: #888; | |||
cursor: pointer; | |||
flex-shrink: 0; | |||
} | |||
.mobile-search-close:hover { | |||
color: white; | |||
} | |||
/* Менший padding-top для контенту */ | |||
.mw-body { | |||
padding-top: 52px !important; | |||
} | |||
} | } | ||
/* | /* Ще менші екрани - ховаємо назву сайту */ | ||
@media (max-width: 400px) { | |||
.minerva-header .branding-box a span { | |||
display: none !important; | |||
} | |||
} | } | ||
@media (max-width: 768px) { | |||
body .header-container .minerva-header #searchIcon { | |||
. | display: flex !important; | ||
align-items: center !important; | |||
justify-content: center !important; | |||
width: 36px !important; | |||
height: 36px !important; | |||
background: rgba(255, 255, 255, 0.1) !important; | |||
border-radius: 8px !important; | |||
margin-left: auto !important; | |||
cursor: pointer !important; | |||
} | |||
} | } | ||