MediaWiki:Common.css: различия между версиями
Материал из AbduloverA.com
Adept (обсуждение | вклад) Нет описания правки |
Adept (обсуждение | вклад) Нет описания правки |
||
| (не показано 8 промежуточных версий этого же участника) | |||
| Строка 30: | Строка 30: | ||
border-radius: 2px; | border-radius: 2px; | ||
background: rgba(255, 128, 0, 0.5); | background: rgba(255, 128, 0, 0.5); | ||
font-family: | font-family: ZektonRg; | ||
} | } | ||
| Строка 97: | Строка 97: | ||
border-radius: 50px; | border-radius: 50px; | ||
text-align: center; | text-align: center; | ||
font-family: ' | font-family: 'ZektonRg'; /* Твой шрифт */ | ||
font-weight: bold; | font-weight: bold; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
| Строка 289: | Строка 289: | ||
/* ЗАГОЛОВОК */ | /* ЗАГОЛОВОК */ | ||
.abdul-gallery-title { | .abdul-gallery-title { | ||
font-family: ' | font-family: 'ZektonRg' !important; | ||
font-size: 1.5em; | font-size: 1.5em; | ||
color: #b71c1c; | color: #b71c1c; | ||
| Строка 408: | Строка 408: | ||
body { | body { | ||
color: #000 !important; /* Текст статей черный, чтобы читался на светлом */ | color: #000 !important; /* Текст статей черный, чтобы читался на светлом */ | ||
font-family: 'Roboto', 'Arial', sans-serif; | /* font-family: 'Roboto', 'Arial', sans-serif; */ | ||
} | } | ||
| Строка 421: | Строка 421: | ||
padding: 10px !important; | padding: 10px !important; | ||
margin-bottom: 15px !important; | margin-bottom: 15px !important; | ||
box-shadow: 0 0 10px rgba(0,0,0,0.5) !important; | /*box-shadow: 0 0 10px rgba(0,0,0,0.5) !important;*/ | ||
} | } | ||
| Строка 428: | Строка 428: | ||
/* Голубой цвет, как на твоем старом скрине - для контраста */ | /* Голубой цвет, как на твоем старом скрине - для контраста */ | ||
color: #448aff !important; | color: #448aff !important; | ||
font-family: ' | font-family: 'ZektonRg' !important; | ||
font-size: 1.1em !important; | font-size: 1.1em !important; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
| Строка 455: | Строка 455: | ||
/* Общий стиль: Шрифт Impact или жирный, цвет тёмно-красный */ | /* Общий стиль: Шрифт Impact или жирный, цвет тёмно-красный */ | ||
#firstHeading, h1, h2, h3, h4, h5, h6 { | #firstHeading, h1, h2, h3, h4, h5, h6 { | ||
/* font-family: ' | /* font-family: 'ZektonRg' !important; */ | ||
/* font-weight: normal !important; */ | /* font-weight: normal !important; */ | ||
margin-top: 1em !important; | margin-top: 1em !important; | ||
| Строка 464: | Строка 464: | ||
/* H1 - Название статьи (Градиент "Кровавое Золото") */ | /* H1 - Название статьи (Градиент "Кровавое Золото") */ | ||
#firstHeading { | #firstHeading { | ||
font-size: 2. | font-size: 2.3em !important; | ||
/* Градиентный текст */ | /* Градиентный текст */ | ||
background: linear-gradient(to bottom, # | background: linear-gradient(to bottom, #400000, #F00000); | ||
-webkit-background-clip: text; | -webkit-background-clip: text; | ||
-webkit-text-fill-color: transparent; | -webkit-text-fill-color: transparent; | ||
| Строка 524: | Строка 524: | ||
color: #fff !important; | color: #fff !important; | ||
border: 1px solid #444 !important; | border: 1px solid #444 !important; | ||
font-family: ' | font-family: 'ZektonRg' !important; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
border-radius: 4px 4px 0 0; | border-radius: 4px 4px 0 0; | ||
| Строка 534: | Строка 534: | ||
color: #fff !important; | color: #fff !important; | ||
border: 1px solid #ff5252 !important; | border: 1px solid #ff5252 !important; | ||
} | |||
#p-logo-text a { | |||
color: #FFF !important; | |||
text-shadow: 0px 0px 20px #F00; | |||
} | } | ||
Текущая версия от 23:02, 16 апреля 2026
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: ZektonRg;
}
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;
}
/* === КРАСИВЫЕ КНОПКИ (ФИНАЛ) === */
/* Контейнер */
.abdul-buttons-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
align-items: center;
margin: 30px 0;
padding: 25px;
background: #12121a;
border-radius: 15px;
border: 1px solid rgba(255, 255, 255, 0.05);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
/* Общий стиль кнопки */
.abdul-btn {
display: inline-block;
width: 260px;
padding: 15px 10px;
border-radius: 50px;
text-align: center;
font-family: 'ZektonRg'; /* Твой шрифт */
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1px;
color: #ffffff !important;
text-decoration: none !important;
transition: all 0.3s ease;
cursor: pointer; /* Делает курсор "рукой" */
line-height: normal; /* Фикс для выравнивания */
}
/* Цвета */
.btn-red {
background: linear-gradient(135deg, #b71c1c, #d32f2f);
border: 1px solid #ff5252;
box-shadow: 0 5px 15px rgba(183, 28, 28, 0.5);
}
.btn-orange {
background: linear-gradient(135deg, #e65100, #f57c00);
border: 1px solid #ff9800;
box-shadow: 0 5px 15px rgba(230, 81, 0, 0.5);
}
.btn-blue {
background: linear-gradient(135deg, #0d47a1, #1976d2);
border: 1px solid #42a5f5;
box-shadow: 0 5px 15px rgba(13, 71, 161, 0.5);
}
/* Эффект наведения */
.abdul-btn:hover {
transform: scale(1.05);
filter: brightness(1.2);
box-shadow: 0 0 20px rgba(255, 255, 255, 0.6) !important;
}
/* Иконки */
.btn-icon {
font-size: 1.4em;
vertical-align: middle;
margin-right: 10px;
}
.btn-text {
vertical-align: middle;
}
/* =======================================================
СТИЛИ ДЛЯ РЕЕСТРА ГРЕШНИКОВ (ОБНОВЛЕННЫЕ)
Вставьте это в MediaWiki:Common.css
======================================================= */
/* --- Базовая карточка (Большая) --- */
.sinner-card {
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
cursor: pointer;
position: relative;
z-index: 1;
}
/* Эффект при наведении на карточку (подъем) */
.sinner-card:hover {
transform: translateY(-5px);
filter: brightness(1.1);
z-index: 10;
}
/* Зум картинки внутри ЛЮБОЙ карточки */
.sinner-img-zoom {
transition: transform 0.4s ease;
display: block; /* Важно для корректного зума */
}
/* При наведении на родительскую карточку, увеличиваем картинку внутри */
.sinner-card:hover .sinner-img-zoom,
.sinner-card-mini:hover .sinner-img-zoom {
transform: scale(1.12);
}
/* --- Цветовая индикация (Свечение) --- */
.sinner-card-red:hover {
box-shadow: 0 0 25px rgba(254, 0, 1, 0.5) !important;
border-color: #ff5252 !important;
}
.sinner-card-yellow:hover {
box-shadow: 0 0 25px rgba(255, 191, 0, 0.5) !important;
border-color: #ffd700 !important;
}
.sinner-card-green:hover {
box-shadow: 0 0 25px rgba(9, 139, 41, 0.5) !important;
border-color: #4caf50 !important;
}
/* --- Мини-карточки (Предатели) --- */
.sinner-card-mini {
background: #1e1e2f;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 12px;
display: flex;
align-items: center;
gap: 15px;
transition: all 0.3s ease;
}
.sinner-card-mini:hover {
background: #25253a;
border-color: rgba(255, 82, 82, 0.3);
transform: translateX(5px); /* Легкий сдвиг вправо при наведении */
}
/* Круглая рамка для фото в мини-карточке */
.mini-avatar-frame {
width: 60px;
height: 60px;
border-radius: 50%;
overflow: hidden;
border: 2px solid #333;
flex-shrink: 0;
}
.sinner-card-mini:hover .mini-avatar-frame {
border-color: #ff5252;
}
/* =======================================================
АНИМАЦИЯ ДЛЯ КАРТОЧЕК (ГРЕШНИКИ И ПРОЧЕЕ)
======================================================= */
.sinner-card {
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important; /* Плавность */
cursor: pointer;
position: relative;
z-index: 1;
}
.sinner-card:hover {
transform: scale(1.05) translateY(-5px); /* Увеличение и легкий подъем */
filter: brightness(1.15); /* Делаем чуть ярче */
box-shadow: 0 15px 30px rgba(255, 82, 82, 0.4) !important; /* Красное свечение */
border-color: #ff5252 !important; /* Красная рамка */
z-index: 10; /* Чтобы карточка перекрывала соседние */
}
/* Контекст всплывающего окна */
.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: 'ZektonRg' !important;
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-WIKI FINAL STYLE
===================================================== */
/* 1. БАЗОВЫЕ НАСТРОЙКИ */
body {
color: #000 !important; /* Текст статей черный, чтобы читался на светлом */
/* font-family: 'Roboto', 'Arial', sans-serif; */
}
/* 2. БОКОВЫЕ ПАНЕЛИ (ВОЗВРАЩАЕМ ВИДИМОСТЬ) */
.sidebar-chunk {
/* Тёмный фон (85% непрозрачности), чтобы текст читался на фоне картинки */
background: rgba(10, 10, 10, 0.85) !important;
/* Бордовая рамка */
border: 1px solid #b71c1c !important;
border-radius: 6px !important;
padding: 10px !important;
margin-bottom: 15px !important;
/*box-shadow: 0 0 10px rgba(0,0,0,0.5) !important;*/
}
/* Заголовки меню (Навигация, Инструменты) */
.sidebar-chunk h2 {
/* Голубой цвет, как на твоем старом скрине - для контраста */
color: #448aff !important;
font-family: 'ZektonRg' !important;
font-size: 1.1em !important;
text-transform: uppercase;
border-bottom: 1px dashed #448aff !important;
margin-bottom: 5px !important;
padding-bottom: 5px !important;
background: transparent !important; /* Убираем градиент текста, если был */
-webkit-text-fill-color: initial !important;
}
/* Ссылки внутри меню */
.sidebar-chunk ul li a {
color: #e0e0e0 !important; /* Светло-серый текст ссылок */
font-size: 0.95em !important;
font-weight: bold !important;
}
.sidebar-chunk ul li a:hover {
color: #ffd700 !important; /* Золотой при наведении */
padding-left: 5px !important;
transition: all 0.2s ease;
}
/* 3. ЗАГОЛОВКИ СТАТЕЙ (СДЕЛАЛ ИНТЕРЕСНЕЕ) */
/* Общий стиль: Шрифт Impact или жирный, цвет тёмно-красный */
#firstHeading, h1, h2, h3, h4, h5, h6 {
/* font-family: 'ZektonRg' !important; */
/* font-weight: normal !important; */
margin-top: 1em !important;
text-transform: uppercase !important;
letter-spacing: 0.5px;
}
/* H1 - Название статьи (Градиент "Кровавое Золото") */
#firstHeading {
font-size: 2.3em !important;
/* Градиентный текст */
background: linear-gradient(to bottom, #400000, #F00000);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
/* Тень для объема, так как градиент может теряться */
filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.5));
border-bottom: 3px solid #b71c1c !important;
padding-bottom: 5px !important;
}
/* H2 - Разделы (Тёмно-красные плашки) */
h2 {
color: #fff !important; /* Белый текст */
background: linear-gradient(90deg, #8a0a0a 0%, rgba(138, 10, 10, 0) 100%) !important; /* Красный градиент фона */
border-left: 8px solid #b71c1c !important;
padding: 5px 10px !important;
text-shadow: 1px 1px 2px #000;
}
/* H3 - Подзаголовки (Тёмно-бордовые) */
h3 {
color: #880e4f !important; /* Насыщенный бордовый */
border-bottom: 1px solid #ccc !important;
font-size: 1.4em !important;
}
/* Анимация заголовков при наведении */
h1:hover, h2:hover, h3:hover {
padding-left: 10px !important;
transition: padding-left 0.3s ease;
cursor: default;
}
/* 4. ССЫЛКИ В ТЕКСТЕ */
/* Обычные ссылки */
a {
color: #0d47a1 !important; /* Тёмно-синий */
text-decoration: none !important;
font-weight: bold;
}
/* Несуществующие */
a.new {
color: #c62828 !important; /* Кроваво-красный */
}
a:hover {
color: #ff6f00 !important; /* Оранжевый при наведении */
text-decoration: underline !important;
}
/* 5. ВЕРХНИЕ КНОПКИ (Заглавная, Правка и т.д.) */
#p-namespaces ul li a,
#p-views ul li a,
#p-cactions ul li a {
background: #222 !important; /* Тёмные кнопки */
color: #fff !important;
border: 1px solid #444 !important;
font-family: 'ZektonRg' !important;
text-transform: uppercase;
border-radius: 4px 4px 0 0;
}
#p-namespaces ul li.selected a,
#p-views ul li.selected a {
background: #b71c1c !important; /* Активная кнопка - красная */
color: #fff !important;
border: 1px solid #ff5252 !important;
}
#p-logo-text a {
color: #FFF !important;
text-shadow: 0px 0px 20px #F00;
}