MediaWiki:Timeless.css: различия между версиями
Материал из AbduloverA.com
Adept (обсуждение | вклад) Нет описания правки |
Adept (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
/* ===================================================== | /* ===================================================== | ||
ABDUL-WIKI | ABDUL-WIKI: ФИНАЛЬНЫЙ КОД (Zekton FIX + TRANSPARENCY) | ||
===================================================== */ | ===================================================== */ | ||
/* --- 1. | /* --- 1. ГЛОБАЛЬНЫЙ СБРОС (УБИРАЕМ БЕЛЫЕ КРАЯ) --- */ | ||
/* | |||
html, body, #mw-page-base, #mw-head-base { | /* Сбрасываем все фоны в прозрачность, чтобы видна была картинка скина */ | ||
html, body, | |||
#mw-page-base, | |||
#mw-head-base, | |||
#mw-content-container /* Главный контейнер статьи */ | |||
{ | |||
background: transparent !important; | background: transparent !important; | ||
border: none !important; | |||
box-shadow: none !important; | |||
} | |||
/* Применяем Zekton (он теперь подхватится с твоего сервера) */ | |||
body { | |||
font-family: 'Zekton', 'Arial', sans-serif !important; | font-family: 'Zekton', 'Arial', sans-serif !important; | ||
color: #111; /* Базовый цвет текста */ | |||
} | } | ||
/* --- 2. ЦЕНТРАЛЬНЫЙ БЛОК (СТАТЬЯ) - СВЕТЛЫЙ --- */ | /* --- 2. ЦЕНТРАЛЬНЫЙ БЛОК (СТАТЬЯ) - СВЕТЛЫЙ ЛИСТ --- */ | ||
# | |||
background: rgba( | /* Сама область текста */ | ||
#content { | |||
background: rgba(235, 235, 235, 0.96) !important; /* Светло-серый, "бумага" */ | |||
border: 2px solid #b71c1c !important; /* Красная рамка */ | border: 2px solid #b71c1c !important; /* Красная рамка */ | ||
border-radius: 8px !important; | border-radius: 8px !important; | ||
box-shadow: 0 0 50px rgba(0,0,0,0. | box-shadow: 0 0 50px rgba(0,0,0,0.8) !important; | ||
padding: 25px !important; | |||
margin-top: 10px !important; | |||
color: #111 !important; | color: #111 !important; | ||
} | } | ||
/* --- 3. БОКОВЫЕ ПАНЕЛИ (МЕНЮ) - ТЕМНЫЕ --- */ | /* --- 3. БОКОВЫЕ ПАНЕЛИ (МЕНЮ) - ТЕМНЫЕ ПЛАВАЮЩИЕ БЛОКИ --- */ | ||
/* Сами блоки меню | /* Сами блоки меню (Навигация, Инструменты) */ | ||
.sidebar-chunk { | .sidebar-chunk { | ||
background: rgba(15, 15, 15, 0.85) !important; /* | background: rgba(15, 15, 15, 0.85) !important; /* Темный полупрозрачный */ | ||
border: 1px solid #b71c1c !important; | border: 1px solid #b71c1c !important; | ||
border-radius: 6px !important; | border-radius: 6px !important; | ||
| Строка 47: | Строка 47: | ||
} | } | ||
/* Заголовки меню | /* Заголовки меню */ | ||
.sidebar-chunk h2 { | .sidebar-chunk h2 { | ||
color: #42a5f5 !important; | color: #42a5f5 !important; | ||
border-bottom: 1px solid #42a5f5 !important; | border-bottom: 1px solid #42a5f5 !important; | ||
margin-bottom: 8px !important; | margin-bottom: 8px !important; | ||
| Строка 55: | Строка 55: | ||
font-family: 'Zekton', sans-serif !important; | font-family: 'Zekton', sans-serif !important; | ||
text-shadow: 0 0 5px #42a5f5 !important; | text-shadow: 0 0 5px #42a5f5 !important; | ||
background: transparent !important; /* Убираем градиент h2, если он был */ | |||
} | } | ||
/* Ссылки в меню | /* Ссылки в меню */ | ||
.sidebar-chunk ul li a { | .sidebar-chunk ul li a { | ||
color: #ddd !important; | color: #ddd !important; | ||
font- | font-weight: bold; | ||
text-shadow: 1px 1px 2px #000 !important; | |||
} | } | ||
| Строка 73: | Строка 69: | ||
font-size: 2.8em !important; | font-size: 2.8em !important; | ||
text-transform: uppercase !important; | text-transform: uppercase !important; | ||
color: #b71c1c !important; | color: #b71c1c !important; | ||
border-bottom: 3px solid #b71c1c !important; | border-bottom: 3px solid #b71c1c !important; | ||
text-shadow: 1px 1px 0 #000 !important; | text-shadow: 1px 1px 0 #000 !important; | ||
font-family: 'Zekton', sans-serif !important; | |||
} | } | ||
h2 { | h2 { | ||
/* Темная полоса, белый текст, Золотая линия */ | |||
background: linear-gradient(90deg, #222 0%, rgba(255,255,255,0) 100%) !important; | background: linear-gradient(90deg, #222 0%, rgba(255,255,255,0) 100%) !important; | ||
border-left: 8px solid #ffd700 !important; | border-left: 8px solid #ffd700 !important; | ||
color: #fff !important; | color: #fff !important; | ||
padding: 8px 20px !important; | padding: 8px 20px !important; | ||
text-transform: uppercase !important; | text-transform: uppercase !important; | ||
| Строка 87: | Строка 85: | ||
text-shadow: 1px 1px 2px #000 !important; | text-shadow: 1px 1px 2px #000 !important; | ||
border-radius: 0 10px 10px 0 !important; | border-radius: 0 10px 10px 0 !important; | ||
font-family: 'Zekton', sans-serif !important; | |||
} | } | ||
/* --- 5. ССЫЛКИ И КАРТИНКИ --- */ | |||
/* --- 5. ССЫЛКИ | |||
#mw-content-text a { | #mw-content-text a { | ||
color: #b71c1c !important; | color: #b71c1c !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
font-weight: bold; | |||
} | } | ||
#mw-content-text a:hover { | #mw-content-text a:hover { | ||
| Строка 105: | Строка 98: | ||
text-decoration: underline !important; | text-decoration: underline !important; | ||
} | } | ||
/* --- 6. КНОПКИ | 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 { | #p-namespaces, #p-views, #p-cactions { | ||
background: transparent !important; | background: transparent !important; | ||
| Строка 117: | Строка 116: | ||
border: 1px solid #555 !important; | border: 1px solid #555 !important; | ||
border-bottom: none !important; | border-bottom: none !important; | ||
border-radius: 6px 6px 0 0 !important; | border-radius: 6px 6px 0 0 !important; | ||
text-transform: uppercase !important; | text-transform: uppercase !important; | ||
font-family: 'Zekton', sans-serif !important; | |||
} | } | ||
| Строка 126: | Строка 125: | ||
color: #fff !important; | color: #fff !important; | ||
border-color: #ff0000 !important; | border-color: #ff0000 !important; | ||
} | } | ||
Версия от 19:45, 25 ноября 2025
/* =====================================================
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;
}