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

/* =====================================================
   ABDUL-WIKI FINAL CLEAN STYLE (NO BACKGROUNDS)
   ===================================================== */

/* --- 1. ГЛОБАЛЬНЫЕ НАСТРОЙКИ --- */
/* Убираем все фоны и устанавливаем шрифт */
html, body, #mw-page-base, #mw-head-base {
    background: transparent !important; /* ГЛАВНОЕ: ВСЕ ПРОЗРАЧНО */
    font-family: 'Zekton', 'Roboto', 'Arial', sans-serif !important;
    color: #eee !important; /* Делаем текст светлым, чтобы читать на темном фоне */
}

/* --- 2. ЦЕНТРАЛЬНЫЙ БЛОК (СТАТЬЯ) - ПОЛНАЯ ПРОЗРАЧНОСТЬ --- */

/* Контейнеры статьи - полностью прозрачные */
#mw-content-container, #content, .mw-body {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #eee !important; /* Текст в статье - белый */
    padding: 25px !important;
    margin-top: 15px !important;
}

/* --- 3. БОКОВЫЕ ПАНЕЛИ (МЕНЮ) - ТЕМНЫЕ И ПРОЗРАЧНЫЕ БЛОКИ --- */

/* Убираем фоны у колонок меню */
#mw-site-navigation, #mw-related-navigation {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Стилизуем сами блоки ("Коробочки" меню) */
.sidebar-chunk {
    background: rgba(15, 15, 15, 0.9) !important; /* Темный фон */
    border: 1px solid #b71c1c !important; /* Красная рамка */
    border-radius: 6px !important;
    margin-bottom: 15px !important;
    padding: 12px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5) !important;
}

/* Заголовки меню */
.sidebar-chunk h2 {
    color: #42a5f5 !important;
    border-bottom: 1px solid #42a5f5 !important;
    font-family: 'Zekton', sans-serif !important;
    text-shadow: 0 0 5px #42a5f5 !important;
    margin-bottom: 8px !important;
    padding-bottom: 5px !important;
    background: transparent !important;
}

/* Ссылки в меню */
.sidebar-chunk ul li a {
    color: #ddd !important;
    font-weight: bold !important;
    text-shadow: 1px 1px 1px #000 !important;
}
.sidebar-chunk ul li a:hover {
    color: #ffd700 !important;
    padding-left: 5px !important;
    transition: 0.2s;
}

/* --- 4. ЗАГОЛОВКИ СТАТЕЙ --- */

/* Название статьи (H1) */
#firstHeading {
    font-size: 2.8em !important;
    text-transform: uppercase !important;
    color: #ffd700 !important; /* Золото */
    border-bottom: 3px solid #b71c1c !important; /* Красная линия */
    text-shadow: 1px 1px 0 #000 !important;
    padding-bottom: 10px !important;
    font-family: 'Zekton', 'Roboto', sans-serif !important;
}

/* Главы (H2) */
h2 {
    background: linear-gradient(90deg, #b71c1c 0%, rgba(255,255,255,0) 100%) !important; /* Темно-красный градиент */
    border-left: 8px solid #ffd700 !important; /* Золотая полоса */
    color: #fff !important; /* Белый текст */
    padding: 8px 20px !important;
    text-transform: uppercase !important;
    border-radius: 0 10px 10px 0 !important;
    margin-top: 30px !important;
    font-family: 'Zekton', sans-serif !important;
    text-shadow: 1px 1px 2px #000 !important;
    transition: 0.3s;
}

/* Анимация наведения на заголовок */
h2:hover {
    text-shadow: 0 0 10px #fff !important;
    padding-left: 25px !important;
}

/* Подзаголовки (H3) - чтобы читались на темном фоне */
h3 {
    color: #42a5f5 !important; /* Яркий синий/голубой */
    border-bottom: 1px dashed #555 !important;
    margin-top: 20px !important;
}

/* --- 5. ССЫЛКИ В ТЕКСТЕ --- */
#mw-content-text a {
    color: #ffd700 !important; /* Золотой (читается лучше всего на черном) */
    font-weight: bold !important;
    text-decoration: none !important;
}
#mw-content-text a:hover {
    color: #ff0000 !important; /* Красный */
    text-decoration: underline !important;
}
#mw-content-text a.new { color: #ff0000 !important; } /* Красный для несуществующих */

/* --- 6. КНОПКИ ВЕРХНЕГО МЕНЮ --- */
.mw-portlet-body ul li a {
    background: rgba(20, 20, 20, 0.9) !important;
    color: #ccc !important;
    border: 1px solid #555 !important;
    border-bottom: none !important;
    border-radius: 6px 6px 0 0 !important;
    font-family: 'Zekton', sans-serif !important;
    text-transform: uppercase !important;
}

.mw-portlet-body ul li.selected a {
    background: #b71c1c !important; /* Активная красная */
    color: #fff !important;
    border-color: #ff0000 !important;
    font-weight: bold !important;
}