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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 17: Строка 17:
}
}


.custom-audio-play {
.custom-audio-cover {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}
 
.custom-audio-play, .custom-audio-loop, .custom-audio-next, .custom-audio-prev {
     background: #2a56a1;
     background: #2a56a1;
     color: #fff;
     color: #fff;
Строка 28: Строка 35:
}
}


.custom-audio-play:hover {
.custom-audio-play:hover, .custom-audio-loop:hover, .custom-audio-next:hover, .custom-audio-prev:hover {
     background: #447fbc;
     background: #447fbc;
     transform: scale(1.05);
     transform: scale(1.05);
Строка 47: Строка 54:
     font-size: 12px;
     font-size: 12px;
     color: #d6e4f1;
     color: #d6e4f1;
    padding-left: 10px;
    padding-right: 5px;
}
.custom-audio-volume {
    width: 80px;
    margin-left: 10px;
}
}

Версия от 20:21, 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 #2a56a1;
    box-shadow:
        0 0 8px rgba(42, 86, 161, 0.6),
        0 0 20px rgba(42, 86, 161, 0.4);
}

.custom-audio-cover {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.custom-audio-play, .custom-audio-loop, .custom-audio-next, .custom-audio-prev {
    background: #2a56a1;
    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, .custom-audio-loop:hover, .custom-audio-next:hover, .custom-audio-prev:hover {
    background: #447fbc;
    transform: scale(1.05);
}

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

.custom-audio-time {
    min-width: 45px;
    text-align: right;
    font-size: 12px;
    color: #d6e4f1;
    padding-left: 10px;
    padding-right: 5px;
}

.custom-audio-volume {
    width: 80px;
    margin-left: 10px;
}