MediaWiki:Common.css
Материал из AbduloverA.com
Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
- Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
- Internet Explorer / Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
- Opera: Нажмите Ctrl+F5.
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;
}
/* === КРАСИВЫЕ КНОПКИ (ФИНАЛ) === */
/* Контейнер */
.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: 'Zekton', 'Orbitron', sans-serif; /* Твой шрифт */
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: '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; }
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@font-face { font-family: 'Zekton'; src: url('https://cdn.jsdelivr.net/gh/sofusrose/arch-rice@master/.local/share/fonts/Zekton%20Rg.ttf'); }
/* =====================================================
ABDUL-WIKI FIXED STYLES
===================================================== */
/* 1. БАЗОВЫЕ НАСТРОЙКИ */
body {
/* Возвращаем черный цвет текста, как было изначально */
color: #000000 !important;
font-family: 'Roboto', sans-serif;
}
/* Я УДАЛИЛ настройки фона для #content и #mw-content-container.
Теперь сайт будет использовать свои стандартные заливки,
и текст будет читаться нормально. */
/* 2. ЗАГОЛОВКИ (ШРИФТЫ И НОВАЯ АНИМАЦИЯ) */
/* Общий стиль для заголовков */
#firstHeading, h1, h2, h3, h4, h5, h6 {
font-family: 'Zekton', 'Roboto', sans-serif !important;
font-weight: normal !important;
margin-top: 1em !important;
color: #000 !important; /* Базовый цвет заголовков - черный */
/* Плавный переход для анимации */
transition: text-shadow 0.3s ease, color 0.3s ease, transform 0.2s ease;
cursor: default;
}
/* АНИМАЦИЯ ПРИ НАВЕДЕНИИ (Magma Effect) */
/* При наведении заголовок наливается цветом и светится */
h1:hover, h2:hover, h3:hover, #firstHeading:hover {
color: #b71c1c !important; /* Темно-красный */
/* Свечение: сначала желтое, потом красное (эффект огня) */
text-shadow: 0 0 5px rgba(255, 215, 0, 0.6), 0 0 10px rgba(255, 0, 0, 0.4);
/* Едва заметное увеличение для динамики */
transform: scale(1.005);
}
/* H1 - Название статьи */
#firstHeading {
font-size: 2.5em !important;
text-transform: uppercase !important;
color: #ffd700 !important; /* Золотой (исключение для главного заголовка) */
text-shadow: 1px 1px 0 #000;
border-bottom: 2px solid #b71c1c !important;
padding-bottom: 5px !important;
}
#firstHeading:hover {
color: #ff5252 !important; /* При наведении светлеет */
text-shadow: 0 0 15px #ff5252;
}
/* H2 - Заголовки разделов */
h2 {
border-bottom: 1px solid #b71c1c !important;
padding-left: 0 !important;
}
/* H3 - Подзаголовки */
h3 {
font-size: 1.3em !important;
color: #333 !important; /* Темно-серый, НЕ синий */
border-bottom: none !important;
}
/* 3. ССЫЛКИ (ЦВЕТА) */
/* Обычные ссылки (на существующие статьи) - ТЁМНО-СИНИЙ (как просил) */
a {
color: #0d47a1 !important; /* Насыщенный темно-синий */
text-decoration: none !important;
transition: color 0.2s ease, text-shadow 0.2s ease;
}
/* Ссылки на несуществующие статьи (Red links) - КРАСНЫЙ (вместо синего) */
a.new {
color: #d32f2f !important; /* Красный */
}
/* Эффекты при наведении на ссылки */
a:hover {
color: #ff8f00 !important; /* Янтарно-золотой */
text-decoration: underline !important;
text-shadow: 0 0 8px rgba(255, 143, 0, 0.4); /* Легкое свечение */
}
a.new:hover {
color: #ff5252 !important;
text-shadow: 0 0 8px rgba(255, 82, 82, 0.4);
}
/* 4. БОКОВЫЕ ПАНЕЛИ И МЕНЮ */
/* Не трогаем фон, меняем только текст */
.sidebar-chunk h2 {
color: #555 !important; /* Цвет заголовков меню (Серый) */
font-family: 'Zekton', sans-serif !important;
border-bottom: 1px solid #ccc !important;
}
.sidebar-chunk ul li a {
color: #444 !important; /* Цвет ссылок в меню */
}
.sidebar-chunk ul li a:hover {
color: #b71c1c !important; /* Красный при наведении */
padding-left: 3px !important; /* Чуть сдвигается вправо */
transition: padding-left 0.2s;
}
/* 5. ВКЛАДКИ ВВЕРХУ (Заглавная, Обсуждение) */
/* Делаем их аккуратными, шрифт Zekton */
#p-namespaces ul li a,
#p-views ul li a,
#p-cactions ul li a {
font-family: 'Zekton', 'Roboto', sans-serif !important;
text-transform: uppercase;
font-size: 0.9em !important;
}
/* Активная вкладка */
#p-namespaces ul li.selected a,
#p-views ul li.selected a {
color: #b71c1c !important; /* Красный текст активной вкладки */
font-weight: bold !important;
border-bottom: 2px solid #b71c1c !important;
}