Spaces:
Sleeping
Sleeping
Upload 2 files
Browse files- static/load_css.py +5 -0
- static/style.css +23 -0
static/load_css.py
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
def local_css(file_name):
|
| 4 |
+
with open(file_name) as f:
|
| 5 |
+
st.markdown('<style>{}</style>'.format(f.read()), unsafe_allow_html=True)
|
static/style.css
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.highlight {
|
| 2 |
+
border-radius: 0.4rem;
|
| 3 |
+
padding: 0.5rem;
|
| 4 |
+
margin-bottom: 1rem;
|
| 5 |
+
|
| 6 |
+
}
|
| 7 |
+
.bold {
|
| 8 |
+
padding-left: 1rem;
|
| 9 |
+
font-weight: 700;
|
| 10 |
+
}
|
| 11 |
+
.grey {
|
| 12 |
+
background-color: rgba(230, 230, 230, 0.3);
|
| 13 |
+
color: rgba(2, 2, 2, 0.753);
|
| 14 |
+
}
|
| 15 |
+
.blue {
|
| 16 |
+
background-color: rgba(213, 243, 253, 0.3);
|
| 17 |
+
color: rgba(2, 2, 2,0.7);
|
| 18 |
+
}
|
| 19 |
+
.yellow {
|
| 20 |
+
background-color: rgba(243, 206, 19,0.7);
|
| 21 |
+
color: rgba(2, 2, 2, 0.781);
|
| 22 |
+
}
|
| 23 |
+
|