MediaWiki:Test.css

Страница интерфейса MediaWiki

Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
  • Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
  • Internet Explorer / Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
  • Opera: Нажмите Ctrl+F5.
:root {
    --color-primary__h: 25;
    --color-primary__l: 40%;
    --primary-bg-color: #2a1a0f;
    --secondary-bg-color: #3b1f0b;
    --item-bg-color: #402715;
    --item-hover-bg-color: #5a2d0f;
    --border-color: #8b4513;
    --text-color: #ffe4b5;
    --hover-text-color: #fff8dc;
    --cf-bg-card: #3a1a0f;
    --cf-text-light: #ffdab9;
    --cf-text-muted: #c68642;
    --pumpkin-orange: #ff7518;
    --spooky-purple: #5a005a;
    --bat-black: #1b0c0c;
    --ghost-white: #f8f8ff;
    --zombie-green: #556b2f;
}

body, .mw-body {
    background: 
        radial-gradient(circle at top, #3b0f0f 0%, #1c0c0c 70%),
        linear-gradient(
            to bottom,
            #2a1a0f 0%,
            #3b1f0b 30%,
            #5a2d0f 60%,
            #ff7518 80%,
            #2c1c0f 100%
        );
    background-attachment: fixed;
    color: var(--text-color);
    transition: all 0.5s ease;
    min-height: 100vh;
}

.mw-headline, h2, h3 {
    color: var(--pumpkin-orange);
    text-shadow: 2px 2px 6px #000, 0 0 15px rgba(255,117,24,0.4), 0 0 25px rgba(139,0,139,0.3);
    animation: spooky-glow 4s ease-in-out infinite alternate;
    position: relative;
}

@keyframes spooky-glow {
    0%, 100% { 
        text-shadow: 2px 2px 6px #000, 0 0 15px rgba(255,117,24,0.4);
    }
    50% { 
        text-shadow: 2px 2px 8px #000, 0 0 20px rgba(255,117,24,0.6), 0 0 30px rgba(90,0,90,0.4);
    }
}

.mw-body-header .firstHeading-container h1 {
    color: #ffb84d !important;
    text-shadow: 2px 2px 4px #000;
    animation: none !important;
}

.mw-body-header #siteSub {
    color: #ffdcb3 !important;
}

.mw-body-header a {
    color: #ffb84d !important;
    text-shadow: 0 0 3px rgba(255,117,24,0.2);
}

.mw-body-header a:hover {
    color: #fff8dc !important;
    text-shadow: 0 0 8px var(--pumpkin-orange);
}

a { 
    color: #ffb84d; 
    text-decoration: none; 
    transition: all 0.3s; 
}

a:hover { 
    color: #fff8dc; 
    text-shadow: 0 0 12px var(--pumpkin-orange); 
}

table, th, td, blockquote, .infobox, .navbox, div.thumb, .mw-parser-output > div {
    background: linear-gradient(135deg, #402715, #5a2d0f);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

table:hover, .infobox:hover, .navbox:hover {
    box-shadow: 0 6px 20px rgba(255,117,24,0.3);
    border-color: var(--pumpkin-orange);
}

button, .oo-ui-buttonElement-button {
    background: linear-gradient(135deg, #331a00, #5a2d0f);
    color: var(--text-color);
    border: 1px solid #8b4513;
    border-radius: 6px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

button:hover, .oo-ui-buttonElement-button:hover {
    background: linear-gradient(135deg, #5a2d0f, var(--pumpkin-orange));
    color: var(--ghost-white);
    box-shadow: 0 0 15px var(--pumpkin-orange), 0 0 30px rgba(255,117,24,0.3);
    transform: translateY(-2px);
}

.mw-footer {
    background: linear-gradient(135deg, #3b1f0b, #2a1a0f);
    color: var(--text-color);
    border-top: 3px solid var(--pumpkin-orange);
    box-shadow: 0 -5px 20px rgba(255, 117, 24, 0.2);
}

.citizen-header {
    background: linear-gradient(to bottom, #2a1a0f 0%, #5a2d0f 50%, #ff7518 100%);
}

.halloween-leaves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 998;
}

.halloween-leaf {
    position: absolute;
    top: -2em;
    font-size: 1.5em;
    animation: fall linear infinite;
    opacity: 0;
    filter: drop-shadow(0 0 5px var(--pumpkin-orange));
}

.halloween-leaf:nth-child(odd) { animation-duration: 8s; }
.halloween-leaf:nth-child(even) { animation-duration: 10s; }
.halloween-leaf:nth-child(3n) { animation-duration: 12s; }
.halloween-leaf:nth-child(3n+1) { animation-delay: -2s; }
.halloween-leaf:nth-child(5n) { animation-delay: -4s; }

@keyframes fall {
    0% { transform: translateY(-20px) translateX(-10px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 0.8; }
    100% { transform: translateY(100vh) translateX(20px) rotate(360deg); opacity: 0; }
}

.halloween-pumpkin {
    display: inline-block;
    animation: float 3s ease-in-out infinite, spooky-glow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 8px var(--pumpkin-orange));
}

.halloween-eyes {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--pumpkin-orange);
    box-shadow: 0 0 10px var(--pumpkin-orange);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 20%, 40%, 60%, 80%, 100% { opacity: 1; }
    10%, 30%, 50%, 70%, 90% { opacity: 0; }
}

.halloween-bat {
    position: absolute;
    width: 25px;
    height: 15px;
    background: var(--bat-black);
    border-radius: 50% 50% 20% 20%;
    animation: fly 12s linear infinite;
}

.halloween-bat::after, .halloween-bat::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 5px;
    background: var(--bat-black);
    border-radius: 50%;
}

.halloween-bat::before { top: -5px; left: 0; transform: rotate(30deg); }
.halloween-bat::after { top: -5px; right: 0; transform: rotate(-30deg); }

@keyframes fly {
    0% { transform: translate(-50px, 0) rotate(0deg); }
    25% { transform: translate(200px, 100px) rotate(15deg); }
    50% { transform: translate(400px, 50px) rotate(-15deg); }
    75% { transform: translate(600px, 150px) rotate(10deg); }
    100% { transform: translate(800px, 0) rotate(0deg); }
}

.spider-web {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: 
        radial-gradient(circle, transparent 30%, var(--border-color) 31%, transparent 32%),
        linear-gradient(45deg, transparent 45%, var(--border-color) 46%, transparent 47%),
        linear-gradient(-45deg, transparent 45%, var(--border-color) 46%, transparent 47%);
    opacity: 0.3;
    pointer-events: none;
}

html { scroll-behavior: smooth; }

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 117, 24, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 0, 139, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}