Made volume slider vertical.
This commit is contained in:
parent
4b68b93e7b
commit
b40942b5fb
@ -135,6 +135,8 @@ section { margin-top: 1rem; }
|
||||
flex-direction: row;
|
||||
align-items: center; }
|
||||
|
||||
#radio p { text-indent: 1rem; }
|
||||
|
||||
#play {
|
||||
-webkit-mask-image: url(/assets/img/play.svg);
|
||||
background-color: var(--primary-color);
|
||||
@ -145,15 +147,21 @@ section { margin-top: 1rem; }
|
||||
|
||||
#volume {
|
||||
accent-color: var(--primary-color);
|
||||
width: 5rem; }
|
||||
height: 5rem;
|
||||
margin-left: .5rem; }
|
||||
|
||||
#play:hover { text-decoration: none; }
|
||||
|
||||
#radio div.player {
|
||||
div.player {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
flex-direction: row;
|
||||
align-items: center; }
|
||||
|
||||
div.player div {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
footer {
|
||||
font-size: .8rem;
|
||||
text-align: center;
|
||||
|
@ -38,6 +38,9 @@ html(lang='en')
|
||||
| OGG 128 Kb/s
|
||||
div#radio
|
||||
div.player
|
||||
div
|
||||
button#play
|
||||
small#cur-time 0h 0m 0s
|
||||
div #[input#volume(type="range", name="volume" min="0" max="100" orient="vertical")]
|
||||
audio(preload='none' controls='' playsinline='')
|
||||
source(src='/live/stream.ogg' type='audio/ogg')
|
||||
|
Loading…
Reference in New Issue
Block a user