corfodemo / streamlib.py
sergiolucero's picture
Create streamlib.py
6bb6632 verified
raw
history blame contribute delete
No virus
1.34 kB
import streamlit as st
st.markdown('''
<link
href="https://fonts.googleapis.com/css2?family=Exo:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
''', unsafe_allow_html=True)
st.markdown('''
<style>
body {
font-family: sans-serif;
font-family: "Exo", sans-serif;
background: #070815;
color: white;
}
h1 {
text-align: center;
font-weight: lighter;
}
button {
display: block;
margin: 0 auto;
padding: 10px 20px;
font-size: 1.2rem;
border: none;
border-radius: 5px;
cursor: pointer;
}
textarea {
display: block;
margin: 0 auto;
width: 100%;
height: 300px;
padding: 10px;
font-size: 1.2rem;
background: transparent;
color: white;
font-family: "Exo", sans-serif;
border: none;
border-radius: 5px;
cursor: pointer;
}
</style>
''', unsafe_allow_html=True)