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

Страница интерфейса MediaWiki
Нет описания правки
Метка: отменено
Нет описания правки
 
(не показано 7 промежуточных версий этого же участника)
Строка 1: Строка 1:
body, .mw-body {
.ss14-rules {
     background:
     width: 100%;
        linear-gradient(to bottom, #1c1c1c 0%, #2a1a0f 40%, #3a1f0b 70%, #2c1c0f 100%),
    border-collapse: separate;
        radial-gradient(circle at 50% 20%, rgba(255,117,24,0.2), transparent 50%),
    border-spacing: 0 8px; /* Расстояние между строками */
        radial-gradient(circle at 30% 80%, rgba(255,140,0,0.15), transparent 50%),
     background-color: transparent;
        radial-gradient(circle at 70% 90%, rgba(255,165,0,0.1), transparent 50%);
     color: #cecece;
     background-blend-mode: overlay, overlay, overlay, overlay;
     font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
     color: var(--text-color) !important;
     transition: background 0.5s ease, color 0.5s ease;
}
}


.halloween-leaves .halloween-leaf {
.ss14-rules th {
     font-size: 1.2em;
    background: #1a1a1e;
     animation: fall 5s linear infinite;
    color: #7daeff;
    padding: 12px;
    text-transform: uppercase;
     font-size: 0.9em;
    letter-spacing: 1px;
     border-bottom: 2px solid #3a3a42;
}
}


.halloween-pumpkin {
.ss14-rules td:first-child,
     display: inline-block;
.ss14-rules td:nth-child(2) {
     animation: float 3s ease-in-out infinite, glow 3s ease-in-out infinite;
     background: #25252b;
    font-weight: bold;
     color: #ffffff;
    vertical-align: top;
    border-left: 4px solid #5a5a66; /* Акцентная полоса слева */
}
}


.mw-first-heading, .mw-headline, .halloween-text {
.ss14-rules td:first-child {
     text-shadow: 0 0 3px #ff7518, 0 0 8px #ffa500;
     white-space: nowrap;
     animation: glow 4s ease-in-out infinite;
    color: #ffca28; /* Золотистый цвет для номера */
     width: 10%;
}
}


table, blockquote, .infobox, .navbox {
/* Описание правила (третья колонка) */
     box-shadow: 0 0 12px rgba(255,117,24,0.25);
.ss14-rules td:last-child {
     background: #1e1e22;
    padding: 15px;
    line-height: 1.6;
    border-right: 1px solid #3a3a42;
}
}


.halloween-eyes {
.ss14-rules td big {
     width: 8px;
     display: block;
     height: 8px;
     color: #7daeff; /* Голубой акцент */
     border-radius: 50%;
     font-size: 1.1em;
     background: #ff7518;
     margin-bottom: 10px;
     box-shadow: 0 0 8px #ff7518;
     border-bottom: 1px solid #333;
     animation: blink 1.8s infinite;
     padding-bottom: 5px;
}
}


@keyframes fall {
.ss14-rules ul {
     0% { transform: translateY(-30px) rotate(0deg); opacity: 0; }
     margin-top: 10px;
     50% { opacity: 1; }
     list-style-type: square;
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}
}
@keyframes float {
 
    0%,100% { transform: translateY(0); }
.ss14-rules li {
     50% { transform: translateY(-6px); }
     margin-bottom: 8px;
}
}
@keyframes glow {
 
     0%,100% { text-shadow: 0 0 2px #ff7518; }
.ss14-rules tr:hover td {
     50% { text-shadow: 0 0 14px #ffa500; }
     background-color: #2d2d35 !important;
     transition: background 0.2s ease;
}
}
@keyframes blink {
 
     0%, 20%, 40%, 60%, 80%, 100% { opacity: 1; }
@media screen and (max-width: 720px) {
     10%, 30%, 50%, 70%, 90% { opacity: 0; }
     .ss14-rules, .ss14-rules tbody, .ss14-rules tr, .ss14-rules td {
        display: block;
        width: 100%;
    }
    .ss14-rules td {
        box-sizing: border-box;
    }
     .ss14-rules td:first-child {
        border-bottom: none;
        padding-bottom: 5px;
    }
}
}

Текущая версия от 14:16, 25 февраля 2026

.ss14-rules {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px; /* Расстояние между строками */
    background-color: transparent;
    color: #cecece;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ss14-rules th {
    background: #1a1a1e;
    color: #7daeff;
    padding: 12px;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
    border-bottom: 2px solid #3a3a42;
}

.ss14-rules td:first-child, 
.ss14-rules td:nth-child(2) {
    background: #25252b;
    font-weight: bold;
    color: #ffffff;
    vertical-align: top;
    border-left: 4px solid #5a5a66; /* Акцентная полоса слева */
}

.ss14-rules td:first-child {
    white-space: nowrap;
    color: #ffca28; /* Золотистый цвет для номера */
    width: 10%;
}

/* Описание правила (третья колонка) */
.ss14-rules td:last-child {
    background: #1e1e22;
    padding: 15px;
    line-height: 1.6;
    border-right: 1px solid #3a3a42;
}

.ss14-rules td big {
    display: block;
    color: #7daeff; /* Голубой акцент */
    font-size: 1.1em;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.ss14-rules ul {
    margin-top: 10px;
    list-style-type: square;
}

.ss14-rules li {
    margin-bottom: 8px;
}

.ss14-rules tr:hover td {
    background-color: #2d2d35 !important;
    transition: background 0.2s ease;
}

@media screen and (max-width: 720px) {
    .ss14-rules, .ss14-rules tbody, .ss14-rules tr, .ss14-rules td {
        display: block;
        width: 100%;
    }
    .ss14-rules td {
        box-sizing: border-box;
    }
    .ss14-rules td:first-child {
        border-bottom: none;
        padding-bottom: 5px;
    }
}