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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показаны 222 промежуточные версии этого же участника)
Строка 1: Строка 1:
/* Основной стиль для информации о расах */
body:before {
.race-info {
    content: "";
     background-color: #f5f5f5;
    position: fixed;
     padding: 20px;
    top: 0;
     border-radius: 10px;
    left: 0;
     margin-top: 20px;
     right: 0;
     font-family: Arial, sans-serif;
     bottom: 0;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     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;
}
}


.race-info h2 {
@keyframes snowmove {
     color: #333;
    from { background-position: 0 0; }
     to { background-position: 500px 1000px; }
}
}


.race-info ul {
h1, h2, h3, h4, h5 {
     list-style-type: none;
     text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
     padding-left: 0;
     transition: text-shadow 0.3s;
}
}


.race-info ul li {
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
     margin-bottom: 10px;
     text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
}
}


.race-info .highlight {
a, a:visited {
     font-weight: bold;
     transition: color 0.3s, text-shadow 0.3s;
    color: #d9534f;
}
}


button {
a:hover {
     background-color: #007bff;
     color: #b3e5fc !important;
     color: white;
     text-shadow: 0 0 6px #b3e5fc;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}
}


button:hover {
.wikitable {
     background-color: #0056b3;
     border-color: rgba(179, 229, 252, 0.6) !important;
    border-radius: 6px;
}
}


.select-race {
.wikitable th {
     font-size: 1.2em;
     background: rgba(179, 229, 252, 0.1);
     margin-bottom: 20px;
}
 
.mw-page-title-main:before {
    content: " ";
}
 
.mw-page-title-main:after {
     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: " ";
}