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

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


.role-divider {
.ss14-rules th {
    height: 14px;
     background: #1a1a1e;
    transition: background 0.5s ease;
     color: #7daeff;
}
     padding: 12px;
 
     text-transform: uppercase;
.role-divider-gradient {
     font-size: 0.9em;
    transition: background 0.5s ease;
     letter-spacing: 1px;
}
     border-bottom: 2px solid #3a3a42;
 
/* Стили для ролей */
#command {
    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 {
.ss14-rules td:first-child,
     background: linear-gradient(#2e552e, #500000);
.ss14-rules td:nth-child(2) {
     background: #25252b;
    font-weight: bold;
    color: #ffffff;
    vertical-align: top;
    border-left: 4px solid #5a5a66; /* Акцентная полоса слева */
}
}


.role-divider-antags {
.ss14-rules td:first-child {
     background: linear-gradient(#500000, #5d002f);
     white-space: nowrap;
    color: #ffca28; /* Золотистый цвет для номера */
    width: 10%;
}
}


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


.role-divider-wildlife {
.ss14-rules td big {
     background: linear-gradient(#b36212, #344f23);
    display: block;
    color: #7daeff; /* Голубой акцент */
    font-size: 1.1em;
     margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}
}


.role-divider-cc {
.ss14-rules ul {
     background: linear-gradient(#344f23, #004022);
     margin-top: 10px;
    list-style-type: square;
}
}


.role-divider-specops {
.ss14-rules li {
     background: linear-gradient(#004022, #360050);
     margin-bottom: 8px;
}
}


.role-divider-synthetics {
.ss14-rules tr:hover td {
     background: linear-gradient(#360050, #3a3a3a);
     background-color: #2d2d35 !important;
    transition: background 0.2s ease;
}
}


.role-divider-ghost {
@media screen and (max-width: 720px) {
     background: linear-gradient(#3a3a3a, #000);
    .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;
    }
}