MediaWiki:Common.css: відмінності між версіями

нема опису редагування
Немає опису редагування
Немає опису редагування
Рядок 1: Рядок 1:
/** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */
/** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */
/* ==================================================== */
/* ЗАГАЛЬНІ СТИЛІ ТА UI */
/* ==================================================== */
@media (max-width: 720px) {
@media (max-width: 720px) {
   .r-box {
   .r-box { float:none !important; margin-left:0 !important; }
  float:none !important;
   .content table { display:table !important; }
  margin-left:0 !important;
  }
   .content table {
    display:table !important;
  }
}
}


.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; }
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; }
    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:
}
}


/* .overlay-enabled, .mw-body {
a.new { color: #ff7777!important; }
background-image: url(https://mafiacc.site/images/2/26/Background.png);
a.new:hover { color: #ff7777!important; }
    background-repeat: no-repeat;
a.new:visited { color: #ff7777!important; }
    background-size: contain;
background-position: center;
} */
 
 
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:active {
 
}
 
a:focus {
 
}
 
a:visited {
    color: #a19ce0!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; }


#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: #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 ul {
.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 {
     list-style-type: none!important;
     visibility:hidden!important;
     padding-left: 0em!important;
     display:none!important;
}
}


.page-Main_Page #page-secondary-actions a { display:none!important; }


.content .mw-parser-output > h2, .content .section-heading {
.mw-ui-icon-mf-expand { background-image:none!important; }
    border-bottom: 1px solid #232b3a !important;
    padding-top: 30px!important;
    padding-bottom: 10px!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;
}
}


.toc {
.mf-icon, .mf-icon--small, .mf-icon--large { display: inline-flex; align-items: center; justify-content: center; }  
background-color: #18151e!important;
border: none!important;
}


.wikitable > tr > th, .wikitable > tr > td,
.mf-mw-ui-icon-rotate-flip { transform: rotate(45deg)!important; }
.wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px solid;
    border-color: rgba(84, 89, 93, 0.3);
    padding: 0.2em;
    padding-left: 6px;
    background: none;
}


li.gallerybox div.thumb { background-color: #18151e!important; border: none!important; }


.wikitable > tr:nth-child(odd) > th,
.image-details.is-visible { display: none!important; }
.wikitable > tr:nth-child(odd) > td,
.wikitable > * > tr:nth-child(odd) > th,
.wikitable > * > tr:nth-child(odd) > td {
background-color: none;


 
.content table, .content .infobox { text-align: center!important; }
}


.minerva-header .navigation-drawer .toggle-list__toggle { display:none!important; }


.wikitable > tr:nth-child(even) > th,
.minerva-user-navigation .minerva-notifications { display:none!important; }
.wikitable > tr:nth-child(even) > td,
.wikitable > * > tr:nth-child(even) > th,
.wikitable > * > tr:nth-child(even) > td {


background-color: #18151e!important;
.minerva-user-navigation > *:last-child { display: none!important; }
}


.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
/* ==================================================== */
border: 1px solid rgba(255, 255, 255, 0.05)!important;
/* СТИЛІ ТАБЛИЦЬ У СТИЛІ LIQUIPEDIA */
}
/* ==================================================== */


/* Основні стилі таблиці */
.wikitable {
.wikitable {
border: none!important;
    border: none !important;
border-color: none!important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100%;
    background-color: transparent !important;
}
}


.minerva-header .navigation-drawer .toggle-list__toggle {
/* Комірки таблиці - БЕЗ вертикальних бордерів */
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;
}
}


.minerva-user-navigation .minerva-notifications {
/* Заголовки */
display:none!important;
.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;
}
}


.minerva-user-navigation > *:last-child {
/* Парні та непарні рядки */
display: none!important;
.wikitable > tbody > tr:nth-child(odd) > td,
.wikitable > * > tr:nth-child(odd) > td {
    background-color: rgba(24, 21, 30, 0.3) !important;
}
}


.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
.wikitable > tbody > tr:nth-child(even) > td,
background-color: #18151e!important;
.wikitable > * > tr:nth-child(even) > td {
    background-color: rgba(24, 21, 30, 0.5) !important;
}
}


.content kbd, .content samp, .content code, .content pre {
/* Ховер ефект для рядків */
border: none!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;
}
}


content pre {
/* ==================================================== */
    padding-left: 0px!important;
/* SORTABLE СТРІЛОЧКИ У СТИЛІ LIQUIPEDIA */
    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 {
/* Сортовані заголовки */
 
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),  
visibility:hidden!important;
.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;
}
}


.page-Main_Page #page-secondary-actions a {
/* Стрілочка за замовчуванням (обидві) */
display:none!important;
.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;
}
}


.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
/* Сортування по зростанню */
background-image: none!important;
.jquery-tablesorter th.headerSortUp::after {
    content: "▲";
    color: #a19ce0 !important;
    font-size: 12px;
}
}


 
/* Сортування по спаданню */
 
