JeCabrera's picture
Update styles.py
c65b75a verified
raw
history blame
1.61 kB
def get_custom_css():
return """
<style>
/* Reduce top padding */
.block-container {
padding-top: 1rem !important;
padding-bottom: 0rem !important;
}
/* Add negative margin to move content up */
div.stApp {
margin-top: -60px;
background: white;
}
.main {
padding: 2rem;
}
.stMarkdown {
color: #2c3e50;
}
.stButton > button {
width: 80%;
margin-left: 10%;
border-radius: 5px;
height: 3em;
background-color: #FFD700;
color: black;
font-weight: bold;
transition: all 0.3s ease;
border: 1px solid black;
}
.stButton > button:hover {
background-color: #FFC800;
transform: translateY(-2px);
}
/* Style for download button */
[data-testid="stDownloadButton"] button {
width: 80%;
margin-left: 10%;
border-radius: 5px;
height: 3em;
background-color: #4CAF50;
color: black;
font-weight: bold;
transition: all 0.3s ease;
border: 1px solid black;
}
[data-testid="stDownloadButton"] button:hover {
background-color: #45a049;
transform: translateY(-2px);
}
.stTextInput>div>div>input {
border-radius: 5px;
}
</style>
"""