ashok2216 commited on
Commit
0dc7882
·
verified ·
1 Parent(s): 2984bac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -19
app.py CHANGED
@@ -18,26 +18,23 @@ from data_integration import scrape_all_pages
18
 
19
  page_bg_img = f"""
20
  <style>
21
- [data-testid="stAppViewContainer"] > .main {{
22
- background-image: url("https://i.pinimg.com/originals/6f/6c/15/6f6c1538b050072b002dbc06bedaaf90.jpg");
23
- background-size: cover;
24
- background-position: center;
25
- background-repeat: no-repeat;
26
- }}
27
 
28
- [data-testid="stSidebar"] > div:first-child {{
29
- background-position: center;
30
- background-repeat: no-repeat;
31
- background-attachment: fixed;
32
- }}
33
-
34
- [data-testid="stHeader"] {{
35
- background: rgba(0,0,0,0);
36
- }}
37
-
38
- [data-testid="stToolbar"] {{
39
- right: 2rem;
40
- }}
41
  </style>
42
  """
43
  st.markdown(page_bg_img, unsafe_allow_html=True)
 
18
 
19
  page_bg_img = f"""
20
  <style>
21
+ .gradient-background {
22
+ background: linear-gradient(331deg,deepskyblue,darkviolet,blue);
23
+ background-size: 180% 180%;
24
+ animation: gradient-animation 18s ease infinite;
25
+ }
 
26
 
27
+ @keyframes gradient-animation {
28
+ 0% {
29
+ background-position: 0% 50%;
30
+ }
31
+ 50% {
32
+ background-position: 100% 50%;
33
+ }
34
+ 100% {
35
+ background-position: 0% 50%;
36
+ }
37
+ }
 
 
38
  </style>
39
  """
40
  st.markdown(page_bg_img, unsafe_allow_html=True)