-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
74 lines (64 loc) · 1.21 KB
/
style.css
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
body {
align-items: center;
box-sizing: border-box;
display: flex;
flex-direction: column;
gap: 2rem;
height: 100vh;
height: 100dvh;
margin: 0;
overflow: clip;
padding-block: 2rem;
}
footer {
display: flex;
gap: 2em;
}
#inputs {
column-gap: 1rem;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
margin-inline: 2rem;
max-width: 100%;
row-gap: 2rem;
}
#videos {
display: grid;
flex-grow: 1;
gap: 2rem;
grid-template-rows: 1fr 1fr;
justify-items: center;
min-height: 0;
min-width: 0;
}
#videos > * {
align-self: center;
aspect-ratio: 16 / 9;
border: none;
grid-column: 1;
grid-row: 1;
height: 100%;
isolation: isolate;
max-height: 56.25vw;
min-height: 0;
min-width: 0;
}
#videos > :not(canvas) {
background-color: black;
}
#videos:not(.fullscreen) > :not(:first-child) {
grid-row: 2;
}
.fullscreen {
grid-template-rows: 1fr !important;
}
.hide_cursor {
cursor: none;
}
@keyframes show_cursor {
0%, 100% { cursor: var(--cursor) }
}
.show_cursor {
animation: 3s show_cursor;
}