.jquery-tablesorter th.headerSortDown::after {
.mw-ui-icon-mf-expand {
     content: "";
background-image:none!important;
     color: #a19ce0 !important;
}
     font-size: 12px;
 
.mw-ui-icon-mf-expand:before {
     content: "+";
     color: white;
     font-size: 16p;
    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;
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable):hover,
    align-items: center;
.jquery-tablesorter th.headerSort:hover {
    justify-content: center;
    background-color: rgba(25, 87, 255, 0.4) !important;
}
    transition: background-color 0.2s ease;
 
.mf-mw-ui-icon-rotate-flip {
transform: rotate(45deg)!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 {
/* Перший та останній рядок */
display:none!important;
.wikitable > tbody > tr:first-child > td,
.wikitable > * > tr:first-child > td {
    border-top: none !important;
}
}


body {
.wikitable > tbody > tr:last-child > td,
     color: #b7b4bf!important;
.wikitable > * > tr:last-child > td {
 
     border-bottom: none !important;
}
}


li.gallerybox div.thumb {
/* Вирівнювання тексту */
background-color: #18151e!important;
.wikitable td {
border: none!important;
    vertical-align: middle !important;
}
}


.image-details.is-visible {
/* Компактні таблиці для мобільних */
display: none!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;
    }
}
}


.content table, .content .infobox {
/* ==================================================== */
text-align: center!important;
/* 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; /* Adjust the opacity of the background image */
     opacity: 0.5;
     z-index: -1; /* Ensure it stays behind the text */
     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 .content p {
    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;
}
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort:hover {
    background-color: #1957FF !important;
    color: black !important;
}
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
color: white!important;
font-weight: 400!important;
}
}


Рядок 484: Рядок 455:
   }
   }
}
}
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
padding-right: 0px!important;
}
/** Розміщений тут 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;
}
 
.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;
}
 
.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; }
 
.content .mw-parser-output > h2, .content .section-heading {
    border-bottom: 1px solid #232b3a !important;
    padding-top: 30px!important;
    padding-bottom: 10px!important;
}
 
.toc { background-color: #18151e!important; border: none!important; }
 
.wikitable > tr > th, .wikitable > tr > td,
.wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px solid;
    border-color: rgba(84, 89, 93, 0.3);
    padding: 0.2em;
    padding-left: 6px;
    background: none;
}
 
.wikitable > tr:nth-child(even) > th,
.wikitable > tr:nth-child(even) > td,
.wikitable > * > tr:nth-child(even) > th,
.wikitable > * > tr:nth-child(even) > td {
    background-color: #18151e!important;
}
 
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px solid rgba(255, 255, 255, 0.05)!important;
}
 
.wikitable { border: none!important; border-color: none!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; }
 
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
    background-color: #18151e!important;
    color: white!important;
    font-weight: 400!important;
    padding-right: 0px!important;
    background-image: none!important;
}
 
.content kbd, .content samp, .content code, .content pre { border: 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 #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; }
 
body { color: #b7b4bf!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; }
 
/* ... (Ваші стилі для flex__block, home__blocks, home__block-inner і т.д. залишаються без змін) ... */
 
#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;
}
 
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort:hover {
    background-color: #1957FF !important;
    color: black !important;
}
 
/** Розміщений тут 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;
}
 
.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;
}
 
.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; }
 
.content .mw-parser-output > h2, .content .section-heading {
    border-bottom: 1px solid #232b3a !important;
    padding-top: 30px!important;
    padding-bottom: 10px!important;
}
 
.toc { background-color: #18151e!important; border: none!important; }
 
.wikitable > tr > th, .wikitable > tr > td,
.wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px solid;
    border-color: rgba(84, 89, 93, 0.3);
    padding: 0.2em;
    padding-left: 6px;
    background: none;
}
 
.wikitable > tr:nth-child(even) > th,
.wikitable > tr:nth-child(even) > td,
.wikitable > * > tr:nth-child(even) > th,
.wikitable > * > tr:nth-child(even) > td {
    background-color: #18151e!important;
}
 
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px solid rgba(255, 255, 255, 0.05)!important;
}
 
.wikitable { border: none!important; border-color: none!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; }
 
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort {
    background-color: #18151e!important;
    color: white!important;
    font-weight: 400!important;
    padding-right: 0px!important;
    background-image: none!important;
}
 
.content kbd, .content samp, .content code, .content pre { border: 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 #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; }
 
body { color: #b7b4bf!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; }
 
/* ... (Ваші стилі для flex__block, home__blocks, home__block-inner і т.д. залишаються без змін) ... */
 
#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;
}
 
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort:hover {
    background-color: #1957FF !important;
    color: black !important;
}
 
/* ==================================================== */
/* СЕКЦІЯ СТИЛІВ КАРТОК ГЕРОЇВ (ОРИГІНАЛЬНА ВЕРСІЯ З КОРЕКТНИМ CSS) */
/* ==================================================== */
/* ==================================================== */


Рядок 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;  
}
}


/* ---------------------------------------------------- */
/* ПОЗИЦІОНУВАННЯ ТА АНІМАЦІЯ ЗОБРАЖЕННЯ */
/* ПОЗИЦІОНУВАННЯ ТА АНІМАЦІЯ ЗОБРАЖЕННЯ (СЕКЦІЯ FIX) */
/* ---------------------------------------------------- */
 
/* 1. SPAN контейнер (.hero-image-wiki): Позиціонування */
.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; }
 
}
}