Spaces:
Running
Running
Delete style.css
Browse files
style.css
DELETED
|
@@ -1,220 +0,0 @@
|
|
| 1 |
-
:root {
|
| 2 |
-
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
| 3 |
-
color: #111827;
|
| 4 |
-
background: #f6f7fb;
|
| 5 |
-
font-synthesis: none;
|
| 6 |
-
}
|
| 7 |
-
|
| 8 |
-
* { box-sizing: border-box; }
|
| 9 |
-
|
| 10 |
-
body {
|
| 11 |
-
margin: 0;
|
| 12 |
-
min-height: 100vh;
|
| 13 |
-
background: radial-gradient(circle at top, #ffffff 0%, #f6f7fb 45%, #eef1f7 100%);
|
| 14 |
-
}
|
| 15 |
-
|
| 16 |
-
button, input, select, textarea { font: inherit; }
|
| 17 |
-
|
| 18 |
-
.page-shell {
|
| 19 |
-
width: min(1180px, calc(100% - 32px));
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 56px 0 40px;
|
| 22 |
-
}
|
| 23 |
-
|
| 24 |
-
.hero { max-width: 820px; margin-bottom: 28px; }
|
| 25 |
-
.eyebrow, .section-kicker {
|
| 26 |
-
margin: 0 0 10px;
|
| 27 |
-
font-size: .78rem;
|
| 28 |
-
font-weight: 750;
|
| 29 |
-
letter-spacing: .08em;
|
| 30 |
-
text-transform: uppercase;
|
| 31 |
-
color: #52627a;
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
h1 {
|
| 35 |
-
margin: 0;
|
| 36 |
-
font-size: clamp(2.4rem, 6vw, 5.1rem);
|
| 37 |
-
line-height: .98;
|
| 38 |
-
letter-spacing: -.055em;
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
.lede {
|
| 42 |
-
max-width: 720px;
|
| 43 |
-
margin: 22px 0 0;
|
| 44 |
-
font-size: clamp(1.05rem, 2vw, 1.3rem);
|
| 45 |
-
line-height: 1.6;
|
| 46 |
-
color: #4b5563;
|
| 47 |
-
}
|
| 48 |
-
|
| 49 |
-
.lesson-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
|
| 50 |
-
.lesson-strip span {
|
| 51 |
-
padding: 8px 11px;
|
| 52 |
-
border: 1px solid #dfe4ec;
|
| 53 |
-
border-radius: 999px;
|
| 54 |
-
background: rgba(255,255,255,.76);
|
| 55 |
-
color: #52627a;
|
| 56 |
-
font-size: .86rem;
|
| 57 |
-
}
|
| 58 |
-
.lesson-strip b { margin-right: 4px; color: #111827; }
|
| 59 |
-
|
| 60 |
-
.workspace {
|
| 61 |
-
display: grid;
|
| 62 |
-
grid-template-columns: minmax(280px, .72fr) minmax(0, 1.45fr);
|
| 63 |
-
gap: 20px;
|
| 64 |
-
align-items: start;
|
| 65 |
-
}
|
| 66 |
-
|
| 67 |
-
.card {
|
| 68 |
-
border: 1px solid #e0e5ed;
|
| 69 |
-
border-radius: 22px;
|
| 70 |
-
background: rgba(255,255,255,.93);
|
| 71 |
-
box-shadow: 0 18px 50px rgba(26,39,63,.08);
|
| 72 |
-
}
|
| 73 |
-
|
| 74 |
-
.controls, .result { padding: 24px; }
|
| 75 |
-
.step { display: flex; gap: 13px; align-items: flex-start; }
|
| 76 |
-
.step-number {
|
| 77 |
-
display: grid;
|
| 78 |
-
place-items: center;
|
| 79 |
-
width: 28px;
|
| 80 |
-
height: 28px;
|
| 81 |
-
flex: 0 0 28px;
|
| 82 |
-
border-radius: 50%;
|
| 83 |
-
background: #111827;
|
| 84 |
-
color: #fff;
|
| 85 |
-
font-size: .82rem;
|
| 86 |
-
font-weight: 750;
|
| 87 |
-
}
|
| 88 |
-
|
| 89 |
-
.grow { flex: 1; min-width: 0; }
|
| 90 |
-
.control-label { font-weight: 700; }
|
| 91 |
-
.helper { margin: 6px 0 0; color: #667085; font-size: .92rem; line-height: 1.5; }
|
| 92 |
-
.sample-title { margin: 0; }
|
| 93 |
-
.input-kicker {
|
| 94 |
-
margin: 0 0 4px;
|
| 95 |
-
color: #344054;
|
| 96 |
-
font-size: .78rem;
|
| 97 |
-
font-weight: 800;
|
| 98 |
-
letter-spacing: .04em;
|
| 99 |
-
text-transform: uppercase;
|
| 100 |
-
}
|
| 101 |
-
.example-head { margin-top: 18px; }
|
| 102 |
-
|
| 103 |
-
.sample-grid {
|
| 104 |
-
display: grid;
|
| 105 |
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
| 106 |
-
gap: 10px;
|
| 107 |
-
margin-top: 12px;
|
| 108 |
-
}
|
| 109 |
-
.sample-card {
|
| 110 |
-
min-width: 0;
|
| 111 |
-
padding: 0;
|
| 112 |
-
overflow: hidden;
|
| 113 |
-
border: 1px solid #e0e5ed;
|
| 114 |
-
border-radius: 12px;
|
| 115 |
-
background: #fff;
|
| 116 |
-
cursor: pointer;
|
| 117 |
-
text-align: left;
|
| 118 |
-
transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
|
| 119 |
-
}
|
| 120 |
-
.sample-card:hover { transform: translateY(-1px); border-color: #aeb8c6; box-shadow: 0 8px 18px rgba(26,39,63,.08); }
|
| 121 |
-
.sample-card.selected { border-color: #111827; box-shadow: 0 0 0 2px #111827; }
|
| 122 |
-
.sample-card img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #eef1f5; }
|
| 123 |
-
.sample-card span {
|
| 124 |
-
display: block;
|
| 125 |
-
padding: 8px 9px 9px;
|
| 126 |
-
overflow: hidden;
|
| 127 |
-
color: #475467;
|
| 128 |
-
font-size: .78rem;
|
| 129 |
-
font-weight: 700;
|
| 130 |
-
text-overflow: ellipsis;
|
| 131 |
-
white-space: nowrap;
|
| 132 |
-
}
|
| 133 |
-
|
| 134 |
-
.or-row { display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; color: #98a2b3; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
|
| 135 |
-
.or-row::before, .or-row::after { content: ''; height: 1px; flex: 1; background: #eceff4; }
|
| 136 |
-
.file-input { width: 100%; margin-top: 16px; padding: 11px; border: 1px dashed #bac3d2; border-radius: 14px; background: #fafbfc; }
|
| 137 |
-
.divider { height: 1px; margin: 22px 0; background: #eceff4; }
|
| 138 |
-
.model-select, textarea {
|
| 139 |
-
width: 100%;
|
| 140 |
-
margin-top: 10px;
|
| 141 |
-
padding: 11px 12px;
|
| 142 |
-
border: 1px solid #cfd7e3;
|
| 143 |
-
border-radius: 12px;
|
| 144 |
-
background: #fff;
|
| 145 |
-
color: #111827;
|
| 146 |
-
}
|
| 147 |
-
.model-select:focus, textarea:focus { outline: 2px solid #111827; outline-offset: 2px; }
|
| 148 |
-
.clip-controls { margin-top: 18px; }
|
| 149 |
-
textarea { resize: vertical; line-height: 1.45; }
|
| 150 |
-
.slider-row { display: flex; justify-content: space-between; gap: 12px; }
|
| 151 |
-
#top-k-value { min-width: 48px; text-align: right; color: #334155; font-variant-numeric: tabular-nums; }
|
| 152 |
-
#top-k { width: 100%; margin-top: 13px; accent-color: #111827; }
|
| 153 |
-
|
| 154 |
-
.run-button {
|
| 155 |
-
width: 100%;
|
| 156 |
-
margin-top: 24px;
|
| 157 |
-
padding: 13px 18px;
|
| 158 |
-
border: 0;
|
| 159 |
-
border-radius: 14px;
|
| 160 |
-
background: #111827;
|
| 161 |
-
color: #fff;
|
| 162 |
-
font-weight: 750;
|
| 163 |
-
cursor: pointer;
|
| 164 |
-
transition: transform .15s ease, opacity .15s ease;
|
| 165 |
-
}
|
| 166 |
-
.run-button:not(:disabled):hover { transform: translateY(-1px); }
|
| 167 |
-
.run-button:disabled { opacity: .38; cursor: not-allowed; }
|
| 168 |
-
.status { min-height: 1.4em; margin: 14px 0 0; color: #52627a; font-size: .9rem; }
|
| 169 |
-
.progress-wrap { height: 5px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: #edf0f5; }
|
| 170 |
-
.progress-bar { width: 0; height: 100%; border-radius: inherit; background: #111827; transition: width .2s ease; }
|
| 171 |
-
|
| 172 |
-
.result-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
|
| 173 |
-
.result h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.02em; }
|
| 174 |
-
.badge { padding: 7px 10px; border-radius: 999px; background: #eef2f7; color: #536176; font-size: .82rem; font-weight: 700; white-space: nowrap; }
|
| 175 |
-
.badge.ready { background: #e8f7ef; color: #17623c; }
|
| 176 |
-
.badge.running { background: #fff4df; color: #805600; }
|
| 177 |
-
.badge.error { background: #fdecec; color: #9b2c2c; }
|
| 178 |
-
|
| 179 |
-
.preview-wrap {
|
| 180 |
-
position: relative;
|
| 181 |
-
display: grid;
|
| 182 |
-
place-items: center;
|
| 183 |
-
min-height: 360px;
|
| 184 |
-
overflow: hidden;
|
| 185 |
-
border-radius: 16px;
|
| 186 |
-
background: #101318;
|
| 187 |
-
}
|
| 188 |
-
#preview-image { display: block; max-width: 100%; max-height: 560px; object-fit: contain; }
|
| 189 |
-
.preview-wrap.empty #preview-image { display: none; }
|
| 190 |
-
#preview-placeholder { margin: 0; padding: 32px; color: #9aa4b2; text-align: center; }
|
| 191 |
-
.preview-wrap:not(.empty) #preview-placeholder { display: none; }
|
| 192 |
-
.summary { margin: 16px 0; padding: 13px 15px; border-radius: 13px; background: #f7f8fa; color: #344054; font-weight: 650; line-height: 1.5; }
|
| 193 |
-
.table-wrap { overflow-x: auto; border: 1px solid #e8ebf0; border-radius: 14px; }
|
| 194 |
-
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
|
| 195 |
-
th, td { padding: 11px 13px; border-bottom: 1px solid #edf0f4; text-align: left; vertical-align: top; }
|
| 196 |
-
th { background: #fafbfc; color: #52627a; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
|
| 197 |
-
tbody tr:last-child td { border-bottom: 0; }
|
| 198 |
-
.empty-row td { color: #7d899a; text-align: center; }
|
| 199 |
-
|
| 200 |
-
.explain { margin-top: 20px; padding: 22px 24px; }
|
| 201 |
-
.explain-title { max-width: 820px; margin: 0; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.25; letter-spacing: -.025em; }
|
| 202 |
-
.explain-copy { max-width: 900px; margin: 12px 0 18px; color: #536176; line-height: 1.65; }
|
| 203 |
-
.flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-weight: 700; }
|
| 204 |
-
.flow span:not(.arrow) { padding: 8px 11px; border-radius: 10px; background: #f2f4f7; }
|
| 205 |
-
.arrow { color: #98a2b3; }
|
| 206 |
-
.extension-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #eceff4; color: #5d6879; font-size: .92rem; line-height: 1.55; }
|
| 207 |
-
footer { padding: 22px 2px 0; color: #7a8595; font-size: .84rem; }
|
| 208 |
-
|
| 209 |
-
@media (max-width: 820px) {
|
| 210 |
-
.page-shell { width: min(100% - 20px, 720px); padding-top: 34px; }
|
| 211 |
-
.workspace { grid-template-columns: 1fr; }
|
| 212 |
-
.preview-wrap { min-height: 280px; }
|
| 213 |
-
}
|
| 214 |
-
|
| 215 |
-
@media (max-width: 520px) {
|
| 216 |
-
.card { border-radius: 17px; }
|
| 217 |
-
.controls, .result, .explain { padding: 18px; }
|
| 218 |
-
.result-head { align-items: center; }
|
| 219 |
-
th, td { padding: 9px 10px; }
|
| 220 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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