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

Материал из AbduloverA.com
Нет описания правки
(Полностью удалено содержимое страницы)
Метка: очистка
 
(не показана 1 промежуточная версия этого же участника)
Строка 1: Строка 1:
@font-face { font-family: 'Zekton'; src: url('https://cdn.jsdelivr.net/gh/sofusrose/arch-rice@master/.local/share/fonts/Zekton%20Rg.ttf') format('truetype'); font-weight: normal; font-style: normal; }


/* =====================================================
  ABDUL-WIKI FINAL HYBRID (LIGHT CONTENT / DARK UI)
  ===================================================== */
/* --- 1. ОСНОВА (ПРОЗРАЧНОСТЬ) --- */
/* Делаем подложки прозрачными, чтобы было видно твою картинку фона */
html, body, #mw-page-base, #mw-head-base {
    background: transparent !important;
    font-family: 'Zekton', 'Arial', sans-serif !important;
}
/* --- 2. ЦЕНТРАЛЬНЫЙ БЛОК (СТАТЬЯ) - СВЕТЛЫЙ --- */
#mw-content-container {
    background: rgba(245, 245, 245, 0.96) !important; /* Светло-серый лист */
    border: 2px solid #b71c1c !important; /* Красная рамка */
    border-radius: 8px !important;
    box-shadow: 0 0 50px rgba(0,0,0,0.9) !important;
    margin-top: 15px !important;
    padding: 0 !important;
}
/* Текст статьи - ЧЕРНЫЙ */
#content, .mw-body {
    color: #111 !important;
    background: transparent !important;
    padding: 25px !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.85) !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;
    margin-bottom: 8px !important;
    padding-bottom: 5px !important;
    font-family: 'Zekton', sans-serif !important;
    text-shadow: 0 0 5px #42a5f5 !important;
}
/* Ссылки в меню - БЕЛЫЕ (чтобы видно на темном) */
.sidebar-chunk ul li a {
    color: #ddd !important;
    font-size: 0.95em !important;
}
.sidebar-chunk ul li a:hover {
    color: #ffd700 !important; /* Золото */
    padding-left: 5px !important;
    transition: 0.2s;
}
/* --- 4. ЗАГОЛОВКИ СТАТЕЙ --- */
#firstHeading {
    font-size: 2.8em !important;
    text-transform: uppercase !important;
    color: #b71c1c !important; /* Красный заголовок */
    border-bottom: 3px solid #b71c1c !important;
    text-shadow: 1px 1px 0 #000 !important;
}
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;
    margin-top: 30px !important;
    text-shadow: 1px 1px 2px #000 !important;
    border-radius: 0 10px 10px 0 !important;
}
h3 {
    color: #b71c1c !important;
    border-bottom: 1px dashed #888 !important;
}
/* --- 5. ССЫЛКИ В ТЕКСТЕ --- */
/* Темно-красные, чтобы выделялись на белом */
#mw-content-text a {
    color: #b71c1c !important;
    font-weight: bold !important;
    text-decoration: none !important;
}
#mw-content-text a:hover {
    color: #e65100 !important;
    text-decoration: underline !important;
}
#mw-content-text a.new { color: #ff0000 !important; }
/* --- 6. КНОПКИ ВЕРХНЕГО МЕНЮ --- */
#p-namespaces, #p-views, #p-cactions {
    background: transparent !important;
}
.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;
    margin-right: 3px !important;
    border-radius: 6px 6px 0 0 !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;
}
/* --- 7. КАРТИНКИ (РАМКИ) --- */
div.thumbinner {
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

Текущая версия от 19:46, 25 ноября 2025