Spaces:
Sleeping
Sleeping
Update static/index.css
Browse files- static/index.css +41 -4
static/index.css
CHANGED
@@ -1,19 +1,56 @@
|
|
1 |
-
|
2 |
.loader {
|
3 |
border: 16px solid #f3f3f3;
|
4 |
-
/* Light grey */
|
5 |
border-top: 16px solid #3498db;
|
6 |
-
/* Blue */
|
7 |
border-radius: 50%;
|
8 |
width: 120px;
|
9 |
height: 120px;
|
10 |
animation: spin 2s linear infinite;
|
11 |
display: none;
|
12 |
-
/* Initially hidden */
|
13 |
position: absolute;
|
14 |
top: 50%;
|
15 |
left: 50%;
|
16 |
transform: translate(-50%, -50%);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
}
|
18 |
|
19 |
@keyframes spin {
|
|
|
|
|
1 |
.loader {
|
2 |
border: 16px solid #f3f3f3;
|
|
|
3 |
border-top: 16px solid #3498db;
|
|
|
4 |
border-radius: 50%;
|
5 |
width: 120px;
|
6 |
height: 120px;
|
7 |
animation: spin 2s linear infinite;
|
8 |
display: none;
|
|
|
9 |
position: absolute;
|
10 |
top: 50%;
|
11 |
left: 50%;
|
12 |
transform: translate(-50%, -50%);
|
13 |
+
|
14 |
+
}
|
15 |
+
|
16 |
+
body {
|
17 |
+
padding: 0 10rem;
|
18 |
+
}
|
19 |
+
|
20 |
+
h1 {
|
21 |
+
text-align: center;
|
22 |
+
}
|
23 |
+
|
24 |
+
#summaryForm {
|
25 |
+
display: flex;
|
26 |
+
align-items: center;
|
27 |
+
justify-content: center;
|
28 |
+
gap: 1rem;
|
29 |
+
}
|
30 |
+
|
31 |
+
#youtubeLinkInput {
|
32 |
+
width: 60%;
|
33 |
+
padding: 2%;
|
34 |
+
border: 2px solid #aaa;
|
35 |
+
border-radius: 26px;
|
36 |
+
margin-bottom: 20px;
|
37 |
+
}
|
38 |
+
|
39 |
+
button {
|
40 |
+
width: 30%;
|
41 |
+
padding: 2%;
|
42 |
+
outline: 0;
|
43 |
+
border: 2px solid #aae;
|
44 |
+
border-radius: 26px;
|
45 |
+
color: white;
|
46 |
+
margin-bottom: 20px;
|
47 |
+
cursor: pointer;
|
48 |
+
background-color: rgb(62, 120, 245);
|
49 |
+
}
|
50 |
+
|
51 |
+
#summaryResult {
|
52 |
+
font-size: 2.5rem;
|
53 |
+
margin: 1rem;
|
54 |
}
|
55 |
|
56 |
@keyframes spin {
|