Spaces:
Runtime error
Runtime error
Commit
·
5a78ee4
1
Parent(s):
7107aca
Update app.py
Browse files
app.py
CHANGED
@@ -42,9 +42,23 @@ st.markdown(
|
|
42 |
.stMarkdown h1, .stMarkdown h2 {
|
43 |
color: white !important; /* Set the text color of h1 and h2 elements to white */
|
44 |
padding: 10px;
|
45 |
-
background: rgba(0, 0, 0, 0.6);
|
|
|
46 |
border-radius: 10px;
|
47 |
backdrop-filter: blur(10px);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
}
|
49 |
</style>
|
50 |
""",
|
|
|
42 |
.stMarkdown h1, .stMarkdown h2 {
|
43 |
color: white !important; /* Set the text color of h1 and h2 elements to white */
|
44 |
padding: 10px;
|
45 |
+
background: linear-gradient(90deg, rgba(100, 40, 200, 0.6), rgba(255, 0, 0, 0.6), rgba(0, 255, 255, 0.6));
|
46 |
+
background-size: 300% 300%;
|
47 |
border-radius: 10px;
|
48 |
backdrop-filter: blur(10px);
|
49 |
+
animation: gradient 10s ease infinite;
|
50 |
+
}
|
51 |
+
|
52 |
+
@keyframes gradient {
|
53 |
+
0% {
|
54 |
+
background-position: 0% 50%;
|
55 |
+
}
|
56 |
+
50% {
|
57 |
+
background-position: 100% 50%;
|
58 |
+
}
|
59 |
+
100% {
|
60 |
+
background-position: 0% 50%;
|
61 |
+
}
|
62 |
}
|
63 |
</style>
|
64 |
""",
|