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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
(не показано 39 промежуточных версий этого же участника)
Строка 1: Строка 1:
.race-container {
.custom-audio-wrapper {
  display: flex;
    display: flex;
  flex-wrap: wrap;
    align-items: center;
  justify-content: center;
    gap: 10px;
  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);
}
}


.race-box {
.custom-audio-play {
  border: 2px solid #411144;
    background: #2a56a1;
  padding: 10px;
    color: #fff;
  display: flex;
    border: none;
  flex-direction: column;
    border-radius: 6px;
  align-items: center;
    padding: 6px 12px;
  background-color: #3133;
    font-size: 16px;
  text-align: center;
    cursor: pointer;
  width: 120px;
    transition: background 0.2s, transform 0.1s;
  height: 160px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease-out;
  cursor: pointer;
}
}


.race-box img {
.custom-audio-play:hover {
  width: 100px;
    background: #447fbc;
  height: 100px;
    transform: scale(1.05);
  border-radius: 8px;
  transition: transform 0.3s ease;
}
}


.race-box:hover img {
.custom-audio-progress {
  transform: scale(1.1);
    flex-grow: 1;
    height: 6px;
    border-radius: 4px;
    background: #333;
    outline: none;
    accent-color: #2a56a1;
}
}


.race-box .race-name {
.custom-audio-time {
  color: #f1f1f1;
    min-width: 45px;
  font-size: 14px;
    text-align: right;
  margin-top: 8px;
    font-size: 12px;
  text-transform: uppercase;
    color: #d6e4f1;
  letter-spacing: 1px;
    padding-left: 10px;
  font-weight: bold;
    padding-right: 5px;
}
}


.info-popup {
.custom-audio-volume-btn {
  position: fixed;
    background: transparent;
  top: 50%;
    color: #fff;
  left: 50%;
    font-size: 20px;
  transform: translate(-50%, -50%);
    border: none;
  background-color: #222;
    cursor: pointer;
  color: #f1f1f1;
    padding: 5px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: none;
}
}


.info-popup.active {
.custom-audio-volume {
  display: block;
    width: 100px;
}
    margin-left: 10px;
 
    background-color: #333;
.info-popup .close-btn {
    border-radius: 4px;
  cursor: pointer;
  color: #ff6666;
  font-weight: bold;
  float: right;
}
}

Версия от 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;
}