MediaWiki:Common.css: различия между версиями

Материал из AbduloverA.com
Нет описания правки
Метка: отменено
Нет описания правки
Метка: ручная отмена
Строка 232: Строка 232:
.abdul-nav-btn.prev { left: 10px; }
.abdul-nav-btn.prev { left: 10px; }
.abdul-nav-btn.next { right: 10px; }
.abdul-nav-btn.next { right: 10px; }
/* =======================================================
  1. КРАСИВЫЕ ЗАГОЛОВКИ (ГЛОБАЛЬНЫЙ СТИЛЬ)
  ======================================================= */
/* Главное название статьи (H1) */
.firstHeading {
    font-family: 'Zekton', 'ZektonBd', sans-serif;
    font-weight: normal;
    color: #ffffff !important;
    border-bottom: 2px solid #ff5252;
    text-shadow: 0 0 10px rgba(255, 82, 82, 0.8);
    padding-bottom: 5px;
    margin-bottom: 20px;
    background: transparent !important; /* Убираем любой фон */
}
/* Заголовки разделов (== Заголовок ==) */
.mw-body h2 {
    font-family: 'Zekton', 'ZektonBd', sans-serif;
    background: linear-gradient(90deg, #b71c1c 0%, rgba(183,28,28,0) 100%);
    border-left: 5px solid #ff5252;
    border-bottom: none;
    padding: 8px 15px;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #fff !important;
    font-weight: bold;
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px #ff5252;
    border-radius: 0 5px 5px 0;
    overflow: hidden;
}
/* Подзаголовки (=== Подзаголовок ===) */
.mw-body h3 {
    font-family: 'Zekton', 'ZektonBd', sans-serif;
    color: #ffd700 !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 5px;
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.3em;
    background: none !important;
}
/* =======================================================
  2. СТИЛЬ ВКЛАДОК (Заглавная, Править и т.д.)
  ======================================================= */
/* Убираем старые фоновые картинки у меню */
.vector-menu-tabs, .vector-menu-tabs a, #p-namespaces ul, #p-views ul {
    background-image: none !important;
}
/* Сами кнопки вкладок - делаем их темными и полупрозрачными */
.vector-menu-tabs li, #p-namespaces li, #p-views li {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #444;
    border-bottom: none;
    margin-right: 4px;
    border-radius: 5px 5px 0 0;
    transition: all 0.2s ease;
}
/* Текст внутри вкладок */
.vector-menu-tabs li a, #p-namespaces li a, #p-views li a {
    color: #ccc;
    font-family: 'Zekton', sans-serif;
    font-size: 0.9em;
    padding-top: 8px;
}
/* При наведении - красное свечение */
.vector-menu-tabs li:hover, #p-namespaces li:hover, #p-views li:hover {
    background: #333;
    border-color: #ff5252;
    box-shadow: 0 -2px 10px rgba(255, 82, 82, 0.4);
}
/* Активная вкладка (выбранная) */
.vector-menu-tabs li.selected, #p-namespaces li.selected, #p-views li.selected {
    background: linear-gradient(to top, #b71c1c, #222);
    border-color: #ff5252;
    font-weight: bold;
}
.vector-menu-tabs li.selected a, #p-namespaces li.selected a {
    color: #fff;
    text-shadow: 0 0 5px #fff;
}
/* =======================================================
  3. ФИНАЛЬНОЕ УДАЛЕНИЕ ПРЯМОУГОЛЬНИКА (АГРЕССИВНО)
  Делаем фон КОНТЕНТА и всех его оберток полностью прозрачным
  ======================================================= */
/* Целимся во ВСЕ возможные обертки контента, которые могут задавать фон */
#content, .mw-body, #bodyContent, #mw-content-container, #contentWrapper, #siteNotice, div.mw-body-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* Цвет текста внутри статей */
.mw-body {
    color: #eee;
}
/* Убираем фон у блока категорий, если он остался */
.catlinks {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid #444 !important;
}

Версия от 19:07, 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; }