Spaces:
Running
Running
import streamlit as st | |
def apply_custom_styles(): | |
"""Apply custom CSS styles to the application""" | |
st.markdown(""" | |
<style> | |
.stApp { | |
max-width: 1200px; | |
margin: 0 auto; | |
} | |
.stTextInput > div > div > input { | |
background-color: #1E1E1E; | |
color: #FFFFFF; | |
border: 1px solid #4A4A4A; | |
} | |
.stDataFrame { | |
background-color: #1E1E1E; | |
} | |
.stButton > button { | |
background-color: #FF4B4B; | |
color: white; | |
border: none; | |
border-radius: 4px; | |
padding: 0.5rem 1rem; | |
} | |
.stButton > button:hover { | |
background-color: #FF6B6B; | |
} | |
h1, h2, h3 { | |
color: #FFFFFF; | |
} | |
.metric-card { | |
background-color: #262730; | |
padding: 1rem; | |
border-radius: 8px; | |
margin: 0.5rem 0; | |
} | |
</style> | |
""", unsafe_allow_html=True) | |