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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 39 промежуточных версий этого же участника)
Строка 1: Строка 1:
.chem-wrap{display:flex;flex-direction:column;gap:12px}
.ss14-rules {
.chem-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#171717;color:#ddd;padding:8px 10px;border-radius:12px}
    width: 100%;
.chem-input{padding:6px 10px;border:1px solid #333;border-radius:10px;background:#0f0f0f;color:#eee}
    border-collapse: separate;
.chem-pill{display:inline-block;padding:6px 10px;border-radius:999px;background:#232323;border:1px solid #333;cursor:pointer;user-select:none}
    border-spacing: 0 8px; /* Расстояние между строками */
.chem-pill[aria-pressed="true"]{outline:2px solid #555}
    background-color: transparent;
.chem-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
    color: #cecece;
.chem-card{background:#111;border:1px solid #2a2a2a;border-radius:14px;padding:10px;color:#e8e8e8}
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
.chem-card h3{margin:0 0 6px 0;font-size:16px}
}
.chem-meta{font-size:12px;color:#bdbdbd;margin-bottom:6px}
 
.chem-badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.ss14-rules th {
.chem-badge{padding:2px 6px;border-radius:8px;border:1px solid #303030;background:#191919;font-size:12px}
    background: #1a1a1e;
.chem-table{width:100%;border-collapse:collapse;margin-top:6px}
    color: #7daeff;
.chem-table th,.chem-table td{border:1px solid #2a2a2a;padding:6px;text-align:left}
    padding: 12px;
.chem-table th{background:#151515}
    text-transform: uppercase;
.chem-empty{color:#aaa;padding:8px}
    font-size: 0.9em;
.chem-btn{display:inline-block;padding:6px 10px;border-radius:10px;border:1px solid #333;background:#1a1a1a;cursor:pointer}
    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;
    }
}

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