Spaces:
Sleeping
Sleeping
Upload style.css
Browse files
style.css
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Kid-friendly styling for StoryTime app */
|
2 |
+
|
3 |
+
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&display=swap');
|
4 |
+
|
5 |
+
/* Main container styling */
|
6 |
+
.main {
|
7 |
+
background-color: #f9f7f0;
|
8 |
+
border-radius: 20px;
|
9 |
+
padding: 20px;
|
10 |
+
font-family: 'Comic Neue', cursive;
|
11 |
+
}
|
12 |
+
|
13 |
+
/* Headers */
|
14 |
+
h1, h2, h3 {
|
15 |
+
color: #3d85c6;
|
16 |
+
font-family: 'Comic Neue', cursive;
|
17 |
+
font-weight: 700;
|
18 |
+
}
|
19 |
+
|
20 |
+
h1 {
|
21 |
+
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
|
22 |
+
}
|
23 |
+
|
24 |
+
/* Buttons and interactive elements */
|
25 |
+
.stButton>button {
|
26 |
+
background-color: #76b5c5;
|
27 |
+
border-radius: 15px;
|
28 |
+
border: 2px solid #3d85c6;
|
29 |
+
color: white;
|
30 |
+
font-family: 'Comic Neue', cursive;
|
31 |
+
font-weight: 700;
|
32 |
+
transition: all 0.3s;
|
33 |
+
}
|
34 |
+
|
35 |
+
.stButton>button:hover {
|
36 |
+
background-color: #3d85c6;
|
37 |
+
transform: scale(1.05);
|
38 |
+
}
|
39 |
+
|
40 |
+
/* File uploader */
|
41 |
+
.uploadedFileData {
|
42 |
+
border: 2px dashed #76b5c5;
|
43 |
+
border-radius: 15px;
|
44 |
+
padding: 10px;
|
45 |
+
}
|
46 |
+
|
47 |
+
/* Story text */
|
48 |
+
.stTextArea>div>div>textarea {
|
49 |
+
font-family: 'Comic Neue', cursive;
|
50 |
+
font-size: 18px;
|
51 |
+
color: #333;
|
52 |
+
line-height: 1.6;
|
53 |
+
}
|
54 |
+
|
55 |
+
/* Audio player */
|
56 |
+
.stAudio>div {
|
57 |
+
background-color: #e4f5fb;
|
58 |
+
border-radius: 15px;
|
59 |
+
padding: 10px;
|
60 |
+
}
|
61 |
+
|
62 |
+
/* Success message */
|
63 |
+
.stSuccess {
|
64 |
+
background-color: #d1f0c2;
|
65 |
+
border-radius: 15px;
|
66 |
+
border: 2px solid #76c56d;
|
67 |
+
}
|
68 |
+
|
69 |
+
/* Images */
|
70 |
+
img {
|
71 |
+
border-radius: 15px;
|
72 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
73 |
+
}
|
74 |
+
|
75 |
+
/* Spinner */
|
76 |
+
.stSpinner {
|
77 |
+
color: #76b5c5;
|
78 |
+
}
|