MediaWiki:Common.css: відмінності між версіями
Admin (обговорення | внесок) Немає опису редагування |
Admin (обговорення | внесок) Немає опису редагування |
||
| Рядок 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; | |||
} | |||
.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; } | |||
.mw-ui-icon-mf-articlesSearch { | |||
visibility: hidden!important; | |||
display:none!important; | |||
background-image:none!important; | |||
} | |||
.header-container.header-chrome { | .header-container.header-chrome { | ||
background-color: #18151e!important; | background-color: #18151e!important; | ||
box-shadow: none!important; | box-shadow: none!important; | ||
display: none!important; | display: none!important; | ||
} | } | ||
body { | body { | ||
background-color: #15151f!important; | background-color: #15151f!important; | ||
color: #b7b4bf!important; | |||
} | } | ||
.list-thumb.list-thumb-none { | .list-thumb.list-thumb-none { background-color: #18151e!important; } | ||
} | |||
.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%); | ||
} | } | ||
| Рядок 79: | Рядок 60: | ||
padding-bottom: 140px!important; | padding-bottom: 140px!important; | ||
} | } | ||
@media (max-width: 767px) { | @media (max-width: 767px) { | ||
| Рядок 88: | Рядок 68: | ||
} | } | ||
a.new { color: #ff7777!important; } | |||
a.new:hover { color: #ff7777!important; } | |||
a.new:visited { color: #ff7777!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 { | .minerva-footer { | ||
background-color: #15151f!important; | background-color: #15151f!important; | ||
color: #b7b4bf!important; | color: #b7b4bf!important; | ||
display: none!important; | display: none!important; | ||
} | } | ||
.minerva__tab-container { | .minerva__tab-container { display:none!important; } | ||
display:none!important; | |||
} | #mw-mf-page-center { background-color: #15151f!important; } | ||
.content .mw-parser-output > h2, .content .section-heading { | .content .mw-parser-output > h2, .content .section-heading { | ||
border-bottom: 1px solid #232b3a!important; | border-bottom: 1px solid #232b3a!important; | ||
padding-top: 30px!important; | |||
padding-bottom: 10px!important; | |||
} | } | ||
.search-box .search { | .search-box .search { | ||
background-color: #15151f!important; | background-color: #15151f!important; | ||
box-shadow: none!important; | box-shadow: none!important; | ||
border: 1px solid #232b3a!important; | border: 1px solid #232b3a!important; | ||
color: white!important; | color: white!important; | ||
} | } | ||
b, strong { | b, strong { font-weight: 400!important; color: #ebebeb!important; } | ||
font-weight: 400!important; | |||
color: #ebebeb!important; | |||
} | |||
.page-actions-menu { | .page-actions-menu { | ||
| Рядок 174: | Рядок 109: | ||
} | } | ||
.overlay.search-overlay { | .overlay.search-overlay { background: #15151f!important; } | ||
background: # | |||
.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 | .content .mw-parser-output h1 .mw-editsection, .content .mw-parser-output h2 .mw-editsection, .content .mw-parser-output h3 .mw-editsection, .content .mw-parser-output h4 .mw-editsection, .content .mw-parser-output h5 .mw-editsection, .content .mw-parser-output h6 .mw-editsection { | ||
visibility:hidden!important; | |||
display:none!important; | |||
} | } | ||
.page-Main_Page #page-secondary-actions a { display:none!important; } | |||
.mw-ui-icon-mf-expand { background-image:none!important; } | |||
.mw-ui-icon-mf-expand:before { | |||
content: "+"; | |||
color: white; | |||
font-size: 16px; | |||
font-weight: bold; | |||
display: inline-block; | |||
width: 16px; | |||
height: 16px; | |||
line-height: 1em; | |||
text-align: center; | |||
vertical-align: middle; | |||
} | } | ||
. | .mf-icon, .mf-icon--small, .mf-icon--large { display: inline-flex; align-items: center; justify-content: center; } | ||
} | |||
. | .mf-mw-ui-icon-rotate-flip { transform: rotate(45deg)!important; } | ||
} | |||
li.gallerybox div.thumb { background-color: #18151e!important; border: none!important; } | |||
. | .image-details.is-visible { display: none!important; } | ||
. | |||
.content table, .content .infobox { text-align: center!important; } | |||
} | |||
.minerva-header .navigation-drawer .toggle-list__toggle { display:none!important; } | |||
. | .minerva-user-navigation .minerva-notifications { display:none!important; } | ||
. | |||
.minerva-user-navigation > *:last-child { display: none!important; } | |||
} | |||
/* ==================================================== */ | |||
/* СТИЛІ ТАБЛИЦЬ У СТИЛІ 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 > 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, | ||
background-color: | .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 СТРІЛОЧКИ У СТИЛІ LIQUIPEDIA */ | |||
/* ==================================================== */ | |||
. | /* Сортовані заголовки */ | ||
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), | |||
.jquery-tablesorter th.headerSort { | |||
background-color: rgba(24, 21, 30, 0.6) !important; | |||
color: white !important; | |||
font-weight: 500 !important; | |||
padding: 10px 12px !important; | |||
padding-right: 24px !important; | |||
background-image: none !important; | |||
cursor: pointer; | |||
position: relative; | |||
user-select: none; | |||
} | } | ||
. | /* Стрілочка за замовчуванням (обидві) */ | ||
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable)::after, | |||
.jquery-tablesorter th.headerSort::after { | |||
content: "⇅"; | |||
position: absolute; | |||
right: 8px; | |||
top: 50%; | |||
transform: translateY(-50%); | |||
font-size: 14px; | |||
color: rgba(255, 255, 255, 0.3); | |||
font-weight: normal; | |||
} | } | ||
/* Сортування по зростанню */ | |||
.jquery-tablesorter th.headerSortUp::after { | |||
content: "▲"; | |||
color: #a19ce0 !important; | |||
font-size: 12px; | |||
} | } | ||
/* Сортування по спаданню */ | |||
.jquery-tablesorter th.headerSortDown::after { | |||
. | content: "▼"; | ||
color: #a19ce0 !important; | |||
font-size: 12px; | |||
content: " | |||
color: | |||
font-size: | |||
} | } | ||
. | /* Ховер для заголовків */ | ||
.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 { | ||
| Рядок 376: | Рядок 358: | ||
background-image: url(https://mafiacc.site/images/b/b1/Nic_01.png); | background-image: url(https://mafiacc.site/images/b/b1/Nic_01.png); | ||
background-size: cover; | background-size: cover; | ||
opacity: 0.5; | opacity: 0.5; | ||
z-index: -1; | z-index: -1; | ||
} | } | ||
.home__block-image { | .home__block-image { | ||
| Рядок 424: | Рядок 405: | ||
.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 { | ||
| Рядок 467: | Рядок 448: | ||
background-position: center center !important; | background-position: center center !important; | ||
background-attachment: fixed !important; | background-attachment: fixed !important; | ||
} | } | ||
| Рядок 484: | Рядок 455: | ||
} | } | ||
} | } | ||
/* ==================================================== */ | /* ==================================================== */ | ||
/* СЕКЦІЯ СТИЛІВ КАРТОК ГЕРОЇВ */ | |||
/* СЕКЦІЯ СТИЛІВ КАРТОК ГЕРОЇВ | |||
/* ==================================================== */ | /* ==================================================== */ | ||
| Рядок 922: | Рядок 476: | ||
.mcc-hero-card:hover { | .mcc-hero-card:hover { | ||
filter: grayscale(0); | filter: grayscale(0); | ||
} | } | ||
| Рядок 944: | Рядок 498: | ||
text-decoration: none; | text-decoration: none; | ||
color: white; | color: white; | ||
z-index: 2; | z-index: 2; | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
/* ПОЗИЦІОНУВАННЯ ТА АНІМАЦІЯ ЗОБРАЖЕННЯ */ | |||
/* ПОЗИЦІОНУВАННЯ ТА АНІМАЦІЯ ЗОБРАЖЕННЯ | |||
.mcc-hero-card .hero-image-wiki { | .mcc-hero-card .hero-image-wiki { | ||
position: absolute; | position: absolute; | ||
| Рядок 969: | Рядок 519: | ||
transform: scale(1); | transform: scale(1); | ||
filter: grayscale(0); | filter: grayscale(0); | ||
transition: transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55); | transition: transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55); | ||
} | } | ||
| Рядок 994: | Рядок 543: | ||
object-fit: cover; | object-fit: cover; | ||
transform: scale(1); | transform: scale(1); | ||
transition: transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55); | transition: transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55); | ||
} | } | ||
| Рядок 1035: | Рядок 583: | ||
@media (max-width: 720px) { | @media (max-width: 720px) { | ||
.mcc-heroes-list { display: flex; flex-wrap: wrap; justify-content: space-between; list-style: none; padding: 0; margin: 20px 0; } | |||
.mcc-heroes-list { display: flex; flex-wrap: wrap; justify-content: space-between; list-style: none; padding: 0; margin: 20px 0; } | .mcc-heroes-list li { width: 45%; margin-bottom: 20px; } | ||
.mcc-heroes-list li { width: 45%; margin-bottom: 20px; } | |||
} | } | ||
Версія за 14:24, 28 листопада 2025
/** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */
/* ==================================================== */
/* ЗАГАЛЬНІ СТИЛІ ТА UI */
/* ==================================================== */
@media (max-width: 720px) {
.r-box { float:none !important; margin-left:0 !important; }
.content table { display:table !important; }
}
.overlay.search-overlay .search-content {
background-color: #18151e;
border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important;
color: #a19ce0!important;
}
.page-Main_Page .mw-first-heading { display: none!important; }
.overlay.search-overlay .search-content .caption { padding-left: 30px!important; }
.page-list li, .topic-title-list li, .site-link-list li {
border-bottom: 0.2px solid rgba(255, 255, 255, 0.07)!important;
}
.mw-ui-icon-mf-articlesSearch { visibility: hidden!important; display:none!important; background-image:none!important; }
.header-container.header-chrome {
background-color: #18151e!important;
box-shadow: none!important;
display: none!important;
}
body {
background-color: #15151f!important;
color: #b7b4bf!important;
}
.list-thumb.list-thumb-none { background-color: #18151e!important; }
.overlay.search-overlay .results, .overlay.search-overlay .search-feedback {
background-color: #18151e!important;
color: white!important;
}
.overlay.search-overlay .results { box-shadow: none!important; }
.minerva-header .branding-box a { color: #b7b4bf!important; }
.minerva-header .branding-box { opacity: 1.0!important; }
.minerva-icon--menu-base20, .minerva-icon--menu {
filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%);
}
.overlay-enabled, .mw-body {
background-color: #15151f!important;
color: #b7b4bf!important;
padding-top: 20px!important;
padding-bottom: 140px!important;
}
@media (max-width: 767px) {
.overlay-enabled, .mw-body {
padding-top: 20px!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 {
background-color: #15151f!important;
color: #b7b4bf!important;
display: none!important;
}
.minerva__tab-container { display:none!important; }
#mw-mf-page-center { background-color: #15151f!important; }
.content .mw-parser-output > h2, .content .section-heading {
border-bottom: 1px solid #232b3a!important;
padding-top: 30px!important;
padding-bottom: 10px!important;
}
.search-box .search {
background-color: #15151f!important;
box-shadow: none!important;
border: 1px solid #232b3a!important;
color: white!important;
}
b, strong { font-weight: 400!important; color: #ebebeb!important; }
.page-actions-menu {
box-sizing: border-box;
border-top: 1px solid #232b3a!important;
border-bottom: 1px solid #232b3a!important;
margin-top: -1px;
display: none!important;
}
.overlay.search-overlay { background: #15151f!important; }
.content ul { list-style-type: none!important; padding-left: 0em!important; }
.toc { background-color: #18151e!important; border: none!important; }
.content kbd, .content samp, .content code, .content pre { border: none!important; }
.content pre {
padding-left: 0px!important;
padding-top: 10px!important;
padding-right: 0px!important;
padding-bottom: 10px!important;
}
.content .mw-parser-output h1 .mw-editsection, .content .mw-parser-output h2 .mw-editsection, .content .mw-parser-output h3 .mw-editsection, .content .mw-parser-output h4 .mw-editsection, .content .mw-parser-output h5 .mw-editsection, .content .mw-parser-output h6 .mw-editsection {
visibility:hidden!important;
display:none!important;
}
.page-Main_Page #page-secondary-actions a { display:none!important; }
.mw-ui-icon-mf-expand { background-image:none!important; }
.mw-ui-icon-mf-expand:before {
content: "+";
color: white;
font-size: 16px;
font-weight: bold;
display: inline-block;
width: 16px;
height: 16px;
line-height: 1em;
text-align: center;
vertical-align: middle;
}
.mf-icon, .mf-icon--small, .mf-icon--large { display: inline-flex; align-items: center; justify-content: center; }
.mf-mw-ui-icon-rotate-flip { transform: rotate(45deg)!important; }
li.gallerybox div.thumb { background-color: #18151e!important; border: none!important; }
.image-details.is-visible { display: none!important; }
.content table, .content .infobox { text-align: center!important; }
.minerva-header .navigation-drawer .toggle-list__toggle { display:none!important; }
.minerva-user-navigation .minerva-notifications { display:none!important; }
.minerva-user-navigation > *:last-child { display: none!important; }
/* ==================================================== */
/* СТИЛІ ТАБЛИЦЬ У СТИЛІ LIQUIPEDIA */
/* ==================================================== */
/* Основні стилі таблиці */
.wikitable {
border: none !important;
border-collapse: separate !important;
border-spacing: 0 !important;
width: 100%;
background-color: transparent !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 СТРІЛОЧКИ У СТИЛІ LIQUIPEDIA */
/* ==================================================== */
/* Сортовані заголовки */
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),
.jquery-tablesorter th.headerSort {
background-color: rgba(24, 21, 30, 0.6) !important;
color: white !important;
font-weight: 500 !important;
padding: 10px 12px !important;
padding-right: 24px !important;
background-image: none !important;
cursor: pointer;
position: relative;
user-select: none;
}
/* Стрілочка за замовчуванням (обидві) */
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable)::after,
.jquery-tablesorter th.headerSort::after {
content: "⇅";
position: absolute;
right: 8px;
top: 50%;
transform: translateY(-50%);
font-size: 14px;
color: rgba(255, 255, 255, 0.3);
font-weight: normal;
}
/* Сортування по зростанню */
.jquery-tablesorter th.headerSortUp::after {
content: "▲";
color: #a19ce0 !important;
font-size: 12px;
}
/* Сортування по спаданню */
.jquery-tablesorter th.headerSortDown::after {
content: "▼";
color: #a19ce0 !important;
font-size: 12px;
}
/* Ховер для заголовків */
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable):hover,
.jquery-tablesorter th.headerSort:hover {
background-color: rgba(25, 87, 255, 0.4) !important;
transition: background-color 0.2s ease;
}
/* Перший та останній рядок */
.wikitable > tbody > tr:first-child > td,
.wikitable > * > tr:first-child > td {
border-top: none !important;
}
.wikitable > tbody > tr:last-child > td,
.wikitable > * > tr:last-child > td {
border-bottom: none !important;
}
/* Вирівнювання тексту */
.wikitable td {
vertical-align: middle !important;
}
/* Компактні таблиці для мобільних */
@media (max-width: 768px) {
.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
padding: 6px 8px !important;
font-size: 13px;
}
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),
.jquery-tablesorter th.headerSort {
padding: 8px 8px !important;
padding-right: 20px !important;
font-size: 11px;
}
}
/* ==================================================== */
/* HOME PAGE BLOCKS */
/* ==================================================== */
.flex__block {
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
align-items: center
}
.home__blocks {
gap: 20px;
align-items: stretch
}
.home__block {
align-items: stretch;
width: 33.3333%;
flex-direction: column
}
.home__block-inner {
align-items: stretch;
gap: 0px;
flex-direction: column;
flex-grow: 0;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.home__block-image-block {
flex-direction: column;
border-radius: 0px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
background-image: url(https://mafiacc.site/images/d/df/Bg_03.png);
background-size: cover;
}
.home_block-image-block::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url(https://mafiacc.site/images/b/b1/Nic_01.png);
background-size: cover;
opacity: 0.5;
z-index: -1;
}
.home__block-image {
text-align: center;
padding-top: 20px;
}
.home__block-icon {
width: 96px;
height: 96px;
display: inline-block;
background-position: center center;
background-size: contain;
background-repeat: no-repeat;
}
.home__block-icon-1 {
background-image: url(https://mafiacc.site/images/d/dc/Block_01.png)
}
.home__block-icon-2 {
background-image: url(https://mafiacc.site/images/5/5f/Block_02.png)
}
.home__block-icon-3 {
background-image: url(https://mafiacc.site/images/0/00/Block_03.png)
}
.home__block-content {
flex-grow: 0;
flex-direction: column;
align-items: stretch
}
.home__block-content-inner {
border-radius: 0px;
background: none;
padding-left: 20px;
padding-top: 20px;
padding-right: 20px;
padding-bottom: 0px;
flex-grow: 0;
}
.home__block-content-title {
line-height: 1;
padding-bottom: 10px;
}
.home__block-content-inner pre {
font-family: 'Helvetica'!important;
padding: 0!important;
display: block!important;
}
.home__block-content-title .content p {
margin: 0!important;
}
@media (max-width: 768px) {
.home__blocks {
display:block;
padding-top: 10px;
}
.home__block-content-title {
padding-bottom: 10px;
}
.home__block {
width:100%;
}
.home__block-content-inner {
margin-bottom: 10px;
}
}
/* ==================================================== */
/* BACKGROUND */
/* ==================================================== */
#mw-mf-viewport, #content, .header-container, .mw-body {
background-image: url('/images/5/5b/Bg_new.png') !important;
background-size: cover !important;
background-repeat: no-repeat !important;
background-position: center center !important;
background-attachment: fixed !important;
}
@media (max-width: 994px) {
.harley {
display:none
}
}
/* ==================================================== */
/* СЕКЦІЯ СТИЛІВ КАРТОК ГЕРОЇВ */
/* ==================================================== */
.mcc-heroes-list { display: flex; flex-wrap: wrap; justify-content: space-between; list-style: none; padding: 0; margin: 20px 0; }
.mcc-heroes-list li { width: 18.5%; margin-bottom: 20px; }
/* Стилі картки - зовнішній контейнер */
.mcc-hero-card {
height: 240px;
width: 100%;
overflow: hidden;
position: relative;
filter: grayscale(1);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
background-color: #333;
transition: box-shadow 0.3s ease-in-out;
}
.mcc-hero-card:hover {
filter: grayscale(0);
}
.mcc-champion-card {
height: 240px;
width: 100%;
overflow: hidden;
position: relative;
box-shadow: 2 5px 8px rgba(255, 0, 0, 0.2);
background-color: #333;
border: 1px solid #d8b283;
transition: box-shadow 0.3s ease-in-out;
}
/* Стилі для посилання (контейнер) */
.mcc-hero-link {
display: block;
height: 100%;
width: 100%;
position: relative;
text-decoration: none;
color: white;
z-index: 2;
overflow: hidden;
}
/* ПОЗИЦІОНУВАННЯ ТА АНІМАЦІЯ ЗОБРАЖЕННЯ */
.mcc-hero-card .hero-image-wiki {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
overflow: hidden;
}
.mcc-hero-card .hero-image-wiki a img {
width: 100%;
height: 100%;
object-fit: cover;
transform: scale(1);
filter: grayscale(0);
transition: transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
/* Анімація при наведенні: збільшення зображення */
.mcc-hero-card:hover .hero-image-wiki a img {
transform: scale(1.1);
border: 1px solid yellow;
}
.mcc-champion-card .hero-image-wiki {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
overflow: hidden;
}
.mcc-champion-card .hero-image-wiki a img {
width: 100%;
height: 100%;
object-fit: cover;
transform: scale(1);
transition: transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
/* Анімація при наведенні: збільшення зображення */
.mcc-champion-card:hover .hero-image-wiki a img {
transform: scale(1.1);
border: 1px solid yellow;
}
/* Градієнт для читабельності тексту */
.mcc-hero-link::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.0) 50%);
z-index: 1.5;
}
/* Інформаційний блок */
.mcc-hero-info {
position: absolute;
bottom: 10px;
width: 100%;
text-align: center;
padding: 0 5px;
box-sizing: border-box;
z-index: 3;
}
.mcc-hero-nickname { font-size: 14px; color: white; font-weight: bold; line-height: 1.2; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); }
.mcc-hero-date { font-size: 14px; color: yellow; opacity: 0.9; line-height: 1.2; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); }
.mcc-hero-card:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6); }
.mcc-champion-card:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6); }
@media (max-width: 720px) {
.mcc-heroes-list { display: flex; flex-wrap: wrap; justify-content: space-between; list-style: none; padding: 0; margin: 20px 0; }
.mcc-heroes-list li { width: 45%; margin-bottom: 20px; }
}