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

Страница интерфейса MediaWiki
Нет описания правки
Метка: отменено
Нет описания правки
 
(не показано 28 промежуточных версий этого же участника)
Строка 1: Строка 1:
.race-carousel {
.ss14-rules {
     width: 100%;
     width: 100%;
     max-width: 600px;
     border-collapse: separate;
     margin: 0 auto;
     border-spacing: 0 8px; /* Расстояние между строками */
     text-align: center;
     background-color: transparent;
     font-family: sans-serif;
    color: #cecece;
     font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
}


.race-main {
.ss14-rules th {
     display: flex;
     background: #1a1a1e;
     align-items: center;
     color: #7daeff;
     justify-content: center;
    padding: 12px;
     margin-bottom: 10px;
    text-transform: uppercase;
     position: relative;
     font-size: 0.9em;
     letter-spacing: 1px;
     border-bottom: 2px solid #3a3a42;
}
}


.race-main .arrow {
.ss14-rules td:first-child,
    font-size: 30px;
.ss14-rules td:nth-child(2) {
     cursor: pointer;
     background: #25252b;
     user-select: none;
     font-weight: bold;
     padding: 0 15px;
     color: #ffffff;
     color: #0C9456;
     vertical-align: top;
     transition: color 0.2s;
     border-left: 4px solid #5a5a66; /* Акцентная полоса слева */
}
}


.race-main .arrow:hover {
.ss14-rules td:first-child {
     color: #05B16C;
    white-space: nowrap;
     color: #ffca28; /* Золотистый цвет для номера */
    width: 10%;
}
}


.race-card-large {
/* Описание правила (третья колонка) */
    padding: 10px;
.ss14-rules td:last-child {
     background: linear-gradient(145deg, #0C9456, #05914A);
     background: #1e1e22;
     border-radius: 0.5em;
     padding: 15px;
     box-shadow: 0 0 15px rgba(12,148,86,0.5);
     line-height: 1.6;
     min-width: 200px;
     border-right: 1px solid #3a3a42;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
}


.race-card-large:hover {
.ss14-rules td big {
     transform: scale(1.05);
    display: block;
    color: #7daeff; /* Голубой акцент */
     font-size: 1.1em;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}
}


.race-card-large img {
.ss14-rules ul {
    width: 150px;
    height: 150px;
    border-radius: 0.3em;
    margin-bottom: 5px;
}
 
.race-name-large {
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 0 4px #0C9456;
}
 
.race-mini-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
     margin-top: 10px;
     margin-top: 10px;
    list-style-type: square;
}
}


.race-mini {
.ss14-rules li {
    width: 50px;
     margin-bottom: 8px;
    height: 50px;
     margin: 5px;
    cursor: pointer;
    border-radius: 0.3em;
    border: 2px solid #0C9456;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
 
.race-mini img {
    width: 100%;
    height: 100%;
    border-radius: 0.3em;
}
}


.race-mini:hover {
.ss14-rules tr:hover td {
     transform: scale(1.2);
     background-color: #2d2d35 !important;
     box-shadow: 0 0 10px rgba(12,148,86,0.6);
     transition: background 0.2s ease;
}
}


.race-info {
@media screen and (max-width: 720px) {
     margin-top: 10px;
     .ss14-rules, .ss14-rules tbody, .ss14-rules tr, .ss14-rules td {
     font-weight: bold;
        display: block;
     font-size: 16px;
        width: 100%;
    color: #0C9456;
     }
    .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;
    }
}