blob: 3e8cea164f9f3beaa2ab84406b7956e2ec9b349f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
/*
This file is part of jellything (https://codeberg.org/metamuffin/jellything)
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2023 metamuffin <metamuffin.org>
Copyright (C) 2023 tpart
*/
video {
width: 100%;
}
input {
color: white;
background-color: black;
}
option {
font-family: "Cantarell", sans-serif;
}
input[type="submit"] {
padding: 0.5em;
margin: 1em;
justify-self: center;
border: 0px solid transparent;
background-color: var(--accent-dark);
border-radius: 8px;
}
fieldset {
background-color: var(--background-light);
border-radius: 8px;
}
form.playerconf {
display: grid;
grid-template-areas:
"h h h"
"v a s"
"b b b";
gap: 1em;
grid-template-columns: auto auto auto;
grid-template-rows: 3em auto 5em;
}
legend {
font-size: 1.5em;
}
input[type="radio"] {
appearance: none;
display: inline-block;
width: 1.2em;
height: 1.2em;
border-radius: 8px;
padding: 2px;
background-clip: content-box;
border: 2px solid var(--font);
background-color: transparent;
transition: background-color 0.3s;
}
input[type="radio"]:checked {
background-color: var(--accent-light);
}
input[type="submit"]:hover {
filter: hue-rotate(-20deg);
}
fieldset label {
transition: color 0.2s;
}
fieldset label:hover {
color: var(--accent-light);
}
.playerconf h2 {
grid-area: h;
text-align: center;
}
.playerconf h3 {
grid-area: h;
text-align: center;
}
.playerconf .video {
grid-area: v;
}
.playerconf .audio {
grid-area: a;
}
.playerconf .subtitles {
grid-area: s;
}
.playerconf input[type="submit"] {
grid-area: b;
width: 30%;
height: 3em;
font-size: 1.5em;
}
|