Paras Shah
commited on
Commit
·
1edacc8
1
Parent(s):
00e1c1a
Add footer
Browse files
app.py
CHANGED
@@ -25,20 +25,22 @@ side_bg_ext = "png"
|
|
25 |
|
26 |
st.markdown(
|
27 |
f"""
|
28 |
-
<footer>
|
29 |
©Copyright: WII, Technology Laboratory<br>
|
30 |
Authors: Shashank Sawan & Paras Shah
|
31 |
-
</
|
32 |
<style>
|
33 |
-
footer {{
|
34 |
position: fixed;
|
35 |
bottom: 0;
|
|
|
|
|
36 |
text-align: right;
|
37 |
font-size: 14px;
|
|
|
38 |
}}
|
39 |
[data-testid="stSidebar"] {{
|
40 |
-
background: url(data:image/{side_bg_ext};
|
41 |
-
base64,{base64.b64encode(open(side_bg, "rb").read()).decode()});
|
42 |
color: #ffff00;
|
43 |
}}
|
44 |
[data-testid="stSidebarUserContent"] {{
|
|
|
25 |
|
26 |
st.markdown(
|
27 |
f"""
|
28 |
+
<div id="footer">
|
29 |
©Copyright: WII, Technology Laboratory<br>
|
30 |
Authors: Shashank Sawan & Paras Shah
|
31 |
+
</div>
|
32 |
<style>
|
33 |
+
#footer {{
|
34 |
position: fixed;
|
35 |
bottom: 0;
|
36 |
+
width: 95%;
|
37 |
+
padding: 5px;
|
38 |
text-align: right;
|
39 |
font-size: 14px;
|
40 |
+
z-index: 5;
|
41 |
}}
|
42 |
[data-testid="stSidebar"] {{
|
43 |
+
background: url(data:image/{side_bg_ext};base64,{base64.b64encode(open(side_bg, "rb").read()).decode()});
|
|
|
44 |
color: #ffff00;
|
45 |
}}
|
46 |
[data-testid="stSidebarUserContent"] {{
|