Spaces:
Sleeping
Sleeping
Update style.css
Browse files
style.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/* Global Reset */
|
2 |
* {
|
3 |
box-sizing: border-box;
|
4 |
-
background-color
|
5 |
font-family: "Comic Sans MS", cursive, sans-serif; /* Playful font */
|
6 |
}
|
7 |
|
@@ -11,7 +11,7 @@ html, body {
|
|
11 |
width: 100%;
|
12 |
overflow-x: hidden;
|
13 |
padding: 0 !important;
|
14 |
-
text-align: center;
|
15 |
}
|
16 |
|
17 |
/* Title Styling */
|
@@ -22,7 +22,7 @@ html, body {
|
|
22 |
background: linear-gradient(to right, #ff85a2 0%, #ff4da6 100%);
|
23 |
-webkit-background-clip: text;
|
24 |
-webkit-text-fill-color: transparent;
|
25 |
-
padding:
|
26 |
}
|
27 |
|
28 |
/* FULLY WHITE Input Box */
|
@@ -36,17 +36,14 @@ input[type="text"], textarea, .gradio-input, .stTextInput > div {
|
|
36 |
width: 100% !important;
|
37 |
max-width: 300px;
|
38 |
margin: 0 auto; /* Center it */
|
39 |
-
max-width: 300px;
|
40 |
}
|
|
|
41 |
/* Remove Gradio's Background Inside Input */
|
42 |
.gradio-container input {
|
43 |
background-color: white !important; /* Make sure it's white */
|
44 |
}
|
45 |
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
/* Cute Buttons
|
50 |
button {
|
51 |
border-radius: 20px !important;
|
52 |
background-color: #ff85a2 !important;
|
@@ -54,13 +51,15 @@ button {
|
|
54 |
font-size: 18px !important;
|
55 |
padding: 10px 20px !important;
|
56 |
transition: all 0.3s ease-in-out;
|
|
|
|
|
57 |
}
|
58 |
|
59 |
button:hover {
|
60 |
background-color: #ff4da6 !important;
|
61 |
transform: scale(1.05);
|
62 |
}
|
63 |
-
|
64 |
/* Cute Output Styling */
|
65 |
.result {
|
66 |
color: #ff1493;
|
@@ -71,8 +70,7 @@ button:hover {
|
|
71 |
text-shadow: 2px 2px 5px rgba(255, 20, 147, 0.5);
|
72 |
}
|
73 |
|
74 |
-
|
75 |
-
|
76 |
@keyframes sparkle {
|
77 |
0% { transform: scale(1); }
|
78 |
50% { transform: scale(1.1); }
|
@@ -84,7 +82,7 @@ button:hover {
|
|
84 |
animation: sparkle 1s infinite;
|
85 |
}
|
86 |
|
87 |
-
|
88 |
@media (max-width: 768px) {
|
89 |
.title {
|
90 |
font-size: 28px;
|
@@ -94,4 +92,3 @@ button:hover {
|
|
94 |
font-size: 20px;
|
95 |
}
|
96 |
}
|
97 |
-
**/
|
|
|
1 |
/* Global Reset */
|
2 |
* {
|
3 |
box-sizing: border-box;
|
4 |
+
background-color:#af7db3 !important; /* Soft pastel pink */
|
5 |
font-family: "Comic Sans MS", cursive, sans-serif; /* Playful font */
|
6 |
}
|
7 |
|
|
|
11 |
width: 100%;
|
12 |
overflow-x: hidden;
|
13 |
padding: 0 !important;
|
14 |
+
text-align: center;
|
15 |
}
|
16 |
|
17 |
/* Title Styling */
|
|
|
22 |
background: linear-gradient(to right, #ff85a2 0%, #ff4da6 100%);
|
23 |
-webkit-background-clip: text;
|
24 |
-webkit-text-fill-color: transparent;
|
25 |
+
padding: 20px 0;
|
26 |
}
|
27 |
|
28 |
/* FULLY WHITE Input Box */
|
|
|
36 |
width: 100% !important;
|
37 |
max-width: 300px;
|
38 |
margin: 0 auto; /* Center it */
|
|
|
39 |
}
|
40 |
+
|
41 |
/* Remove Gradio's Background Inside Input */
|
42 |
.gradio-container input {
|
43 |
background-color: white !important; /* Make sure it's white */
|
44 |
}
|
45 |
|
46 |
+
/* Cute Buttons */
|
|
|
|
|
|
|
47 |
button {
|
48 |
border-radius: 20px !important;
|
49 |
background-color: #ff85a2 !important;
|
|
|
51 |
font-size: 18px !important;
|
52 |
padding: 10px 20px !important;
|
53 |
transition: all 0.3s ease-in-out;
|
54 |
+
display: block;
|
55 |
+
margin: 10px auto;
|
56 |
}
|
57 |
|
58 |
button:hover {
|
59 |
background-color: #ff4da6 !important;
|
60 |
transform: scale(1.05);
|
61 |
}
|
62 |
+
|
63 |
/* Cute Output Styling */
|
64 |
.result {
|
65 |
color: #ff1493;
|
|
|
70 |
text-shadow: 2px 2px 5px rgba(255, 20, 147, 0.5);
|
71 |
}
|
72 |
|
73 |
+
/* Cute Animation */
|
|
|
74 |
@keyframes sparkle {
|
75 |
0% { transform: scale(1); }
|
76 |
50% { transform: scale(1.1); }
|
|
|
82 |
animation: sparkle 1s infinite;
|
83 |
}
|
84 |
|
85 |
+
/* Responsive Tweaks */
|
86 |
@media (max-width: 768px) {
|
87 |
.title {
|
88 |
font-size: 28px;
|
|
|
92 |
font-size: 20px;
|
93 |
}
|
94 |
}
|
|