-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogo.py
More file actions
26 lines (25 loc) · 793 Bytes
/
logo.py
File metadata and controls
26 lines (25 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import streamlit as st
def add_logo():
st.markdown(
"""
<style>
[data-testid="stSidebarNav"] {
background-image: url(https://github.com/devmoonjs/git-practice/blob/main/GOQBA_logo.png?raw=true);
background-repeat: no-repeat;
background-size: 80%;
padding-top: 30px;
background-position: 20px 20px;
}
[data-testid="stSidebarNav"]::before {
# content: "ASMIT";
margin-left: 20px;
margin-top: px;
font-size: 30px;
# font-weight: bold;
position: relative;
top: 10px;
}
</style>
""",
unsafe_allow_html=True,
)