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

Страница интерфейса MediaWiki
Нет описания правки
Метка: отменено
Нет описания правки
 
(не показано 27 промежуточных версий этого же участника)
Строка 1: Строка 1:
.race-carousel {
body:before {
     width: 100%;
     content: "";
     max-width: 600px;
     position: fixed;
     margin: 0 auto;
    top: 0;
     text-align: center;
    left: 0;
     font-family: sans-serif;
    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;
}
}


.race-main {
@keyframes snowmove {
     display: flex;
     from { background-position: 0 0; }
    align-items: center;
     to { background-position: 500px 1000px; }
     justify-content: center;
    margin-bottom: 10px;
    position: relative;
}
}


.race-main .arrow {
h1, h2, h3, h4, h5 {
     font-size: 30px;
     text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
    cursor: pointer;
     transition: text-shadow 0.3s;
    user-select: none;
    padding: 0 15px;
    color: #0C9456;
     transition: color 0.2s;
}
}


.race-main .arrow:hover {
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
     color: #05B16C;
     text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
}
}


.race-card-large {
a, a:visited {
    padding: 10px;
     transition: color 0.3s, text-shadow 0.3s;
    background: linear-gradient(145deg, #0C9456, #05914A);
    border-radius: 0.5em;
    box-shadow: 0 0 15px rgba(12,148,86,0.5);
    min-width: 200px;
    text-align: center;
     transition: transform 0.2s, box-shadow 0.2s;
}
}


.race-card-large:hover {
a:hover {
     transform: scale(1.05);
     color: #b3e5fc !important;
    text-shadow: 0 0 6px #b3e5fc;
}
}


.race-card-large img {
.wikitable {
    width: 150px;
     border-color: rgba(179, 229, 252, 0.6) !important;
    height: 150px;
     border-radius: 6px;
     border-radius: 0.3em;
     margin-bottom: 5px;
}
}


.race-name-large {
.wikitable th {
     font-weight: bold;
     background: rgba(179, 229, 252, 0.1);
    font-size: 18px;
    text-shadow: 0 0 4px #0C9456;
}
}


.race-mini-container {
.mw-page-title-main:before {
     display: flex;
     content: " ";
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}
}


.race-mini {
.mw-page-title-main:after {
    width: 50px;
     content: " ";
    height: 50px;
    margin: 5px;
    cursor: pointer;
    border-radius: 0.3em;
    border: 2px solid #0C9456;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
 
.race-mini img {
     width: 100%;
    height: 100%;
    border-radius: 0.3em;
}
 
.race-mini:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(12,148,86,0.6);
}
 
.race-info {
    margin-top: 10px;
    font-weight: bold;
    font-size: 16px;
    color: #0C9456;
}
}

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