Spaces:
Sleeping
Sleeping
Update style.css
Browse files
style.css
CHANGED
@@ -1,11 +1,82 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
4 |
}
|
5 |
-
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
|
|
8 |
}
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
}
|
|
|
1 |
+
/* Global Reset */
|
2 |
+
* {
|
3 |
+
box-sizing: border-box;
|
4 |
+
background-color: #ffe4ec !important; /* Soft pastel pink */
|
5 |
+
font-family: "Comic Sans MS", cursive, sans-serif; /* Playful font */
|
6 |
}
|
7 |
+
|
8 |
+
/* Full Page Styling */
|
9 |
+
html, body {
|
10 |
+
height: 100vh !important;
|
11 |
+
width: 100%;
|
12 |
+
overflow-x: hidden;
|
13 |
+
padding: 0 !important;
|
14 |
}
|
15 |
+
|
16 |
+
/* Title Styling */
|
17 |
+
.title {
|
18 |
+
font-size: 36px;
|
19 |
+
font-weight: bold;
|
20 |
+
text-align: center;
|
21 |
+
background: linear-gradient(to right, #ff85a2 0%, #ff4da6 100%);
|
22 |
+
-webkit-background-clip: text;
|
23 |
+
-webkit-text-fill-color: transparent;
|
24 |
+
padding: 10px 0;
|
25 |
+
}
|
26 |
+
|
27 |
+
/* Cute Input Box */
|
28 |
+
.stTextInput > div {
|
29 |
+
border-radius: 20px;
|
30 |
+
border: 2px solid #ff69b4 !important; /* Barbie pink border */
|
31 |
+
background-color: white !important;
|
32 |
+
padding: 8px;
|
33 |
+
color: #ff1493 !important;
|
34 |
+
}
|
35 |
+
|
36 |
+
/* Cute Buttons */
|
37 |
+
button {
|
38 |
+
border-radius: 20px !important;
|
39 |
+
background-color: #ff85a2 !important;
|
40 |
+
color: white !important;
|
41 |
+
font-size: 18px !important;
|
42 |
+
padding: 10px 20px !important;
|
43 |
+
transition: all 0.3s ease-in-out;
|
44 |
+
}
|
45 |
+
|
46 |
+
button:hover {
|
47 |
+
background-color: #ff4da6 !important;
|
48 |
+
transform: scale(1.05);
|
49 |
+
}
|
50 |
+
|
51 |
+
/* Cute Output Styling */
|
52 |
+
.result {
|
53 |
+
color: #ff1493;
|
54 |
+
font-size: 24px;
|
55 |
+
text-align: center;
|
56 |
+
font-weight: bold;
|
57 |
+
padding-top: 10px;
|
58 |
+
text-shadow: 2px 2px 5px rgba(255, 20, 147, 0.5);
|
59 |
+
}
|
60 |
+
|
61 |
+
/* Cute Animation */
|
62 |
+
@keyframes sparkle {
|
63 |
+
0% { transform: scale(1); }
|
64 |
+
50% { transform: scale(1.1); }
|
65 |
+
100% { transform: scale(1); }
|
66 |
+
}
|
67 |
+
|
68 |
+
.sparkle {
|
69 |
+
display: inline-block;
|
70 |
+
animation: sparkle 1s infinite;
|
71 |
+
}
|
72 |
+
|
73 |
+
/* Responsive Tweaks */
|
74 |
+
@media (max-width: 768px) {
|
75 |
+
.title {
|
76 |
+
font-size: 28px;
|
77 |
+
}
|
78 |
+
|
79 |
+
.result {
|
80 |
+
font-size: 20px;
|
81 |
+
}
|
82 |
}
|