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

Материал из AbduloverA.com
Нет описания правки
Нет описания правки
Метка: отменено
Строка 234: Строка 234:


/* =====================================================
/* =====================================================
   ABDUL-WIKI TIMELESS SKIN (V3.0 - NO SOAP)
   ABDUL-WIKI LIGHT THEME (READABLE & BRUTAL)
   ===================================================== */
   ===================================================== */


/* --- 1. ФОН И ПРОЗРАЧНОСТЬ --- */
/* --- 0. ПОДКЛЮЧЕНИЕ ШРИФТА --- */
/* Google Drive ссылка не сработает напрямую!
  Нужна прямая ссылка на файл .woff или .ttf.
  Если шрифт не грузится, будет использован Impact или Arial. */
@font-face {
    font-family: 'Zekton';
    src: url('https://твоя-прямая-ссылка/Zekton.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
 
/* --- 1. ГЛОБАЛЬНЫЕ НАСТРОЙКИ ТЕКСТА И ФОНА --- */


body {
body {
    /* Фон страницы (за ним твоя картинка) */
     background-color: #000 !important;
     background-color: #000 !important;
     /* Если фон пропал, убедись, что в настройках скина включена картинка, или раскомментируй строку ниже: */
     /* Основной шрифт для всего сайта */
     /* background-image: url('ССЫЛКА_НА_ФОН.jpg') !important; */
     font-family: 'Zekton', 'Impact', sans-serif !important;  
    color: #000000 !important;
     font-size: 16px;
     font-family: sans-serif;
}
}


/* Контейнер статьи (Белый лист) */
#mw-content-container {
#mw-content-container {
    /* Сделали светлее (0.85), чтобы фон просвечивал */
     background: rgba(245, 245, 245, 0.95) !important; /* Светло-серый, почти белый */
     background: rgba(15, 15, 15, 0.85) !important;
     border: 1px solid #b71c1c !important; /* Красная рамка */
     border: 1px solid #333 !important;
     box-shadow: 0 0 50px rgba(0,0,0,0.9) !important;
     box-shadow: 0 0 50px rgba(0,0,0,0.9) !important;
     border-radius: 8px !important;
     border-radius: 8px !important;
     margin-top: 10px !important;
     margin-top: 10px !important;
    padding: 20px !important;
}
}


#content {
/* Цвет основного текста */
#content, .mw-body {
    color: #222 !important; /* ЧЕРНЫЙ ТЕКСТ */
     background: transparent !important;
     background: transparent !important;
    border: none !important;
    padding: 20px !important;
}
}


/* --- 2. ЗАГОЛОВКИ (ИСПРАВЛЕНИЕ "МЫЛА") --- */
/* --- 2. ССЫЛКИ (УБИВАЕМ СИНИЙ ЦВЕТ) --- */
 
/* Обычные ссылки */
a {
    color: #b71c1c !important; /* Темно-красный */
    text-decoration: none !important;
    font-weight: bold;
    transition: 0.2s;
}
 
/* При наведении */
a:hover {
    color: #e65100 !important; /* Оранжевый */
    text-shadow: 0 0 5px rgba(230, 81, 0, 0.4);
    text-decoration: underline !important;
}
 
/* Ссылки на несуществующие страницы */
a.new {
    color: #ff0000 !important; /* Ярко-красный */
}
 
/* Внешние ссылки (с иконкой) */
a.external {
    color: #880e4f !important; /* Бордовый */
}
 
/* --- 3. ЗАГОЛОВКИ (ЧЕТКОСТЬ И СТИЛЬ) --- */


/* Общий стиль для всех заголовков */
/* Название сайта (АбдуловерА) в шапке */
#firstHeading, h1, h2, h3, h4, h5, h6 {
.mw-wiki-title {
     /* Сначала ищем Zekton, если нет - берем Impact (он есть у всех) */
     color: #ffd700 !important; /* Золото */
     font-family: 'Zekton', 'Impact', sans-serif !important;  
    text-shadow: 2px 2px 0 #b71c1c !important; /* Красная тень */
     border-bottom: none !important;
     font-family: 'Zekton', 'Impact', sans-serif !important;
    margin-top: 1em !important;
     letter-spacing: 1px;
}
}


