MediaWiki:Common.css: различия между версиями
Материал из AbduloverA.com
Adept (обсуждение | вклад) Нет описания правки |
Adept (обсуждение | вклад) Нет описания правки |
||
| Строка 233: | Строка 233: | ||
.abdul-nav-btn.next { right: 10px; } | .abdul-nav-btn.next { right: 10px; } | ||
/* === | /* === ABDUL TIMELESS THEME (NUCLEAR VERSION) === */ | ||
/* --- | /* 1. ФОН И ЦВЕТ ТЕКСТА (Глобально) */ | ||
/* Делаем всё темным, убиваем белый фон Timeless */ | |||
html, body, #mw-page-base, #mw-head-base, #content, #mw-content-container, #mw-content { | |||
background-color: #121212 !important; /* Глубокий черный */ | |||
background-image: none !important; /* Убираем стандартные градиенты */ | |||
color: #e0e0e0 !important; /* Светлый текст */ | |||
border: none !important; | |||
} | |||
/* | /* Убираем белые рамки вокруг контента */ | ||
h1, h2, h3, h4, h5, h6 { | #mw-content-container { | ||
box-shadow: none !important; | |||
border: 1px solid #333 !important; | |||
border-radius: 10px !important; | |||
margin-top: 10px !important; | |||
} | |||
/* 2. ЗАГОЛОВКИ СТАТЕЙ (H1, H2, H3...) */ | |||
/* Применяем Zekton и градиенты */ | |||
#firstHeading, h1, h2, h3, h4, h5, h6 { | |||
font-family: 'Zekton', 'Impact', sans-serif !important; | font-family: 'Zekton', 'Impact', sans-serif !important; | ||
color: #eee; | color: #eee !important; | ||
border-bottom: none !important | border-bottom: none !important; | ||
} | } | ||
/* | /* Главный заголовок статьи */ | ||
#firstHeading { | #firstHeading { | ||
font-size: 2. | font-size: 2.5em !important; | ||
text-transform: uppercase | text-transform: uppercase !important; | ||
color: #ffd700 !important; /* Золото */ | |||
color: #ffd700; /* Золото */ | text-shadow: 0 0 15px rgba(255, 215, 0, 0.5) !important; | ||
text-shadow: 0 0 15px rgba(255, 215, 0, 0. | |||
border-bottom: 2px solid #b71c1c !important; | border-bottom: 2px solid #b71c1c !important; | ||
padding-bottom: 10px; | padding-bottom: 10px !important; | ||
} | } | ||
/* | /* Заголовки разделов (== Заголовок ==) */ | ||
h2 { | h2 { | ||
background: linear-gradient(90deg, #1a1a1a 0%, transparent 100%) !important; | |||
border-left: 5px solid #b71c1c !important; /* Красная полоса */ | |||
background: linear-gradient(90deg, #1a1a1a 0%, transparent 100%); | padding: 8px 15px !important; | ||
border-left: 5px solid #b71c1c; /* Красная полоса | margin-top: 20px !important; | ||
padding: 8px 15px; | border-radius: 0 10px 10px 0 !important; | ||
text-shadow: 0 0 5px #b71c1c !important; | |||
} | } | ||
/* | /* Подзаголовки (=== Заголовок ===) */ | ||
h3 { | h3 { | ||
color: #42a5f5 !important; | |||
color: #42a5f5; | |||
border-bottom: 1px dashed #444 !important; | border-bottom: 1px dashed #444 !important; | ||
} | } | ||
/* | /* 3. КНОПКИ УПРАВЛЕНИЯ (Заглавная, Правка, История) */ | ||
/* В Timeless они находятся в блоках #p-namespaces, #p-views */ | |||
/* | /* Скрываем стандартный фон меню */ | ||
.mw-portlet-body { | |||
background: transparent !important; | |||
} | } | ||
/* | /* Сами кнопки */ | ||
#p-namespaces ul li a, | |||
background: # | #p-views ul li a, | ||
#p-cactions ul li a { | |||
background: #222 !important; | |||
color: #ccc !important; | color: #ccc !important; | ||
border: 1px solid #444; | border: 1px solid #444 !important; | ||
border-bottom: none; | border-bottom: none !important; | ||
margin-right: 5px; | margin-right: 5px !important; | ||
border-radius: 8px 8px 0 0 | border-radius: 8px 8px 0 0 !important; | ||
text-transform: uppercase !important; | |||
font-family: 'Zekton', sans-serif !important; | |||
text-transform: uppercase; | transition: 0.3s !important; | ||
font- | |||
} | } | ||
/* Активная | /* Активная кнопка (на которой сидишь) */ | ||
. | #p-namespaces ul li.selected a, | ||
#p-views ul li.selected a { | |||
background: #b71c1c !important; /* Красный фон */ | background: #b71c1c !important; /* Красный фон */ | ||
color: #fff !important; | color: #fff !important; | ||
border-color: #ff5252; | border-color: #ff5252 !important; | ||
box-shadow: 0 0 15px rgba(183, 28, 28, 0.5); | box-shadow: 0 0 15px rgba(183, 28, 28, 0.5) !important; | ||
font-weight: bold !important; | |||
padding-bottom: 10px !important; | |||
} | } | ||
/* | /* При наведении */ | ||
#p-namespaces ul li a:hover, | |||
#p-views ul li a:hover { | |||
color: #ffd700 !important; | color: #ffd700 !important; | ||
border-color: #ffd700; | border-color: #ffd700 !important; | ||
background: #333 !important; | |||
} | } | ||
/* | /* 4. ССЫЛКИ */ | ||
/* | a { color: #42a5f5 !important; text-decoration: none !important; } | ||
a:hover { color: #ffd700 !important; text-shadow: 0 0 5px #ffd700 !important; } | |||
a.new { color: #ff5252 !important; } /* Несуществующие страницы - красным */ | |||
/* 5. ОГЛАВЛЕНИЕ (TOC) */ | |||
.toc, #toc { | .toc, #toc { | ||
background-color: # | background-color: #161616 !important; | ||
border: 1px solid #b71c1c !important; | border: 1px solid #b71c1c !important; | ||
border-radius: 8px | border-radius: 8px !important; | ||
box-shadow: 0 0 20px rgba(0,0,0,0.5) !important; | |||
box-shadow: 0 0 20px rgba(0,0,0,0.5); | color: #eee !important; | ||
} | } | ||
.toctitle h2 { | |||
color: #ffd700 !important; | |||
background: none !important; | |||
border: none !important; | |||
font-family: 'Zekton', sans-serif !important; | font-family: 'Zekton', sans-serif !important; | ||
} | } | ||
/* | /* 6. ИНТЕРФЕЙСНЫЕ МЕЛОЧИ */ | ||
/* Линия под заголовком сайта */ | |||
#mw-header-container { | |||
background: #000 !important; | |||
border-bottom: 2px solid #b71c1c !important; | |||
} | } | ||
/* Футер (низ сайта) */ | |||
#mw-footer-container { | |||
background: #111 !important; | |||
border-top: 1px solid #333 !important; | |||
} | } | ||
Версия от 19:54, 24 ноября 2025
form:not(.oo-ui-layout) textarea, form:not(.oo-ui-layout) input {
border: solid 1px #c8ccd1;
border-radius: 2px;
}
element.style {
background: rgba(255, 128, 0, 0.5);
border: solid 2px #000000;
}
form input:not(.mw-widgets-datetime-dateTimeInputWidget-editField):not(.mw-history-compareselectedversions-button) {
margin: 0.5em 0;
padding: 0.35em;
}
form:not(.oo-ui-layout) button, form:not(.oo-ui-layout) input[type='submit'] {
border-radius: 2px;
padding: 0.35em 1em;
background-color: rgb(255, 128, 0);
font-weight: bold;
color: rgb(0, 0, 0);
border: solid 3px rgb(0, 0, 0);
}
form:not(.oo-ui-layout) textarea, form:not(.oo-ui-layout) input {
border: solid 2px #000000;
border-radius: 2px;
background: rgba(255, 128, 0, 0.5);
font-family: Zekton;
}
form:not(.oo-ui-layout) button:not(:disabled):hover, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):hover, form:not(.oo-ui-layout) button:not(:disabled):active, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):active {
background-color: rgb(224, 0, 0);
}
.mw-message-box-error {
background-color: rgba(255, 0, 0, 1.0);
border-color: rgb(255, 0, 0);
/* border: solid 1px rgb(255, 0, 0); */
box-shadow: 0px 0px 17px 7px rgb(255, 0, 0);
font-size: 1.15em;
text-align: center;
font-family: 'ZektonBd';
text-shadow: 0px 0px 5px rgb(255, 255, 0);
}
a:visited {
/* color: #2a4b8d; */
color: #000000;
text-shadow: 0px 0px 4px rgb(255, 255, 0);
}
a:visited:hover {
color: #000000;
text-shadow: 0px 0px 4px rgb(255, 0, 0);
}
select {
padding: 0.35em;
box-sizing: border-box;
height: unset;
background: rgba(255, 128, 0, 0.5);
border: solid 2px #000000;
font-family: ZektonBg;
}
/* Контекст всплывающего окна */
.mw-echo-ui-notificationsListWidget a, #p-personal .mw-echo-ui-notificationsListWidget a.new {
/* color: #54595d; */
background: linear-gradient(0deg, #ff8000, #ffffff);
}
.oo-ui-popupWidget-head {
background: linear-gradient(12deg, black, transparent);
text-shadow: 0px 0px 2px rgba(255,255,0);
color: #FFFFFF;
}
div.mw-warning-with-logexcerpt {
padding: 3px;
margin-bottom: 3px;
color: white;
border: 4px solid rgba(255, 255, 0, 0.75);
background: rgba(64,64,64,0.9);
clear: both;
}
div.embedvideo.ev_left {
margin-right: 20px;
margin-top: 20px;
margin-bottom: 20px;
box-shadow: 0px 0px 10px 10px rgba(255, 0, 0, 0.5);
}
div.embedvideo.ev_right {
margin-left: 20px;
margin-top: 20px;
margin-bottom: 20px;
box-shadow: 0px 0px 10px 10px rgba(255, 0, 0, 0.5);
}
/* === УНИВЕРСАЛЬНАЯ АБДУЛО-ГАЛЕРЕЯ (FINAL) === */
/* ОБЩИЙ КОНТЕЙНЕР */
.abdul-gallery-container {
margin: 20px 0;
width: 100%;
}
/* ЗАГОЛОВОК */
.abdul-gallery-title {
font-family: 'Zekton', 'Impact', sans-serif;
font-size: 1.5em;
color: #b71c1c;
text-transform: uppercase;
border-bottom: 2px solid #b71c1c;
display: inline-block;
padding-right: 20px;
margin-bottom: 15px;
}
/* --- ВАРИАНТ 1: СЕТКА --- */
.abdul-grid-wrap {
display: flex;
flex-wrap: wrap;
gap: 15px;
justify-content: center;
}
.abdul-grid-item {
width: 200px;
height: 200px;
border: 2px solid #b71c1c;
border-radius: 8px;
background: #000;
overflow: hidden;
position: relative;
box-shadow: 0 5px 15px rgba(0,0,0,0.5);
transition: 0.2s;
}
.abdul-grid-item:hover {
transform: scale(1.05);
border-color: #ffd700;
z-index: 10;
}
.abdul-grid-item img {
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
min-width: 200px;
min-height: 200px;
}
/* --- ВАРИАНТ 2: СЛАЙДЕР --- */
.abdul-slider-wrap {
max-width: 600px;
margin: 0 auto;
position: relative;
background: #000;
border: 2px solid #b71c1c;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.7);
overflow: hidden;
}
.abdul-slider-track {
display: flex;
overflow-x: auto;
scroll-behavior: smooth;
scrollbar-width: none; /* Скрываем скролл Firefox */
}
.abdul-slider-track::-webkit-scrollbar {
display: none; /* Скрываем скролл Chrome */
}
.abdul-slide {
flex: 0 0 100%;
height: 400px;
display: flex;
align-items: center;
justify-content: center;
background: #000;
}
/* Принудительное вписывание картинки */
.abdul-slide img {
width: auto !important;
height: auto !important;
max-width: 100% !important;
max-height: 100% !important;
object-fit: contain !important;
}
/* Кнопки навигации */
.abdul-nav-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 50px;
height: 50px;
background: rgba(0,0,0,0.6);
color: #fff;
border: 2px solid #b71c1c;
border-radius: 50%;
font-size: 24px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 20;
user-select: none;
transition: 0.2s;
}
.abdul-nav-btn:hover {
background: #b71c1c;
transform: translateY(-50%) scale(1.1);
}
.abdul-nav-btn.prev { left: 10px; }
.abdul-nav-btn.next { right: 10px; }
/* === ABDUL TIMELESS THEME (NUCLEAR VERSION) === */
/* 1. ФОН И ЦВЕТ ТЕКСТА (Глобально) */
/* Делаем всё темным, убиваем белый фон Timeless */
html, body, #mw-page-base, #mw-head-base, #content, #mw-content-container, #mw-content {
background-color: #121212 !important; /* Глубокий черный */
background-image: none !important; /* Убираем стандартные градиенты */
color: #e0e0e0 !important; /* Светлый текст */
border: none !important;
}
/* Убираем белые рамки вокруг контента */
#mw-content-container {
box-shadow: none !important;
border: 1px solid #333 !important;
border-radius: 10px !important;
margin-top: 10px !important;
}
/* 2. ЗАГОЛОВКИ СТАТЕЙ (H1, H2, H3...) */
/* Применяем Zekton и градиенты */
#firstHeading, h1, h2, h3, h4, h5, h6 {
font-family: 'Zekton', 'Impact', sans-serif !important;
color: #eee !important;
border-bottom: none !important;
}
/* Главный заголовок статьи */
#firstHeading {
font-size: 2.5em !important;
text-transform: uppercase !important;
color: #ffd700 !important; /* Золото */
text-shadow: 0 0 15px rgba(255, 215, 0, 0.5) !important;
border-bottom: 2px solid #b71c1c !important;
padding-bottom: 10px !important;
}
/* Заголовки разделов (== Заголовок ==) */
h2 {
background: linear-gradient(90deg, #1a1a1a 0%, transparent 100%) !important;
border-left: 5px solid #b71c1c !important; /* Красная полоса */
padding: 8px 15px !important;
margin-top: 20px !important;
border-radius: 0 10px 10px 0 !important;
text-shadow: 0 0 5px #b71c1c !important;
}
/* Подзаголовки (=== Заголовок ===) */
h3 {
color: #42a5f5 !important;
border-bottom: 1px dashed #444 !important;
}
/* 3. КНОПКИ УПРАВЛЕНИЯ (Заглавная, Правка, История) */
/* В Timeless они находятся в блоках #p-namespaces, #p-views */
/* Скрываем стандартный фон меню */
.mw-portlet-body {
background: transparent !important;
}
/* Сами кнопки */
#p-namespaces ul li a,
#p-views ul li a,
#p-cactions ul li a {
background: #222 !important;
color: #ccc !important;
border: 1px solid #444 !important;
border-bottom: none !important;
margin-right: 5px !important;
border-radius: 8px 8px 0 0 !important;
text-transform: uppercase !important;
font-family: 'Zekton', sans-serif !important;
transition: 0.3s !important;
}
/* Активная кнопка (на которой сидишь) */
#p-namespaces ul li.selected a,
#p-views ul li.selected a {
background: #b71c1c !important; /* Красный фон */
color: #fff !important;
border-color: #ff5252 !important;
box-shadow: 0 0 15px rgba(183, 28, 28, 0.5) !important;
font-weight: bold !important;
padding-bottom: 10px !important;
}
/* При наведении */
#p-namespaces ul li a:hover,
#p-views ul li a:hover {
color: #ffd700 !important;
border-color: #ffd700 !important;
background: #333 !important;
}
/* 4. ССЫЛКИ */
a { color: #42a5f5 !important; text-decoration: none !important; }
a:hover { color: #ffd700 !important; text-shadow: 0 0 5px #ffd700 !important; }
a.new { color: #ff5252 !important; } /* Несуществующие страницы - красным */
/* 5. ОГЛАВЛЕНИЕ (TOC) */
.toc, #toc {
background-color: #161616 !important;
border: 1px solid #b71c1c !important;
border-radius: 8px !important;
box-shadow: 0 0 20px rgba(0,0,0,0.5) !important;
color: #eee !important;
}
.toctitle h2 {
color: #ffd700 !important;
background: none !important;
border: none !important;
font-family: 'Zekton', sans-serif !important;
}
/* 6. ИНТЕРФЕЙСНЫЕ МЕЛОЧИ */
/* Линия под заголовком сайта */
#mw-header-container {
background: #000 !important;
border-bottom: 2px solid #b71c1c !important;
}
/* Футер (низ сайта) */
#mw-footer-container {
background: #111 !important;
border-top: 1px solid #333 !important;
}