Spaces:
Sleeping
Sleeping
File size: 826 Bytes
90cb4f4 876e6bb 90cb4f4 0960577 |
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 |
import streamlit as st
def custom_css():
"""Add custom CSS for layout"""
st.markdown("""
<style>
.split-container {
display: flex;
gap: 2rem;
}
.context-container {
flex: 1;
padding: 1rem;
background-color: #f8f9fa;
border-radius: 0.5rem;
}
.questions-container {
flex: 1;
padding: 1rem;
}
.stButton button {
width: 100%;
margin-bottom: 0.5rem;
}
.exit-container {
text-align: center;
padding: 2rem;
background-color: #f8f9fa;
border-radius: 1rem;
margin: 2rem auto;
max-width: 600px;
}
</style>
""", unsafe_allow_html=True) |