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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Метка: отменено
Строка 1: Строка 1:
:root {
    --color-primary__l: 40%;
    --primary-bg-color: #1c1c1c;
    --secondary-bg-color: #2c2c2c;
    --item-bg-color: #2e2e2e;
    --item-hover-bg-color: #3a1f0b;
    --border-color: #8b4513;
    --text-color: #f5deb3;
    --hover-text-color: #fff8dc;
    --cf-bg-card: #2a1a0f;
    --cf-text-light: #ffe4b5;
    --cf-text-muted: #c68642;
    --color-surface-0: hsl(var(--color-primary__h),20%,10%);
    --color-surface-1: hsl(var(--color-primary__h),25%,12%);
    --color-surface-2: hsl(var(--color-primary__h),25%,15%);
    --color-surface-3: hsl(var(--color-primary__h),15%,20%);
    --color-surface-4: hsl(var(--color-primary__h),15%,25%);
    --background-color-primary--hover: #ff7518;
    --background-color-primary--active: #cc5500;
    --background-color-overlay: hsla(var(--color-primary__h),20%,10%,0.95);
    --background-color-overlay--lighter: hsla(var(--color-primary__h),20%,10%,0.6);
    --color-base: #ffb84d;
    --color-base--subtle: #d98c3f;
    --border-color-base: rgba(255,165,0,0.05);
    --border-color-base--lighter: rgba(255,165,0,0.02);
    --border-color-base--darker: rgba(255,140,0,0.08);
}
/* Основной фон и текст */
body, .mw-body {
body, .mw-body {
     background-color: var(--primary-bg-color) !important;
     background:
        linear-gradient(to bottom, #1c1c1c 0%, #2a1a0f 40%, #3a1f0b 70%, #2c1c0f 100%),
        radial-gradient(circle at 50% 20%, rgba(255,117,24,0.2), transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(255,140,0,0.15), transparent 50%),
        radial-gradient(circle at 70% 90%, rgba(255,165,0,0.1), transparent 50%);
    background-blend-mode: overlay, overlay, overlay, overlay;
     color: var(--text-color) !important;
     color: var(--text-color) !important;
     transition: background 0.5s ease, color 0.5s ease;
     transition: background 0.5s ease, color 0.5s ease;
}
}


/* Заголовки с хэллоуинским свечением */
.halloween-leaves .halloween-leaf {
.mw-first-heading, .mw-headline {
     font-size: 1.2em;
     color: #ff7518 !important;
     animation: fall 5s linear infinite;
    text-shadow: 2px 2px 6px #000;
     animation: glow 3s ease-in-out infinite;
}
}


/* Ссылки с хэллоуинской подсветкой */
.halloween-pumpkin {
a {
     display: inline-block;
     color: #ffa500 !important;
     animation: float 3s ease-in-out infinite, glow 3s ease-in-out infinite;
    text-decoration: none;
     transition: color 0.3s ease, text-shadow 0.3s ease;
}
a:hover {
    color: #ffb84d !important;
    text-shadow: 0 0 8px #ff7518;
}
 
/* Меню и панели */
.skin-vector #p-personal li a,
.skin-vector #p-views li a,
.vector-menu-tabs li a,
.vector-menu-dropdown h3 span,
.vector-menu-tabs li.selected a {
    background-color: var(--item-bg-color) !important;
    color: var(--text-color) !important;
    transition: background 0.3s ease, color 0.3s ease;
}
.vector-menu-tabs li.selected a {
    background-color: #ff7518 !important;
    color: var(--primary-bg-color) !important;
}
 
/* Таблицы, блоки, инфобоксы */
table, th, td,
blockquote, .infobox, .navbox,
div.thumb, .mw-parser-output > div {
    background-color: var(--item-bg-color) !important;
    color: var(--text-color) !important;
    border: 1px solid var(--border-color-base) !important;
    transition: background 0.3s ease, color 0.3s ease;
}
}


/* Кнопки */
.mw-first-heading, .mw-headline, .halloween-text {
button, .oo-ui-buttonElement-button {
     text-shadow: 0 0 3px #ff7518, 0 0 8px #ffa500;
     background-color: #331a00 !important;
     animation: glow 4s ease-in-out infinite;
    color: var(--text-color) !important;
    border: 1px solid #8b4513 !important;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
button:hover, .oo-ui-buttonElement-button:hover {
    background-color: #8b4513 !important;
     color: #ffb84d !important;
    box-shadow: 0 0 10px #ff7518;
}
}


/* Футер */
table, blockquote, .infobox, .navbox {
.mw-footer {
     box-shadow: 0 0 12px rgba(255,117,24,0.25);
     background-color: var(--secondary-bg-color) !important;
    color: var(--text-color) !important;
    border-top: 2px solid #ff7518 !important;
}
}


/* Анимация хэллоуинских листьев */
.halloween-eyes {
.halloween-leaves {
     width: 8px;
    position: fixed;
     height: 8px;
    top: 0;
     border-radius: 50%;
    left: 0;
     background: #ff7518;
     width: 100%;
     box-shadow: 0 0 8px #ff7518;
     height: 100%;
     animation: blink 1.8s infinite;
     pointer-events: none;
     overflow: hidden;
     z-index: 9999;
}
.halloween-leaf {
    position: absolute;
    top: -2em;
    animation: fall 7s linear infinite;
    color: #ff7518;
}
.halloween-pumpkin {
    display: inline-block;
     animation: float 2s ease-in-out infinite, glow 3s ease-in-out infinite;
}
}


/* Ключевые кадры */
@keyframes fall {
@keyframes fall {
     0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
     0% { transform: translateY(-30px) rotate(0deg); opacity: 0; }
     50% { opacity: 1; }
     50% { opacity: 1; }
     100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
     100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}
}
@keyframes float {
@keyframes float {
     0%, 100% { transform: translateY(0); }
     0%,100% { transform: translateY(0); }
     50% { transform: translateY(-5px); }
     50% { transform: translateY(-6px); }
}
}
@keyframes glow {
@keyframes glow {
     0%,100% { text-shadow: 0 0 2px #ff7518; }
     0%,100% { text-shadow: 0 0 2px #ff7518; }
     50% { text-shadow: 0 0 12px #ffa500; }
     50% { text-shadow: 0 0 14px #ffa500; }
}
@keyframes blink {
    0%, 20%, 40%, 60%, 80%, 100% { opacity: 1; }
    10%, 30%, 50%, 70%, 90% { opacity: 0; }
}
}

Версия от 17:57, 23 октября 2025

body, .mw-body {
    background:
        linear-gradient(to bottom, #1c1c1c 0%, #2a1a0f 40%, #3a1f0b 70%, #2c1c0f 100%),
        radial-gradient(circle at 50% 20%, rgba(255,117,24,0.2), transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(255,140,0,0.15), transparent 50%),
        radial-gradient(circle at 70% 90%, rgba(255,165,0,0.1), transparent 50%);
    background-blend-mode: overlay, overlay, overlay, overlay;
    color: var(--text-color) !important;
    transition: background 0.5s ease, color 0.5s ease;
}

.halloween-leaves .halloween-leaf {
    font-size: 1.2em;
    animation: fall 5s linear infinite;
}

.halloween-pumpkin {
    display: inline-block;
    animation: float 3s ease-in-out infinite, glow 3s ease-in-out infinite;
}

.mw-first-heading, .mw-headline, .halloween-text {
    text-shadow: 0 0 3px #ff7518, 0 0 8px #ffa500;
    animation: glow 4s ease-in-out infinite;
}

table, blockquote, .infobox, .navbox {
    box-shadow: 0 0 12px rgba(255,117,24,0.25);
}

.halloween-eyes {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff7518;
    box-shadow: 0 0 8px #ff7518;
    animation: blink 1.8s infinite;
}

@keyframes fall {
    0% { transform: translateY(-30px) rotate(0deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes glow {
    0%,100% { text-shadow: 0 0 2px #ff7518; }
    50% { text-shadow: 0 0 14px #ffa500; }
}
@keyframes blink {
    0%, 20%, 40%, 60%, 80%, 100% { opacity: 1; }
    10%, 30%, 50%, 70%, 90% { opacity: 0; }
}