COS30082 / style.css
Islam Mamedov
Initial commit: herbarium baseline + app UI
ef3d1e2
/* ---------- Global background & typography ---------- */
body {
background: radial-gradient(circle at top, #e0f2fe 0, #f9fafb 45%, #f8fafc 100%);
font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}
/* ---------- Main wrapper ---------- */
#app-wrapper {
max-width: 1100px;
margin: 0 auto;
padding: 24px 16px 40px;
}
/* ---------- Header ---------- */
#app-header h1 {
font-size: 2.2rem;
margin-bottom: 0.2rem;
}
#app-header h3 {
margin-top: 0;
font-weight: 500;
color: #6b7280;
}
/* ---------- Info chips under title ---------- */
#badge-row {
margin-top: 6px;
margin-bottom: 6px;
}
.badge {
display: inline-flex;
align-items: center;
padding: 4px 10px;
margin-right: 8px;
margin-bottom: 4px;
border-radius: 999px;
background: #ecfdf5;
border: 1px solid #bbf7d0;
font-size: 12px;
color: #166534;
}
/* ---------- Main card ---------- */
#main-card {
margin-top: 18px;
padding: 18px 20px 22px;
border-radius: 20px;
background: rgba(255, 255, 255, 0.98);
box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
}
/* Left (controls) / right (outputs) panels */
#left-panel {
border-right: 1px solid #e5e7eb;
padding-right: 18px;
}
#right-panel {
padding-left: 18px;
}
/* Small helper text under model dropdown */
#model-help {
font-size: 12px;
color: #6b7280;
margin-top: 4px;
}
/* Make the main button a bit more pill-like */
button.primary,
.gr-button-primary {
border-radius: 999px !important;
padding: 8px 18px !important;
font-weight: 600 !important;
}
/* Footer */
#footer {
margin-top: 18px;
text-align: center;
font-size: 12px;
color: #94a3b8;
}