Строка 276: Строка 315:
     font-size: 2.8em !important;
     font-size: 2.8em !important;
     text-transform: uppercase !important;
     text-transform: uppercase !important;
     color: #ffd700 !important; /* Золото */
     color: #b71c1c !important; /* Красный */
    /* Жесткая черная тень для четкости */
     text-shadow: 1px 1px 0 #000 !important;
     text-shadow: 2px 2px 0 #000, -1px -1px 0 #000 !important;  
     border-bottom: 3px solid #b71c1c !important;
     border-bottom: 2px solid #b71c1c !important;
     padding-bottom: 10px !important;
     padding-bottom: 10px !important;
    margin-bottom: 20px !important;
}
}


/* H2 - Заголовки разделов (САМОЕ ВАЖНОЕ) */
/* H2 - Разделы */
h2 {
h2 {
    /* Темно-красный градиент, более плотный */
     background: linear-gradient(90deg, #222 0%, rgba(255,255,255,0) 100%) !important;
     background: linear-gradient(90deg, #8a0a0a 0%, rgba(0,0,0,0) 100%) !important;
     border-left: 8px solid #ffd700 !important; /* Золотая полоса */
     border-left: 6px solid #ff0000 !important; /* Ярко-красная полоса */
     color: #fff !important; /* Белый текст на темном фоне заголовка */
     padding: 10px 20px !important;
     padding: 8px 20px !important;
     color: #fff !important;
     text-transform: uppercase !important;
     text-transform: uppercase !important;
     /* Убираем свечение, делаем жесткую тень */
     border-radius: 0 10px 10px 0 !important;
    text-shadow: 1px 1px 2px #000 !important;  
     margin-top: 30px !important;
     border-radius: 0 8px 8px 0 !important;
     text-shadow: 2px 2px 0 #000 !important; /* Жесткая тень */
     letter-spacing: 1px !important;
}
}


/* H3 - Подзаголовки */
/* H3 - Подзаголовки */
h3 {
h3 {
     color: #42a5f5 !important;
     color: #b71c1c !important;
     border-bottom: 1px dashed #555 !important;
     border-bottom: 2px solid #ccc !important;
     text-shadow: 1px 1px 0 #000 !important;
     margin-top: 20px !important;
    font-size: 1.4em !important;
}
}


/* --- 3. БОКОВЫЕ ПАНЕЛИ (СЛЕВА И СПРАВА) --- */
/* --- 4. КАРТИНКИ (КРАСИВЫЕ РАМКИ) --- */
 
/* Стандартные рамки тумбнейлов */
div.thumbinner {
    background-color: #fff !important; /* Белый фон рамки */
    border: 2px solid #b71c1c !important; /* Красная обводка */
    border-radius: 10px !important; /* Скругление */
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3) !important;
    padding: 5px !important;
}


/* Блоки меню */
/* Скругление самой картинки */
.sidebar-chunk {
div.thumbinner img {
    background: rgba(0, 0, 0, 0.7) !important; /* Чуть темнее */
    border: 1px solid #b71c1c !important;
     border-radius: 6px !important;
     border-radius: 6px !important;
    padding: 15px !important; /* Больше отступ, чтобы текст не вылезал */
    margin-bottom: 15px !important;
    box-shadow: 0 0 15px rgba(0,0,0,0.5) !important;
}
}


/* Заголовки меню */
/* Подпись под картинкой */
.sidebar-chunk h2 {
.thumbcaption {
     font-family: 'Zekton', 'Impact', sans-serif !important;
    color: #444 !important;
     color: #42a5f5 !important;
    font-size: 0.9em !important;
     font-size: 1.2em !important;
    text-align: center !important;
     font-style: italic;
}
 
/* --- 5. ОГЛАВЛЕНИЕ (TOC) --- */
#toc, .toc {
    background-color: #1a1a1a !important; /* Темный блок */
    border: 2px solid #ffd700 !important; /* Золотая рамка */
    border-radius: 10px !important;
     color: #eee !important;
     padding: 15px !important;
}
 
.toctitle h2 {
    color: #ffd700 !important;
     background: none !important;
     background: none !important;
     border: none !important;
     border: none !important;
    border-bottom: 1px solid #42a5f5 !important;
    padding: 0 0 5px 0 !important;
    margin: 0 0 10px 0 !important;
    text-shadow: none !important;
}
}


