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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 197 промежуточных версий этого же участника)
Строка 1: Строка 1:
.nav-container {
.ss14-rules {
     display: flex;
     width: 100%;
     flex-wrap: wrap;
     border-collapse: separate;
     gap: 0.7em;
     border-spacing: 0 8px; /* Расстояние между строками */
     margin: 2em;
     background-color: transparent;
     justify-content: space-between;
     color: #cecece;
     border-bottom: 1px solid black;
     font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
}


.nav-button {
.ss14-rules th {
     flex: 1 1 19.55em;
     background: #1a1a1e;
    min-width: 280px;
     color: #7daeff;
    border: 2px solid #000;
     background: #f8f9fa;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
     padding: 12px;
     padding: 12px;
     transition: background 0.3s;
     text-transform: uppercase;
     margin: 0.7em 0;
    font-size: 0.9em;
     letter-spacing: 1px;
    border-bottom: 2px solid #3a3a42;
}
}


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


.nav-button > a {
.ss14-rules td:first-child {
    color: #000 !important;
     white-space: nowrap;
    font-size: 30px !important;
     color: #ffca28; /* Золотистый цвет для номера */
     text-decoration: none !important;
     width: 10%;
     order: 1;
     flex-grow: 1;
    padding-right: 15px;
}
}


.nav-button img {
/* Описание правила (третья колонка) */
     width: 64px !important;
.ss14-rules td:last-child {
     height: 64px !important;
     background: #1e1e22;
     order: 2;
    padding: 15px;
     object-fit: contain;
     line-height: 1.6;
     margin: 0 !important;
    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;
    }
}
}

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