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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 9 промежуточных версий этого же участника)
Строка 1: Строка 1:
body, .mw-body {
body:before {
     background-color: #121212 !important;
    content: "";
     color: #e0e0e0 !important;
    position: fixed;
     transition: background 0.5s ease, color 0.5s ease;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/3/36/Snowflakes_falling_transparent.gif");
     background-repeat: repeat;
     pointer-events: none;
     opacity: 0.35;
    z-index: 2;
    animation: snowmove 60s linear infinite;
}
}


.mw-first-heading, .mw-headline {
@keyframes snowmove {
     color: #ffb74d !important;
     from { background-position: 0 0; }
     text-shadow: 2px 2px 6px #000;
     to { background-position: 500px 1000px; }
    animation: glow 3s ease-in-out infinite;
}
}


a {
h1, h2, h3, h4, h5 {
    color: #81d4fa !important;
     text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
     text-decoration: none;
     transition: text-shadow 0.3s;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
a:hover {
     color: #ffa500 !important;
    text-shadow: 0 0 8px #ffa500;
}
}


.skin-vector #p-personal li a,
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
.skin-vector #p-views li a,
     text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
.vector-menu-tabs li a,
.vector-menu-dropdown h3 span,
.vector-menu-tabs li.selected a {
     background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    transition: background 0.3s ease, color 0.3s ease;
}
}
.vector-menu-tabs li.selected a { background-color: #ff9800 !important; color: #121212 !important; }


table, th, td,
a, a:visited {
blockquote, .infobox, .navbox,
     transition: color 0.3s, text-shadow 0.3s;
div.thumb, .mw-parser-output > div {
     background-color: #1c1c1c !important;
    color: #e0e0e0 !important;
    border: 1px solid #424242 !important;
    transition: background 0.3s ease, color 0.3s ease;
}
}


button, .oo-ui-buttonElement-button {
a:hover {
    background-color: #333 !important;
     color: #b3e5fc !important;
    color: #e0e0e0 !important;
     text-shadow: 0 0 6px #b3e5fc;
    border: 1px solid #555 !important;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
button:hover, .oo-ui-buttonElement-button:hover {
    background-color: #555 !important;
     color: #ffb74d !important;
     box-shadow: 0 0 10px #ffb74d;
}
}


.mw-footer {
.wikitable {
     background-color: #1a1a1a !important;
     border-color: rgba(179, 229, 252, 0.6) !important;
    color: #e0e0e0 !important;
     border-radius: 6px;
     border-top: 2px solid #ff9800 !important;
}
}


.halloween-leaves {
.wikitable th {
     position: fixed;
     background: rgba(179, 229, 252, 0.1);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}
 
.halloween-leaf {
    position: absolute;
    top: -2em;
    animation: fall 7s linear infinite;
}
 
.halloween-pumpkin {
    display: inline-block;
    animation: float 2s ease-in-out infinite, glow 3s ease-in-out infinite;
}
}


@keyframes fall {
.mw-page-title-main:before {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
     content: " ";
    50% { opacity: 1; }
     100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}
}


@keyframes float {
.mw-page-title-main:after {
     0%, 100% { transform: translateY(0); }
     content: " ";
    50% { transform: translateY(-5px); }
}
}
@keyframes glow {
    0%,100% { text-shadow: 0 0 2px #ff980

Текущая версия от 08:23, 13 ноября 2025

body:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/3/36/Snowflakes_falling_transparent.gif");
    background-repeat: repeat;
    pointer-events: none;
    opacity: 0.35;
    z-index: 2;
    animation: snowmove 60s linear infinite;
}

@keyframes snowmove {
    from { background-position: 0 0; }
    to { background-position: 500px 1000px; }
}

h1, h2, h3, h4, h5 {
    text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
    transition: text-shadow 0.3s;
}

h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
    text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
}

a, a:visited {
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
    color: #b3e5fc !important;
    text-shadow: 0 0 6px #b3e5fc;
}

.wikitable {
    border-color: rgba(179, 229, 252, 0.6) !important;
    border-radius: 6px;
}

.wikitable th {
    background: rgba(179, 229, 252, 0.1);
}

.mw-page-title-main:before {
    content: " ";
}

.mw-page-title-main:after {
    content: " ";
}