Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
216 lines (191 loc) · 3.86 KB
/
Copy pathstyle.css
File metadata and controls
216 lines (191 loc) · 3.86 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
/* Setting Height and Width of Page */
html {
height: 200%;
width: 100%;
}
/* Box on main page where camera is contained */
#main {
padding: 3%;
width: 40%;
margin-left: 26%;
margin-right: 25%;
margin-top: 2%;
background-color: #ededed;
border-radius: 8px;
box-shadow: 0 2px 5px #777;
color: black;
font-weight: bold;
font-size: 30px;
font-family: "Lucida Console", "Courier New", monospace;
}
/* Stop Button */
#stop {
width: 100%;
height: 60px;
border-radius: 8px;
border: 0;
background-color: #e00000;
color: white;
font-weight: bold;
font-size: 20px;
text-align: center;
margin-top: 5%;
}
/* Darken when hovering over stop */
#stop:hover {
width: 100%;
height: 60px;
border-radius: 8px;
box-shadow: 0 2px 5px #777;
background-color: #ac0202;
color: white;
font-weight: bold;
font-size: 20px;
cursor: pointer;
text-align: center;
margin-top: 5%;
}
/* Run Button */
#run {
width: 100%;
height: 60px;
border-radius: 8px;
border: 0;
background-color: #00b30c;
color: white;
font-weight: bold;
font-size: 20px;
text-align: center;
}
/* Darken when hovering over run button */
#run:hover {
width: 100%;
height: 60px;
border-radius: 8px;
box-shadow: 0 2px 5px #777;
background-color: #016f08;
color: white;
font-weight: bold;
font-size: 20px;
cursor: pointer;
text-align: center;
}
/* Progress bar in middle when camera is running */
#progress {
text-align: center;
margin-left: 25%;
color: #ff0000;
margin-right: 25%;
background-color: #c4c4c4;
width: 50%;
border-radius: 8px;
}
/* Makes Progress Bar Move Smoother */
#progress::-webkit-progress-value {
transition: width 0.1s;
color: #123123;
background-color: #04AA6D;
border-radius: 8px;
}
/* Text under logo */
.texts {
text-align: center;
font-size: 20px;
font-family: "Lucida Console", "Courier New", monospace;
}
/* Logo Image */
.logo {
display: block;
margin-left: auto;
margin-right: auto;
width: 40%;
}
/* Smaller logo in contact section */
.logoContact {
display: block;
width: 20%;
}
/* Align Webcam */
#webcam-container {
text-align: center;
}
/* Percentage Number That Appears Under Webcam */
#label-container {
text-align: center;
}
/* Aligns info text to the center of the page */
#info {
text-align: center;
}
/* Info Heading */
#info_heading {
color: black;
font-size: 25px;
margin-top: 2%;
font-weight: bold;
font-family: "Lucida Console", "Courier New", monospace;
}
/* Information text */
#info_text {
color: black;
font-size: 17px;
text-align: left;
font-family: "Lucida Console", "Courier New", monospace;
margin-left: 20%;
margin-right: 20%;
}
/* Dev Stats Title */
#dev-stats-title {
color: black;
font-size: 25px;
text-align: center;
margin-top: 3%;
font-weight: bold;
font-family: "Lucida Console", "Courier New", monospace;
}
/* Dev Stats */
#dev-stats {
color: black;
font-size: 15px;
text-align: center;
font-family: "Lucida Console", "Courier New", monospace;
}
/* Shows what is being heard by machine */
#textarea {
text-align: center;
font-family: "Lucida Console", "Courier New", monospace;
}
#speech_timer {
text-align: center;
font-family: "Lucida Console", "Courier New", monospace;
}
/* Formatting for text in contact section */
#contact_text {
color: black;
font-size: 20px;
text-align: left;
font-family: "Lucida Console", "Courier New", monospace;
}
/* Formatting for contact button */
#contact_button {
width: 20%;
height: 3%;
border-radius: 80px;
transform: translate(200%, 0px);
background-color: #000000;
color: white;
font-weight: bold;
font-size: 20px;
text-align: center;
}
/* Formatting for buttons in contact section */
#redirect_buttons {
width: 20%;
height: 3.5%;
border-radius: 80px;
background-color: #000000;
color: white;
font-weight: bold;
font-size: 20px;
text-align: center;
}