-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain_css_html.py
More file actions
40 lines (36 loc) · 1.01 KB
/
Copy pathmain_css_html.py
File metadata and controls
40 lines (36 loc) · 1.01 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import streamlit as st
def css_html():
m = st.markdown("""
<style>
div.stButton > button:first-child {
background-color: rgb(210, 80, 49)
;color:white
;font-size:20px
;height:1.8em
;width:15em
;border-radius:10px 10px 10px 10px;
}
div.stDownloadButton:nth-child(2) {
background-color: rgb(255, 255, 255);
color: rgb(38, 10, 48);
padding: 0.25em 0.38em;
position: middle;
text-decoration: none;
border-radius: 4px;
border-width: 10px;
border-style: solid;
border-color: rgb(230, 234, 241);
border-image: initial;
}
div.stDownloadButton :hover {
border-color: rgb(246, 10, 102);
color: rgb(246, 51, 102);
}
div.stDownloadButton:active {
box-shadow: none;
background-color: rgb(246, 51, 102);
color: white;
}
</style>
""", unsafe_allow_html=True)
return m