24Sureshkumar's picture
Update style.css
09de243 verified
raw
history blame
1.76 kB
/* Base styles */
.stApp {
background: linear-gradient(135deg, #f5f7fa 0%, #e4e7f4 100%);
background-attachment: fixed;
}
/* Header styling */
.header {
text-align: center;
padding: 1.5rem;
background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%);
border-radius: 10px;
margin-bottom: 2rem;
color: white;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.header h1 {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
.header p {
font-size: 1.1rem;
opacity: 0.9;
}
/* Text area styling */
textarea {
border-radius: 12px !important;
padding: 1rem !important;
font-size: 1.1rem !important;
border: 2px solid #4b6cb7 !important;
}
/* Button styling */
button {
border-radius: 12px !important;
padding: 0.75rem 1.5rem !important;
font-weight: bold !important;
font-size: 1.1rem !important;
background: linear-gradient(90deg, #ff7e5f 0%, #feb47b 100%) !important;
border: none !important;
transition: all 0.3s ease !important;
}
button:hover {
transform: scale(1.05) !important;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2) !important;
}
/* Card styling */
.stExpander {
background: white !important;
border-radius: 12px !important;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
border: none !important;
padding: 1rem !important;
}
/* Spinner styling */
.stSpinner > div {
border-top-color: #4b6cb7 !important;
}
/* Image styling */
.stImage > div > img {
border-radius: 12px !important;
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
border: 3px solid white !important;
}
/* Footer styling */
footer {
text-align: center;
padding: 1rem;
margin-top: 2rem;
color: #6c757d;
font-size: 0.9rem;
}