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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показаны 163 промежуточные версии этого же участника)
Строка 1: Строка 1:
.role-container {
body:before {
     padding: 12px;
     content: "";
     border-radius: 10px;
    position: fixed;
     margin-bottom: 15px;
    top: 0;
     transition: background 0.5s ease; /* Плавный переход */
    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;
}
}


.role-divider {
@keyframes snowmove {
     height: 14px;
     from { background-position: 0 0; }
     transition: background 0.5s ease;
     to { background-position: 500px 1000px; }
}
}


.role-divider-gradient {
h1, h2, h3, h4, h5 {
     transition: background 0.5s ease;
    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 {
#command {
     text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
    background: #241c4a;
    border: 2px solid #372686;
}
#legal {
    background: #3e3530;
    border: 2px solid #6d5d53;
}
#security {
    background: #7a0000;
    border: 2px solid #ff0000;
}
#prison {
    background: #00173d;
    border: 2px solid #002e86;
}
#med {
     background: #15343c;
    border: 2px solid #275b66;
}
#sci {
    background: #3b2860;
    border: 2px solid #663a9c;
}
#eng {
    background: #665200;
    border: 2px solid #CC9900;
}
#supply {
    background: #512d1b;
    border: 2px solid #9c593a;
}
#service {
    background: #2e552e;
    border: 2px solid #3E8B3E;
}
#antags {
    background: #500000;
    border: 2px solid #5C0000;
}
#free-antags {
    background: #5d002f;
    border: 2px solid #8b0049;
}
#wildlife {
    background: #b36212;
    border: 2px solid #DA791E;
}
#cc {
    background: #344f23;
    border: 2px solid #4b662f;
}
#specops {
    background: #004022;
    border: 2px solid #005F2F;
}
#synthetics {
    background: #360050;
    border: 2px solid #4b0082;
}
#ghost {
    background: #3a3a3a;
    border: 2px solid #5e5e5e;
}
 
/* Градиенты между блоками */
.role-divider-gradient {
    background: linear-gradient(to bottom, #241c4a, #3e3530);
}
 
.role-divider-command {
    background: linear-gradient(#241c4a, #3e3530);
}
 
.role-divider-legal {
    background: linear-gradient(#3e3530, #7a0000);
}
 
.role-divider-security {
    background: linear-gradient(#7a0000, #00173d);
}
 
.role-divider-prison {
    background: linear-gradient(#00173d, #15343c);
}
 
.role-divider-med {
    background: linear-gradient(#15343c, #3b2860);
}
 
.role-divider-sci {
    background: linear-gradient(#3b2860, #665200);
}
 
.role-divider-eng {
    background: linear-gradient(#665200, #512d1b);
}
 
.role-divider-supply {
    background: linear-gradient(#512d1b, #2e552e);
}
 
.role-divider-service {
    background: linear-gradient(#2e552e, #500000);
}
 
.role-divider-antags {
    background: linear-gradient(#500000, #5d002f);
}
}


.role-divider-free-antags {
a, a:visited {
     background: linear-gradient(#5d002f, #b36212);
     transition: color 0.3s, text-shadow 0.3s;
}
}


.role-divider-wildlife {
a:hover {
     background: linear-gradient(#b36212, #344f23);
     color: #b3e5fc !important;
    text-shadow: 0 0 6px #b3e5fc;
}
}


.role-divider-cc {
.wikitable {
     background: linear-gradient(#344f23, #004022);
     border-color: rgba(179, 229, 252, 0.6) !important;
    border-radius: 6px;
}
}


.role-divider-specops {
.wikitable th {
     background: linear-gradient(#004022, #360050);
     background: rgba(179, 229, 252, 0.1);
}
}


.role-divider-synthetics {
.mw-page-title-main:before {
     background: linear-gradient(#360050, #3a3a3a);
     content: " ";
}
}


.role-divider-ghost {
.mw-page-title-main:after {
     background: linear-gradient(#3a3a3a, #000);
     content: " ";
}
}

Текущая версия от 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: " ";
}