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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
(не показано 46 промежуточных версий этого же участника)
Строка 1: Строка 1:
.race-info {
.custom-audio-wrapper {
  display: none;  
    display: flex;
  background-color: #444;  
    align-items: center;
  color: #f1f1f1;
    gap: 10px;
  padding: 10px;
    background: #111;
  border-radius: 10px;
    padding: 10px 14px;
  margin-top: 10px;
    border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
    max-width: 480px;
    color: white;
    font-family: monospace;
    justify-content: space-between;
    border: 2px solid #2a56a1;
    box-shadow:
        0 0 8px rgba(42, 86, 161, 0.6),
        0 0 20px rgba(42, 86, 161, 0.4);
}
}


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


.race-box .race-name {
.custom-audio-play:hover {
  color: #f1f1f1;
    background: #447fbc;
  font-size: 14px;
    transform: scale(1.05);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}
}


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


 
.custom-audio-time {
.race-info ul {
    min-width: 45px;
  list-style-type: none;
    text-align: right;
  padding-left: 0;
    font-size: 12px;
    color: #d6e4f1;
    padding-left: 10px;
    padding-right: 5px;
}
}


.race-info ul li {
.custom-audio-volume-btn {
  margin-bottom: 5px;
    background: transparent;
    color: #fff;
    font-size: 20px;
    border: none;
    cursor: pointer;
    padding: 5px;
}
}


.race-info h3 {
.custom-audio-volume {
  margin-bottom: 10px;
    width: 100px;
  text-align: center;
    margin-left: 10px;
    background-color: #333;
    border-radius: 4px;
}
}

Версия от 20:57, 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;
    justify-content: space-between;
    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-play {
    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 {
    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-btn {
    background: transparent;
    color: #fff;
    font-size: 20px;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.custom-audio-volume {
    width: 100px;
    margin-left: 10px;
    background-color: #333;
    border-radius: 4px;
}