Update Frontend/style.css
Browse files- Frontend/style.css +30 -0
Frontend/style.css
CHANGED
@@ -7,6 +7,11 @@ body {
|
|
7 |
padding: 1rem;
|
8 |
}
|
9 |
|
|
|
|
|
|
|
|
|
|
|
10 |
h1 {
|
11 |
font-size: 2.7rem;
|
12 |
margin-bottom: 1.2rem;
|
@@ -23,6 +28,7 @@ h1 {
|
|
23 |
border: 4px solid rgba(255, 255, 255, 0.3);
|
24 |
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
|
25 |
margin-bottom: 24px;
|
|
|
26 |
}
|
27 |
|
28 |
.btn {
|
@@ -58,6 +64,26 @@ h1 {
|
|
58 |
animation: bounce 1.2s ease infinite;
|
59 |
}
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
#emotionText {
|
62 |
font-size: 1.3rem;
|
63 |
margin-top: 1.2rem;
|
@@ -96,6 +122,10 @@ h1 {
|
|
96 |
max-width: 420px;
|
97 |
margin-top: 1.5rem;
|
98 |
text-align: center;
|
|
|
|
|
|
|
|
|
99 |
}
|
100 |
|
101 |
#snapshotCanvas {
|
|
|
7 |
padding: 1rem;
|
8 |
}
|
9 |
|
10 |
+
body.light-mode {
|
11 |
+
background: #f0f0f0;
|
12 |
+
color: #222;
|
13 |
+
}
|
14 |
+
|
15 |
h1 {
|
16 |
font-size: 2.7rem;
|
17 |
margin-bottom: 1.2rem;
|
|
|
28 |
border: 4px solid rgba(255, 255, 255, 0.3);
|
29 |
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
|
30 |
margin-bottom: 24px;
|
31 |
+
object-fit: cover;
|
32 |
}
|
33 |
|
34 |
.btn {
|
|
|
64 |
animation: bounce 1.2s ease infinite;
|
65 |
}
|
66 |
|
67 |
+
#toggleTheme {
|
68 |
+
background: linear-gradient(to right, #ff6a00, #ee0979);
|
69 |
+
color: #fff;
|
70 |
+
padding: 12px 24px;
|
71 |
+
border-radius: 40px;
|
72 |
+
font-size: 16px;
|
73 |
+
font-weight: 600;
|
74 |
+
border: none;
|
75 |
+
cursor: pointer;
|
76 |
+
transition: all 0.3s ease;
|
77 |
+
margin-bottom: 1rem;
|
78 |
+
box-shadow: 0 6px 12px rgba(255, 106, 0, 0.4);
|
79 |
+
}
|
80 |
+
|
81 |
+
#toggleTheme:hover {
|
82 |
+
background: linear-gradient(to right, #ee0979, #ff6a00);
|
83 |
+
box-shadow: 0 8px 18px rgba(238, 9, 121, 0.5);
|
84 |
+
transform: scale(1.05);
|
85 |
+
}
|
86 |
+
|
87 |
#emotionText {
|
88 |
font-size: 1.3rem;
|
89 |
margin-top: 1.2rem;
|
|
|
122 |
max-width: 420px;
|
123 |
margin-top: 1.5rem;
|
124 |
text-align: center;
|
125 |
+
display: flex;
|
126 |
+
flex-direction: column;
|
127 |
+
align-items: center;
|
128 |
+
justify-content: center;
|
129 |
}
|
130 |
|
131 |
#snapshotCanvas {
|