-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (84 loc) · 1.4 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
@media (prefers-color-scheme: dark) {
:root {
--bg-color: #000;
--bg-secondary-color: #131316;
--font-color: #f5f5f5;
--color-grey: #ccc;
--color-darkGrey: #fff;
--color-lightGrey: #757575;
}
}
.app {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.lobby {
display: flex;
flex-direction: column;
justify-content: center;
height: 100%;
max-width: 300px;
margin: auto;
}
.lobby-join {
display: flex;
}
.lobby-join input {
margin-right: 4px;
}
.room {
display: none;
grid-template-columns: 1fr;
height: 100%
}
@media (min-width: 768px) {
.room {
grid-template-columns: 2fr 1fr;
}
}
.room-container {
padding: 32px;
}
.room-header {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 32px;
}
.room-header h2 {
margin: 0;
}
.room-streams {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
gap: 16px;
}
video {
object-fit: contain;
background-color: #000;
width: 100%;
height: 100%;
max-height: 70vh;
border-radius: 4px;
overflow: hidden;
}
video#self {
transform: rotateY(180deg);
}
.room-transcript {
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 12px;
background-color: var(--bg-secondary-color);
padding: 32px;
}
.room-transcript div {
background-color: var(--color-lightGrey);
padding: 10px 12px;
line-height: 1.25;
border-radius: 4px;
}