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

Страница интерфейса MediaWiki
(Отмена правки 15308, сделанной Dantes (обсуждение))
Метка: отмена
Нет описания правки
(не показано 35 промежуточных версий этого же участника)
Строка 1: Строка 1:
.race-container {
.custom-audio-wrapper {
  display: flex;
    display: flex;
  flex-wrap: wrap;
    align-items: center;
  gap: 20px;
    gap: 10px;
  justify-content: center;
    background: #111;
  padding: 20px;
    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 {
  text-align: center;
    background: #2a56a1;
  cursor: pointer;
    color: #fff;
  width: 120px;
    border: none;
  transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
}


.race-box:hover {
.custom-audio-play:hover {
  transform: scale(1.1);
    background: #447fbc;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}
}


.race-name {
.custom-audio-progress {
  margin-top: 10px;
    flex-grow: 1;
  font-size: 16px;
    height: 6px;
  font-weight: bold;
    border-radius: 4px;
    background: #333;
    outline: none;
    accent-color: #2a56a1;
}
}


.info-popup {
.custom-audio-time {
  display: none;
    min-width: 45px;
  position: fixed;
    text-align: right;
  top: 50%;
    font-size: 12px;
  left: 50%;
    color: #d6e4f1;
  transform: translate(-50%, -50%);
    padding-left: 10px;
  width: 400px;
    padding-right: 5px;
  background: #fff;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 8px;
  z-index: 1000;
}
}


.info-popup.active {
.custom-audio-volume-btn {
  display: block;
    background: transparent;
    color: #fff;
    font-size: 20px;
    border: none;
    cursor: pointer;
    padding: 5px;
}
}


.close-btn {
.custom-audio-volume {
  position: absolute;
    width: 100px;
  top: 10px;
    margin-left: 10px;
  right: 10px;
    background-color: #333;
  font-size: 18px;
    border-radius: 4px;
  cursor: pointer;
  color: red;
}
 
.race-info-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}
 
#race-info-content {
  font-size: 14px;
  line-height: 1.5;
}
}

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