Kids-event-planner / theme.css
Poojashetty357's picture
Update theme.css
c620f3d verified
/* Family Event Planner Theme CSS */
.main-wrapper {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 15px;
padding: 20px;
margin: 10px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
#banner-image {
border-radius: 10px;
margin-bottom: 20px;
max-height: 200px;
object-fit: cover;
width: 100%;
}
.gradio-container {
background: #f8f9fa;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.gr-button {
background: linear-gradient(45deg, #ff6b6b, #ee5a24) !important;
border: none !important;
border-radius: 25px !important;
color: white !important;
font-weight: bold;
padding: 12px 24px;
transition: all 0.3s ease;
}
.gr-button:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.gr-dropdown, .gr-radio {
border-radius: 10px;
border: 2px solid #e9ecef;
}
.gr-dropdown select {
border-radius: 8px;
padding: 8px 12px;
}
.gr-radio label {
margin: 5px 10px;
padding: 8px 15px;
border-radius: 20px;
background: rgba(255, 255, 255, 0.8);
transition: all 0.2s ease;
}
.gr-radio label:hover {
background: rgba(255, 255, 255, 1);
transform: scale(1.05);
}
.gr-markdown {
background: rgba(255, 255, 255, 0.9);
border-radius: 10px;
padding: 15px;
margin: 10px 0;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
h1 {
color: #2c3e50;
text-align: center;
margin-bottom: 20px;
font-size: 2.5em;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
h2 {
color: #34495e;
border-bottom: 2px solid #3498db;
padding-bottom: 5px;
}
h3 {
color: #e74c3c;
margin-top: 20px;
}
/* Loading animation */
.loading {
display: inline-block;
animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
0% { opacity: 1; }
50% { opacity: 0.5; }
100% { opacity: 1; }
}
/* Responsive design */
@media (max-width: 768px) {
.main-wrapper {
margin: 5px;
padding: 15px;
}
h1 {
font-size: 2em;
}
.gr-button {
width: 100%;
margin: 10px 0;
}
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(45deg, #667eea, #764ba2);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(45deg, #5a6fd8, #6a4190);
}