margin: 10px;
box-shadow: 0px 0px 20px 0px;
border-radius: 10px;
- min-height: 100px;
+ /*min-height: 100px;*/
/*border-top: 3px solid;*/
background: var(--yellow);
}
div.player-info {
- height: 50%;
+ /*height: 50%;*/
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
gap: 10px;
- height: 50%;
+ /*height: 50%;*/
+ padding: 0px 10px;
+}
+
+.player-volume {
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
padding: 10px;
}
}
#volume-slider {
- width: 25%;
+ width: 100px;
+ max-width: 25%;
+ margin-left: 10px;
}
.player-label {
<span class="player-time" id="player-total-time">0:00</span>
<audio id="player-audio"></audio>
</div>
- <div class="player-controls desktop-only">
+ <div class="player-volume desktop-only">
<label class="player-label" for="volume">Volume</label>
<input id="volume-slider" name="volume" type="range" min="0" max="1" step="any" value="1"/>
</div>