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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 185 промежуточных версий этого же участника)
Строка 1: Строка 1:
.custom-audio-wrapper {
.ss14-rules {
     display: flex;
     width: 100%;
     align-items: center;
     border-collapse: separate;
    gap: 10px;
     border-spacing: 0 8px; /* Расстояние между строками */
    background: #111;
     background-color: transparent;
    padding: 10px 14px;
     color: #cecece;
     border-radius: 12px;
     font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
     max-width: 480px;
}
     color: white;
     font-family: monospace;


     /* Синие оттенки с лёгким свечением */
.ss14-rules th {
     border: 2px solid #2a56a1;
     background: #1a1a1e;
     box-shadow:
     color: #7daeff;
        0 0 8px rgba(42, 86, 161, 0.6),
     padding: 12px;
        0 0 20px rgba(42, 86, 161, 0.4);
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
    border-bottom: 2px solid #3a3a42;
}
}


.custom-audio-play {
.ss14-rules td:first-child,
     background: #2a56a1;
.ss14-rules td:nth-child(2) {
     color: #fff;
     background: #25252b;
     border: none;
     font-weight: bold;
     border-radius: 6px;
     color: #ffffff;
     padding: 6px 12px;
     vertical-align: top;
    font-size: 16px;
     border-left: 4px solid #5a5a66; /* Акцентная полоса слева */
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
}


.custom-audio-play:hover {
.ss14-rules td:first-child {
     background: #447fbc;
    white-space: nowrap;
     transform: scale(1.05);
     color: #ffca28; /* Золотистый цвет для номера */
     width: 10%;
}
}


.custom-audio-progress {
/* Описание правила (третья колонка) */
     flex-grow: 1;
.ss14-rules td:last-child {
     height: 6px;
     background: #1e1e22;
     border-radius: 4px;
     padding: 15px;
     background: #333;
     line-height: 1.6;
    outline: none;
     border-right: 1px solid #3a3a42;
    accent-color: #2a56a1;
}
}


.custom-audio-time {
.ss14-rules td big {
     min-width: 45px;
     display: block;
     text-align: right;
     color: #7daeff; /* Голубой акцент */
     font-size: 12px;
     font-size: 1.1em;
     color: #d6e4f1;
     margin-bottom: 10px;
     padding-left: 10px;
     border-bottom: 1px solid #333;
     padding-right: 5px;
     padding-bottom: 5px;
}
}


.custom-audio-volume {
.ss14-rules ul {
     width: 80px;
     margin-top: 10px;
     margin-left: 10px;
     list-style-type: square;
}
}


/* Визуализация аудио */
.ss14-rules li {
.custom-audio-visualizer {
    margin-bottom: 8px;
     width: 100%;
}
     height: 60px;
 
     margin-top: 10px;
.ss14-rules tr:hover td {
    background: #111;
    background-color: #2d2d35 !important;
    border-radius: 10px;
    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;
    }
}