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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 4: Строка 4:
     gap: 10px;
     gap: 10px;
     background: #111;
     background: #111;
     padding: 8px 12px;
     padding: 10px 14px;
     border-radius: 10px;
     border-radius: 12px;
     max-width: 450px;
     max-width: 480px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
     color: white;
     color: white;
     font-family: monospace;
     font-family: monospace;
    /* Неоновая красная обводка */
    border: 2px solid #ff003c;
    box-shadow:
        0 0 8px #ff003c,
        0 0 16px #ff003c,
        0 0 24px #ff003c;
}
}


.custom-audio-play {
.custom-audio-play {
     background: #444;
     background: #ff003c;
     color: #fff;
     color: #fff;
     border: none;
     border: none;
     border-radius: 6px;
     border-radius: 6px;
     padding: 6px 10px;
     padding: 6px 12px;
     font-size: 16px;
     font-size: 16px;
     cursor: pointer;
     cursor: pointer;
     transition: background 0.2s;
     transition: background 0.2s, transform 0.1s;
}
}


.custom-audio-play:hover {
.custom-audio-play:hover {
     background: #666;
     background: #ff3366;
    transform: scale(1.05);
}
}


Строка 31: Строка 38:
     height: 6px;
     height: 6px;
     border-radius: 4px;
     border-radius: 4px;
     background: #333;
     background: #300;
    outline: none;
    accent-color: #ff003c;
}
}


.custom-audio-time {
.custom-audio-time {
     min-width: 40px;
     min-width: 45px;
     text-align: right;
     text-align: right;
     font-size: 12px;
     font-size: 12px;
     color: #ccc;
     color: #f8b;
}
}

Версия от 20:09, 16 апреля 2025

.custom-audio-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #111;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 480px;
    color: white;
    font-family: monospace;

    /* Неоновая красная обводка */
    border: 2px solid #ff003c;
    box-shadow:
        0 0 8px #ff003c,
        0 0 16px #ff003c,
        0 0 24px #ff003c;
}

.custom-audio-play {
    background: #ff003c;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.custom-audio-play:hover {
    background: #ff3366;
    transform: scale(1.05);
}

.custom-audio-progress {
    flex-grow: 1;
    height: 6px;
    border-radius: 4px;
    background: #300;
    outline: none;
    accent-color: #ff003c;
}

.custom-audio-time {
    min-width: 45px;
    text-align: right;
    font-size: 12px;
    color: #f8b;
}