Spaces:
Paused
Paused
File size: 2,541 Bytes
3c8847a | 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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | /* ML Science Lab — minimal blue theme. Loaded by app.py at launch. */
.gradio-container {
--lab-blue: #2563eb;
--lab-ink: #142c4e;
--lab-muted: #52657e;
--lab-border: #dce5f0;
--lab-surface: #ffffff;
--lab-background: #f5f8fc;
max-width: 1320px !important;
margin: 0 auto !important;
padding: 40px 32px !important;
background: var(--lab-background);
color: var(--lab-ink);
line-height: 1.6;
}
#lab-header {
border-top: 3px solid var(--lab-blue);
padding: 24px 0 12px;
margin-bottom: 8px;
}
#lab-header h1 {
color: var(--lab-ink);
font-size: clamp(1.8rem, 4vw, 2.5rem);
font-weight: 650;
letter-spacing: -0.045em;
line-height: 1.15;
margin-bottom: 12px;
}
#lab-header p, .lab-note p {
color: var(--lab-muted);
max-width: 85ch;
}
.lab-note {
border-left: 3px solid var(--lab-border);
padding: 4px 16px;
margin-bottom: 20px;
}
#lab-controls, #lab-results {
background: var(--lab-surface);
border: 1px solid var(--lab-border);
border-radius: 12px;
padding: 22px;
gap: 18px;
min-width: min(100%, 300px);
}
.gradio-container .block {
border-color: var(--lab-border);
border-radius: 8px;
box-shadow: none;
}
.gradio-container h3 {
color: var(--lab-ink);
font-size: 1.15rem;
font-weight: 600;
letter-spacing: -0.02em;
margin-top: 20px;
}
.gradio-container button.primary {
border: 1px solid transparent;
border-radius: 8px;
min-height: 44px;
font-weight: 600;
box-shadow: none;
transition: background-color 150ms ease;
}
.gradio-container :is(button, input, textarea, select, [tabindex]):focus-visible {
outline: 3px solid #60a5fa !important;
outline-offset: 3px;
}
.gradio-container input[type="range"] {
accent-color: var(--lab-blue);
}
.gradio-container table {
font-variant-numeric: tabular-nums;
}
.gradio-container th {
background: var(--lab-background);
color: var(--lab-ink);
font-weight: 600;
}
.gradio-container a {
color: var(--lab-blue);
text-underline-offset: 3px;
}
.dark .gradio-container {
--lab-blue: #60a5fa;
--lab-ink: #e2ecfb;
--lab-muted: #a5b6cf;
--lab-border: #2a3d58;
--lab-surface: #142035;
--lab-background: #0e1829;
}
@media (max-width: 640px) {
.gradio-container { padding: 20px 14px !important; }
#lab-controls, #lab-results { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
.gradio-container button.primary { transition: none; }
}
|