Spaces:
Sleeping
Sleeping
Update styles.py
Browse files
styles.py
CHANGED
@@ -10,23 +10,35 @@ def get_custom_css():
|
|
10 |
/* Add negative margin to move content up */
|
11 |
div.stApp {
|
12 |
margin-top: -60px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
}
|
14 |
|
15 |
-
/* Your existing styles can go here */
|
16 |
.stButton > button {
|
17 |
width: 100%;
|
18 |
border-radius: 5px;
|
19 |
height: 3em;
|
20 |
-
background-color: #
|
21 |
color: white;
|
22 |
font-weight: bold;
|
|
|
23 |
}
|
24 |
|
25 |
.stButton > button:hover {
|
26 |
-
background-color: #
|
|
|
27 |
}
|
28 |
|
29 |
-
|
|
|
|
|
30 |
</style>
|
31 |
"""
|
32 |
<style>
|
|
|
10 |
/* Add negative margin to move content up */
|
11 |
div.stApp {
|
12 |
margin-top: -60px;
|
13 |
+
background: white;
|
14 |
+
}
|
15 |
+
|
16 |
+
.main {
|
17 |
+
padding: 2rem;
|
18 |
+
}
|
19 |
+
|
20 |
+
.stMarkdown {
|
21 |
+
color: #2c3e50;
|
22 |
}
|
23 |
|
|
|
24 |
.stButton > button {
|
25 |
width: 100%;
|
26 |
border-radius: 5px;
|
27 |
height: 3em;
|
28 |
+
background-color: #3498db;
|
29 |
color: white;
|
30 |
font-weight: bold;
|
31 |
+
transition: all 0.3s ease;
|
32 |
}
|
33 |
|
34 |
.stButton > button:hover {
|
35 |
+
background-color: #2980b9;
|
36 |
+
transform: translateY(-2px);
|
37 |
}
|
38 |
|
39 |
+
.stTextInput>div>div>input {
|
40 |
+
border-radius: 5px;
|
41 |
+
}
|
42 |
</style>
|
43 |
"""
|
44 |
<style>
|