-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
124 lines (118 loc) · 2.18 KB
/
styles.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
body, html {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
font-family: Arial, sans-serif;
}
#header {
display: flex;
justify-content: space-between;
align-items: center;
}
#video-container {
position: relative;
width: 100vw;
height: 100vh;
}
#webcam {
width: 100%;
height: 100%;
object-fit: cover;
}
#game-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
color: white;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
#title {
font-size: 2.5em;
margin-top: 20px;
margin:0;
}
#result {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(0,0,0,0.7);
padding: 20px;
border-radius: 10px;
font-size: 2em;
text-align: center;
max-width: 90%;
}
#help-button {
position: absolute;
bottom: 20px;
left: 20px;
padding: 10px 20px;
font-size: 1.2em;
cursor: pointer;
background-color: rgba(0, 123, 255, 0.7);
color: white;
border: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}
#help-button:hover {
background-color: rgba(0, 86, 179, 0.9);
}
#modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.4);
}
#modal-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 600px;
}
#close-modal {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
#close-modal:hover,
#close-modal:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.speaker-toggle {
flex: 1;
cursor: pointer;
margin-left: 20px;
border-radius: 15%;
background-color: white;
width:38px;
justify-content: center;
align-items: center;
}
.speaker-toggle:hover {
background-color: lightgrey;
}
.speaker-toggle img {
width: 30px;
height: 30px;
padding-left: 3px;
padding-top: 2px;
}