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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 85 промежуточных версий этого же участника)
Строка 1: Строка 1:
/* Основные стили для тёмной темы SS14 */
.ss14-rules {
.alchemy-card.dark-theme {
     width: 100%;
     background-color: #1e1e1e;
     border-collapse: separate;
     border: 1px solid #444;
     border-spacing: 0 8px; /* Расстояние между строками */
     color: #e0e0e0;
     background-color: transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
     color: #cecece;
     border-radius: 5px;
     font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
     padding: 15px;
    margin: 15px 0;
     font-family: sans-serif;
}
}


.alchemy-card.dark-theme .alchemy-title {
.ss14-rules th {
     color: #f0f0f0;
    background: #1a1a1e;
     border-bottom: 1px solid #555;
     color: #7daeff;
     font-size: 1.8em;
     padding: 12px;
     margin-bottom: 15px;
    text-transform: uppercase;
     padding-bottom: 8px;
     font-size: 0.9em;
     letter-spacing: 1px;
     border-bottom: 2px solid #3a3a42;
}
}


.alchemy-card.dark-theme .section-header {
.ss14-rules td:first-child,
     background-color: #2a2a2a;
.ss14-rules td:nth-child(2) {
    color: #d0d0ff;
     background: #25252b;
    cursor: pointer;
     font-weight: bold;
     font-weight: bold;
     padding: 8px;
     color: #ffffff;
     border-radius: 3px;
     vertical-align: top;
     display: flex;
     border-left: 4px solid #5a5a66; /* Акцентная полоса слева */
    justify-content: space-between;
    align-items: center;
}
}


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


.alchemy-card.dark-theme .collapse-toggle {
/* Описание правила (третья колонка) */
     color: #4da6ff;
.ss14-rules td:last-child {
     font-weight: normal;
     background: #1e1e22;
     font-size: 14px;
     padding: 15px;
}
     line-height: 1.6;
 
     border-right: 1px solid #3a3a42;
.alchemy-card.dark-theme .alchemy-divider {
    background: #444;
     border: 0;
    height: 1px;
    margin: 15px 0;
}
}


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


.alchemy-card.dark-theme .recipe-step input[type="checkbox"] {
.ss14-rules ul {
     filter: invert(80%);
     margin-top: 10px;
     margin-right: 8px;
     list-style-type: square;
}
}


.alchemy-card.dark-theme .section-content {
.ss14-rules li {
     padding: 10px 5px;
     margin-bottom: 8px;
}
}


.alchemy-card.dark-theme .recipe-step {
.ss14-rules tr:hover td {
     margin: 8px 0;
     background-color: #2d2d35 !important;
    display: flex;
     transition: background 0.2s ease;
    align-items: center;
     padding-left: 5px;
}
}


/* Общие стили */
@media screen and (max-width: 720px) {
.alchemy-section {
    .ss14-rules, .ss14-rules tbody, .ss14-rules tr, .ss14-rules td {
     margin-bottom: 15px;
        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;
    }
}