Spaces:
Sleeping
Sleeping
Upload static/style.css with huggingface_hub
Browse files- static/style.css +61 -61
static/style.css
CHANGED
@@ -1,61 +1,61 @@
|
|
1 |
-
body {
|
2 |
-
font-family: Arial, sans-serif;
|
3 |
-
display: flex;
|
4 |
-
justify-content: center;
|
5 |
-
align-items: center;
|
6 |
-
height: 100vh;
|
7 |
-
background-color: #f4f4f9;
|
8 |
-
margin: 0;
|
9 |
-
padding: 10px;
|
10 |
-
box-sizing: border-box;
|
11 |
-
}
|
12 |
-
|
13 |
-
.flashcard {
|
14 |
-
background: #fff;
|
15 |
-
border-radius: 8px;
|
16 |
-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
17 |
-
padding: 20px;
|
18 |
-
text-align: center;
|
19 |
-
width: 90%;
|
20 |
-
max-width: 400px;
|
21 |
-
opacity: 1;
|
22 |
-
}
|
23 |
-
|
24 |
-
.content {
|
25 |
-
margin-bottom: 20px;
|
26 |
-
}
|
27 |
-
|
28 |
-
.navigation {
|
29 |
-
display: flex;
|
30 |
-
justify-content: space-between;
|
31 |
-
align-items: center;
|
32 |
-
}
|
33 |
-
|
34 |
-
.navigation button {
|
35 |
-
background: #00CFFF; /* Neon blue color */
|
36 |
-
border: none;
|
37 |
-
border-radius: 4px;
|
38 |
-
color: #fff;
|
39 |
-
cursor: pointer;
|
40 |
-
font-size: 14px; /* Smaller font size for Previous and Next */
|
41 |
-
padding: 8px 0.6em;
|
42 |
-
margin: 5px;
|
43 |
-
transition: transform 0.3s ease; /* Add transition for animation */
|
44 |
-
}
|
45 |
-
|
46 |
-
#flipBtn {
|
47 |
-
font-size: 18px; /* Larger font size for Flip */
|
48 |
-
padding: 10px 6em;
|
49 |
-
background: #007BFF;
|
50 |
-
transition: transform 0.3s ease; /* Add transition for animation */
|
51 |
-
}
|
52 |
-
|
53 |
-
#flipBtn:hover {
|
54 |
-
background: #0056b3;
|
55 |
-
transform: scale(1.1); /* Scale up on hover */
|
56 |
-
}
|
57 |
-
|
58 |
-
.navigation button:hover {
|
59 |
-
background: #0099cc;
|
60 |
-
transform: scale(1.1); /* Scale up on hover */
|
61 |
-
}
|
|
|
1 |
+
body {
|
2 |
+
font-family: Arial, sans-serif;
|
3 |
+
display: flex;
|
4 |
+
justify-content: center;
|
5 |
+
align-items: center;
|
6 |
+
height: 100vh;
|
7 |
+
background-color: #f4f4f9;
|
8 |
+
margin: 0;
|
9 |
+
padding: 10px;
|
10 |
+
box-sizing: border-box;
|
11 |
+
}
|
12 |
+
|
13 |
+
.flashcard {
|
14 |
+
background: #fff;
|
15 |
+
border-radius: 8px;
|
16 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
17 |
+
padding: 20px;
|
18 |
+
text-align: center;
|
19 |
+
width: 90%;
|
20 |
+
max-width: 400px;
|
21 |
+
opacity: 1;
|
22 |
+
}
|
23 |
+
|
24 |
+
.content {
|
25 |
+
margin-bottom: 20px;
|
26 |
+
}
|
27 |
+
|
28 |
+
.navigation {
|
29 |
+
display: flex;
|
30 |
+
justify-content: space-between;
|
31 |
+
align-items: center;
|
32 |
+
}
|
33 |
+
|
34 |
+
.navigation button {
|
35 |
+
background: #00CFFF; /* Neon blue color */
|
36 |
+
border: none;
|
37 |
+
border-radius: 4px;
|
38 |
+
color: #fff;
|
39 |
+
cursor: pointer;
|
40 |
+
font-size: 14px; /* Smaller font size for Previous and Next */
|
41 |
+
padding: 8px 0.6em;
|
42 |
+
margin: 5px;
|
43 |
+
transition: transform 0.3s ease; /* Add transition for animation */
|
44 |
+
}
|
45 |
+
|
46 |
+
#flipBtn {
|
47 |
+
font-size: 18px; /* Larger font size for Flip */
|
48 |
+
padding: 10px 6em;
|
49 |
+
background: #007BFF;
|
50 |
+
transition: transform 0.3s ease; /* Add transition for animation */
|
51 |
+
}
|
52 |
+
|
53 |
+
#flipBtn:hover {
|
54 |
+
background: #0056b3;
|
55 |
+
transform: scale(1.1); /* Scale up on hover */
|
56 |
+
}
|
57 |
+
|
58 |
+
.navigation button:hover {
|
59 |
+
background: #0099cc;
|
60 |
+
transform: scale(1.1); /* Scale up on hover */
|
61 |
+
}
|