Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,38 +16,20 @@ from data_integration import scrape_all_pages
|
|
| 16 |
#img = get_img_as_base64("image.jpg")background-image: url("data:image/png;base64,{img}");
|
| 17 |
|
| 18 |
|
| 19 |
-
page_bg_img =
|
| 20 |
<style>
|
| 21 |
.css-selector {
|
| 22 |
background: linear-gradient(135deg, #00ffbd, #005fff, #9800ff);
|
| 23 |
background-size: 600% 600%;
|
| 24 |
|
| 25 |
-webkit-animation: AnimationName 59s ease infinite;
|
| 26 |
-
-moz-animation: AnimationName 59s ease infinite;
|
| 27 |
-
-o-animation: AnimationName 59s ease infinite;
|
| 28 |
-
animation: AnimationName 59s ease infinite;
|
| 29 |
-
}
|
| 30 |
|
| 31 |
-
@-webkit-keyframes AnimationName {
|
| 32 |
-
0%{background-position:0% 10%}
|
| 33 |
-
50%{background-position:100% 91%}
|
| 34 |
-
100%{background-position:0% 10%}
|
| 35 |
-
}
|
| 36 |
-
@-moz-keyframes AnimationName {
|
| 37 |
-
0%{background-position:0% 10%}
|
| 38 |
-
50%{background-position:100% 91%}
|
| 39 |
-
100%{background-position:0% 10%}
|
| 40 |
-
}
|
| 41 |
-
@-o-keyframes AnimationName {
|
| 42 |
-
0%{background-position:0% 10%}
|
| 43 |
-
50%{background-position:100% 91%}
|
| 44 |
-
100%{background-position:0% 10%}
|
| 45 |
-
}
|
| 46 |
@keyframes AnimationName {
|
| 47 |
0%{background-position:0% 10%}
|
| 48 |
50%{background-position:100% 91%}
|
| 49 |
100%{background-position:0% 10%}
|
| 50 |
}
|
|
|
|
| 51 |
</style>
|
| 52 |
"""
|
| 53 |
st.markdown(page_bg_img, unsafe_allow_html=True)
|
|
|
|
| 16 |
#img = get_img_as_base64("image.jpg")background-image: url("data:image/png;base64,{img}");
|
| 17 |
|
| 18 |
|
| 19 |
+
page_bg_img = """
|
| 20 |
<style>
|
| 21 |
.css-selector {
|
| 22 |
background: linear-gradient(135deg, #00ffbd, #005fff, #9800ff);
|
| 23 |
background-size: 600% 600%;
|
| 24 |
|
| 25 |
-webkit-animation: AnimationName 59s ease infinite;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
@keyframes AnimationName {
|
| 28 |
0%{background-position:0% 10%}
|
| 29 |
50%{background-position:100% 91%}
|
| 30 |
100%{background-position:0% 10%}
|
| 31 |
}
|
| 32 |
+
}
|
| 33 |
</style>
|
| 34 |
"""
|
| 35 |
st.markdown(page_bg_img, unsafe_allow_html=True)
|