|
|
| Строка 1: |
Строка 1: |
| /* =====================================================
| |
| ABDUL-WIKI: ФИНАЛЬНЫЙ КОД (Zekton FIX + TRANSPARENCY)
| |
| ===================================================== */
| |
|
| |
|
| /* --- 1. ГЛОБАЛЬНЫЙ СБРОС (УБИРАЕМ БЕЛЫЕ КРАЯ) --- */
| |
|
| |
| /* Сбрасываем все фоны в прозрачность, чтобы видна была картинка скина */
| |
| html, body,
| |
| #mw-page-base,
| |
| #mw-head-base,
| |
| #mw-content-container /* Главный контейнер статьи */
| |
| {
| |
| background: transparent !important;
| |
| border: none !important;
| |
| box-shadow: none !important;
| |
| }
| |
|
| |
| /* Применяем Zekton (он теперь подхватится с твоего сервера) */
| |
| body {
| |
| font-family: 'Zekton', 'Arial', sans-serif !important;
| |
| color: #111; /* Базовый цвет текста */
| |
| }
| |
|
| |
| /* --- 2. ЦЕНТРАЛЬНЫЙ БЛОК (СТАТЬЯ) - СВЕТЛЫЙ ЛИСТ --- */
| |
|
| |
| /* Сама область текста */
| |
| #content {
| |
| background: rgba(235, 235, 235, 0.96) !important; /* Светло-серый, "бумага" */
| |
| border: 2px solid #b71c1c !important; /* Красная рамка */
| |
| border-radius: 8px !important;
| |
| box-shadow: 0 0 50px rgba(0,0,0,0.8) !important;
| |
| padding: 25px !important;
| |
| margin-top: 10px !important;
| |
| color: #111 !important;
| |
| }
| |
|
| |
| /* --- 3. БОКОВЫЕ ПАНЕЛИ (МЕНЮ) - ТЕМНЫЕ ПЛАВАЮЩИЕ БЛОКИ --- */
| |
|
| |
| /* Сами блоки меню (Навигация, Инструменты) */
| |
| .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;
| |
| background: transparent !important; /* Убираем градиент h2, если он был */
| |
| }
| |
|
| |
| /* Ссылки в меню */
| |
| .sidebar-chunk ul li a {
| |
| color: #ddd !important;
| |
| font-weight: bold;
| |
| text-shadow: 1px 1px 2px #000 !important;
| |
| }
| |
|
| |
| /* --- 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;
| |
| font-family: 'Zekton', sans-serif !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;
| |
| font-family: 'Zekton', sans-serif !important;
| |
| }
| |
|
| |
| /* --- 5. ССЫЛКИ И КАРТИНКИ --- */
| |
| #mw-content-text a {
| |
| color: #b71c1c !important;
| |
| text-decoration: none !important;
| |
| font-weight: bold;
| |
| }
| |
| #mw-content-text a:hover {
| |
| color: #e65100 !important;
| |
| text-decoration: underline !important;
| |
| }
| |
|
| |
| div.thumbinner {
| |
| background-color: #f0f0f0 !important;
| |
| border: 1px solid #ccc !important;
| |
| border-radius: 5px !important;
| |
| box-shadow: 0 4px 8px rgba(0,0,0,0.2) !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;
| |
| border-radius: 6px 6px 0 0 !important;
| |
| text-transform: uppercase !important;
| |
| font-family: 'Zekton', sans-serif !important;
| |
| }
| |
|
| |
| .mw-portlet-body ul li.selected a {
| |
| background: #b71c1c !important;
| |
| color: #fff !important;
| |
| border-color: #ff0000 !important;
| |
| }
| |