/* Ссылки в меню */
/* Ссылки внутри оглавления */
.sidebar-chunk ul li a {
#toc a, .toc a {
     color: #ccc !important;
     color: #ccc !important;
    font-size: 0.95em !important;
    padding: 4px 0 !important;
    display: block !important;
    word-wrap: break-word !important; /* Перенос длинных слов */
}
}
#toc a:hover, .toc a:hover {
    color: #fff !important;
    text-decoration: none !important;
}
/* --- 6. БОКОВЫЕ ПАНЕЛИ И МЕНЮ --- */


.sidebar-chunk ul li a:hover {
.sidebar-chunk {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid #b71c1c !important;
    border-radius: 8px !important;
    box-shadow: 0 0 15px rgba(0,0,0,0.5) !important;
}
 
.sidebar-chunk h2 {
     color: #ffd700 !important;
     color: #ffd700 !important;
     padding-left: 5px !important;
    background: none !important;
    border-bottom: 1px solid #b71c1c !important;
     padding-bottom: 5px !important;
    margin-bottom: 10px !important;
}
}


/* --- 4. КНОПКИ (Заглавная, Обсуждение...) --- */
.sidebar-chunk a {
 
#p-namespaces ul li a,
#p-views ul li a,
#p-cactions ul li a {
    background: linear-gradient(to bottom, #2a2a2a, #1a1a1a) !important;
     color: #ddd !important;
     color: #ddd !important;
    border: 1px solid #444 !important;
}
    border-bottom: none !important;
.sidebar-chunk a:hover {
     margin-right: 4px !important;
     color: #ff5252 !important;
    border-radius: 4px 4px 0 0 !important;
    font-family: 'Zekton', 'Impact', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 8px 15px !important;
}
}


/* Активная вкладка */
/* --- 7. КНОПКИ В ШАПКЕ (Заглавная, Править) --- */
#p-namespaces ul li.selected a,
.mw-portlet-body ul li a {
#p-views ul li.selected a {
     background: #333 !important;
     background: #b71c1c !important; /* Красный */
     color: #fff !important;
     color: #fff !important;
     border: 1px solid #ff5252 !important;
     border-radius: 5px 5px 0 0 !important;
     border-bottom: none !important;
     margin-right: 3px !important;
     text-shadow: 1px 1px 2px #000 !important; /* Четкий текст */
     border: 1px solid #555 !important;
    box-shadow: 0 -2px 10px rgba(183, 28, 28, 0.5) !important;
}
}


#p-namespaces ul li a:hover,
.mw-portlet-body ul li.selected a {
#p-views ul li a:hover {
     background: #b71c1c !important; /* Активная - красная */
     background: #333 !important;
     color: #fff !important;
     color: #ffd700 !important;
    border: 1px solid #ff0000 !important;
    font-weight: bold !important;
}
}
/* --- 5. ССЫЛКИ --- */
a { color: #42a5f5 !important; text-decoration: none !important; }
a:hover { color: #ffd700 !important; text-decoration: underline !important; }

Версия от 19:21, 25 ноября 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-WIKI LIGHT THEME (READABLE & BRUTAL)
   ===================================================== */

/* --- 0. ПОДКЛЮЧЕНИЕ ШРИФТА --- */
/* Google Drive ссылка не сработает напрямую! 
   Нужна прямая ссылка на файл .woff или .ttf. 
   Если шрифт не грузится, будет использован Impact или Arial. */
@font-face {
    font-family: 'Zekton';
    src: url('https://твоя-прямая-ссылка/Zekton.woff') format('woff'); 
    font-weight: normal;
    font-style: normal;
}

/* --- 1. ГЛОБАЛЬНЫЕ НАСТРОЙКИ ТЕКСТА И ФОНА --- */

body {
    /* Фон страницы (за ним твоя картинка) */
    background-color: #000 !important;
    /* Основной шрифт для всего сайта */
    font-family: 'Zekton', 'Impact', sans-serif !important; 
    font-size: 16px;
}

/* Контейнер статьи (Белый лист) */
#mw-content-container {
    background: rgba(245, 245, 245, 0.95) !important; /* Светло-серый, почти белый */
    border: 1px solid #b71c1c !important; /* Красная рамка */
    box-shadow: 0 0 50px rgba(0,0,0,0.9) !important;
    border-radius: 8px !important;
    margin-top: 10px !important;
    padding: 20px !important;
}

/* Цвет основного текста */
#content, .mw-body {
    color: #222 !important; /* ЧЕРНЫЙ ТЕКСТ */
    background: transparent !important;
}

