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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 10 промежуточных версий этого же участника)
Строка 1: Строка 1:
body, .mw-body {
.ss14-rules {
     background-color: #121212 !important;
    width: 100%;
     color: #e0e0e0 !important;
    border-collapse: separate;
     transition: background 0.5s ease, color 0.5s ease;
    border-spacing: 0 8px; /* Расстояние между строками */
     background-color: transparent;
     color: #cecece;
     font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
}


.mw-first-heading, .mw-headline {
.ss14-rules th {
     color: #ffb74d !important;
    background: #1a1a1e;
     text-shadow: 2px 2px 6px #000;
     color: #7daeff;
     animation: glow 3s ease-in-out infinite;
    padding: 12px;
     text-transform: uppercase;
     font-size: 0.9em;
    letter-spacing: 1px;
    border-bottom: 2px solid #3a3a42;
}
}


a {
.ss14-rules td:first-child,
     color: #81d4fa !important;
.ss14-rules td:nth-child(2) {
     text-decoration: none;
     background: #25252b;
     transition: color 0.3s ease, text-shadow 0.3s ease;
     font-weight: bold;
}
     color: #ffffff;
a:hover {
     vertical-align: top;
     color: #ffa500 !important;
     border-left: 4px solid #5a5a66; /* Акцентная полоса слева */
     text-shadow: 0 0 8px #ffa500;
}
}


.skin-vector #p-personal li a,
.ss14-rules td:first-child {
.skin-vector #p-views li a,
     white-space: nowrap;
.vector-menu-tabs li a,
     color: #ffca28; /* Золотистый цвет для номера */
.vector-menu-dropdown h3 span,
     width: 10%;
.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,
/* Описание правила (третья колонка) */
blockquote, .infobox, .navbox,
.ss14-rules td:last-child {
div.thumb, .mw-parser-output > div {
     background: #1e1e22;
     background-color: #1c1c1c !important;
     padding: 15px;
     color: #e0e0e0 !important;
    line-height: 1.6;
     border: 1px solid #424242 !important;
     border-right: 1px solid #3a3a42;
    transition: background 0.3s ease, color 0.3s ease;
}
}


button, .oo-ui-buttonElement-button {
.ss14-rules td big {
     background-color: #333 !important;
     display: block;
     color: #e0e0e0 !important;
     color: #7daeff; /* Голубой акцент */
     border: 1px solid #555 !important;
     font-size: 1.1em;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
     margin-bottom: 10px;
}
     border-bottom: 1px solid #333;
button:hover, .oo-ui-buttonElement-button:hover {
     padding-bottom: 5px;
     background-color: #555 !important;
     color: #ffb74d !important;
     box-shadow: 0 0 10px #ffb74d;
}
}


.mw-footer {
.ss14-rules ul {
     background-color: #1a1a1a !important;
     margin-top: 10px;
     color: #e0e0e0 !important;
     list-style-type: square;
    border-top: 2px solid #ff9800 !important;
}
}


.halloween-leaves {
.ss14-rules li {
     position: fixed;
     margin-bottom: 8px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}
}


.halloween-leaf {
.ss14-rules tr:hover td {
     position: absolute;
     background-color: #2d2d35 !important;
    top: -2em;
     transition: background 0.2s ease;
     animation: fall 7s linear infinite;
}
}


.halloween-pumpkin {
@media screen and (max-width: 720px) {
    display: inline-block;
    .ss14-rules, .ss14-rules tbody, .ss14-rules tr, .ss14-rules td {
     animation: float 2s ease-in-out infinite, glow 3s ease-in-out infinite;
        display: block;
        width: 100%;
     }
    .ss14-rules td {
        box-sizing: border-box;
    }
    .ss14-rules td:first-child {
        border-bottom: none;
        padding-bottom: 5px;
    }
}
}
@keyframes fall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
@keyframes glow {
    0%,100% { text-shadow: 0 0 2px #ff980

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