MediaWiki:Common.css: відмінності між версіями
Admin (обговорення | внесок) Немає опису редагування |
Admin (обговорення | внесок) Немає опису редагування |
||
Рядок 363: | Рядок 363: | ||
} | } | ||
.home_block-image-block:before { | .home_block-image-block::before { | ||
content: ""; | content: ""; | ||
position: absolute; | position: absolute; |
Версія за 00:58, 27 жовтня 2024
/** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */ @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; } body { background-color: #1a1a1f!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 { invert(100%) sepia(100%) saturate(100%) hue-rotate(250deg) brightness(0%) contrast(101%); } .overlay-enabled, .mw-body { background-color: #1a1a1f!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; } } /* .overlay-enabled, .mw-body { background-image: url(https://mafiacc.site/images/2/26/Background.png); background-repeat: no-repeat; 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; } .minerva-footer { background-color: #1a1a1f!important; color: #b7b4bf!important; display: none!important; } .minerva__tab-container { display:none!important; } #mw-mf-page-center { background-color: #1a1a1f!important; } .content .mw-parser-output > h2, .content .section-heading { border-bottom: 1px solid #232b3a!important; } .search-box .search { background-color: #1a1a1f!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: #1a1a1f!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(odd) > th, .wikitable > tr:nth-child(odd) > td, .wikitable > * > tr:nth-child(odd) > th, .wikitable > * > tr:nth-child(odd) > td { background-color: 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; } .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; } .page-Main_Page #page-secondary-actions a { display:none!important; } .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort { background-image: none!important; } .mw-ui-icon-mf-expand { background-image:none!important; } .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; align-items: center; justify-content: center; } .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; } 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 { 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: 10px; align-items: stretch } .home__block { align-items: stretch; width: 33.3333%; flex-direction: column } .home__block-inner { align-items: stretch; gap: 10px; flex-direction: column; flex-grow: 1; } .home__block-image-block { flex-direction: column; border-radius: 16px; border: 8px solid #222127; } .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; /* Adjust the opacity of the background image */ z-index: -1; /* Ensure it stays behind the text */ } .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: 1; flex-direction: column; align-items: stretch } .home__block-content-inner { border-radius: 10px; background: #222127; padding-left: 20px; padding-top: 20px; padding-right: 20px; padding-bottom: 0px; flex-grow: 1; } .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; } } #mw-mf-viewport, #content, .header-container, .mw-body { background-image: url('/images/2/26/Background.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; } .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort { color: white!important; font-weight: 400!important; } @media (max-width: 994px) { .harley { display:none } } .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort { padding-right: 0px!important; }