/* --- 2. ССЫЛКИ (УБИВАЕМ СИНИЙ ЦВЕТ) --- */

/* Обычные ссылки */
a { 
    color: #b71c1c !important; /* Темно-красный */
    text-decoration: none !important; 
    font-weight: bold;
    transition: 0.2s;
}

/* При наведении */
a:hover { 
    color: #e65100 !important; /* Оранжевый */
    text-shadow: 0 0 5px rgba(230, 81, 0, 0.4);
    text-decoration: underline !important;
}

/* Ссылки на несуществующие страницы */
a.new { 
    color: #ff0000 !important; /* Ярко-красный */
}

/* Внешние ссылки (с иконкой) */
a.external { 
    color: #880e4f !important; /* Бордовый */
}

/* --- 3. ЗАГОЛОВКИ (ЧЕТКОСТЬ И СТИЛЬ) --- */

/* Название сайта (АбдуловерА) в шапке */
.mw-wiki-title {
    color: #ffd700 !important; /* Золото */
    text-shadow: 2px 2px 0 #b71c1c !important; /* Красная тень */
    font-family: 'Zekton', 'Impact', sans-serif !important;
    letter-spacing: 1px;
}

/* H1 - Название статьи */
#firstHeading {
    font-size: 2.8em !important;
    text-transform: uppercase !important;
    color: #b71c1c !important; /* Красный */
    text-shadow: 1px 1px 0 #000 !important;
    border-bottom: 3px solid #b71c1c !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
}

/* H2 - Разделы */
h2 {
    background: linear-gradient(90deg, #222 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;
    text-shadow: 2px 2px 0 #000 !important; /* Жесткая тень */
}

/* H3 - Подзаголовки */
h3 {
    color: #b71c1c !important;
    border-bottom: 2px solid #ccc !important;
    margin-top: 20px !important;
    font-size: 1.4em !important;
}

/* --- 4. КАРТИНКИ (КРАСИВЫЕ РАМКИ) --- */

/* Стандартные рамки тумбнейлов */
div.thumbinner {
    background-color: #fff !important; /* Белый фон рамки */
    border: 2px solid #b71c1c !important; /* Красная обводка */
    border-radius: 10px !important; /* Скругление */
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3) !important;
    padding: 5px !important;
}

/* Скругление самой картинки */
div.thumbinner img {
    border-radius: 6px !important;
}

/* Подпись под картинкой */
.thumbcaption {
    color: #444 !important;
    font-size: 0.9em !important;
    text-align: center !important;
    font-style: italic;
}

/* --- 5. ОГЛАВЛЕНИЕ (TOC) --- */
#toc, .toc {
    background-color: #1a1a1a !important; /* Темный блок */
    border: 2px solid #ffd700 !important; /* Золотая рамка */
    border-radius: 10px !important;
    color: #eee !important;
    padding: 15px !important;
}

.toctitle h2 {
    color: #ffd700 !important;
    background: none !important;
    border: none !important;
}

/* Ссылки внутри оглавления */
#toc a, .toc a {
    color: #ccc !important;
}
#toc a:hover, .toc a:hover {
    color: #fff !important;
    text-decoration: none !important;
}

/* --- 6. БОКОВЫЕ ПАНЕЛИ И МЕНЮ --- */

.sidebar-chunk {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid #b71c1c !important;
    border-radius: 8px !important;
    box-shadow: 0 0 15px rgba(0,0,0,0.5) !important;
}

.sidebar-chunk h2 {
    color: #ffd700 !important;
    background: none !important;
    border-bottom: 1px solid #b71c1c !important;
    padding-bottom: 5px !important;
    margin-bottom: 10px !important;
}

.sidebar-chunk a {
    color: #ddd !important;
}
.sidebar-chunk a:hover {
    color: #ff5252 !important;
}

/* --- 7. КНОПКИ В ШАПКЕ (Заглавная, Править) --- */
.mw-portlet-body ul li a {
    background: #333 !important;
    color: #fff !important;
    border-radius: 5px 5px 0 0 !important;
    margin-right: 3px !important;
    border: 1px solid #555 !important;
}

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