RJuro Claude Opus 4.6 commited on
Commit
2dac300
·
1 Parent(s): 33e7dcd

Heavier brutalist outlines — thicker borders, bolder SVG geometry

Browse files

2px white borders on all dividers, search box, result cards, footer.
SVG shapes scaled up with 1.5-2px strokes, larger triangles/circles,
added diamond + square geometry, stronger constellation lines, bigger
pulsing nodes, heavier scan line. Chips invert to red fill on hover.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. static/index.html +57 -42
static/index.html CHANGED
@@ -32,26 +32,26 @@
32
 
33
  /* ── SVG Vector Background ── */
34
  .vector-bg {
35
- position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .12;
36
  }
37
  .vector-bg line {
38
  stroke: var(--white);
39
- stroke-width: .5;
40
  }
41
  .vector-bg circle {
42
  fill: none;
43
  stroke: var(--white);
44
- stroke-width: .5;
45
  }
46
  .vector-bg .node {
47
  fill: var(--red);
48
- opacity: .8;
49
  }
50
 
51
  /* Grid pulse */
52
  @keyframes gridFade {
53
- 0%, 100% { opacity: .08; }
54
- 50% { opacity: .18; }
55
  }
56
  .grid-line { animation: gridFade 6s ease-in-out infinite; }
57
  .grid-line:nth-child(odd) { animation-delay: -3s; }
@@ -87,7 +87,7 @@
87
  /* ── Header ── */
88
  .header {
89
  margin-bottom: 48px;
90
- border-bottom: 1px solid var(--gray-2);
91
  padding-bottom: 32px;
92
  }
93
  .header-top {
@@ -129,7 +129,7 @@
129
  .search-row {
130
  display: flex;
131
  gap: 0;
132
- border: 1px solid var(--gray-2);
133
  transition: border-color .2s;
134
  }
135
  .search-row:focus-within {
@@ -170,20 +170,22 @@
170
  margin-top: 16px;
171
  }
172
  .chip {
173
- padding: 6px 14px;
174
- border: 1px solid var(--gray-2);
175
  background: transparent;
176
  font-family: 'JetBrains Mono', monospace;
177
  font-size: .7rem;
178
- color: var(--gray-4);
179
  cursor: pointer;
180
  transition: all .15s;
181
  letter-spacing: .5px;
182
  }
183
  .chip:hover {
184
  border-color: var(--red);
 
185
  color: var(--white);
186
  }
 
187
  .chip .lang {
188
  color: var(--red);
189
  font-weight: 600;
@@ -194,7 +196,7 @@
194
  .results { display: flex; flex-direction: column; gap: 0; }
195
 
196
  .result-card {
197
- border-top: 1px solid var(--gray-2);
198
  padding: 24px 0;
199
  display: grid;
200
  grid-template-columns: 48px 1fr;
@@ -203,7 +205,7 @@
203
  transform: translateY(12px);
204
  animation: cardIn .4s ease forwards;
205
  }
206
- .result-card:last-child { border-bottom: 1px solid var(--gray-2); }
207
 
208
  @keyframes cardIn {
209
  to { opacity: 1; transform: translateY(0); }
@@ -222,9 +224,9 @@
222
  line-height: 1;
223
  }
224
  .rank-line {
225
- width: 1px;
226
  flex: 1;
227
- background: var(--gray-2);
228
  margin-top: 8px;
229
  min-height: 20px;
230
  }
@@ -247,8 +249,8 @@
247
  }
248
  .score-track {
249
  flex: 1;
250
- height: 2px;
251
- background: var(--gray-2);
252
  position: relative;
253
  overflow: hidden;
254
  }
@@ -280,8 +282,8 @@
280
  .empty-state {
281
  padding: 64px 20px;
282
  text-align: center;
283
- border-top: 1px solid var(--gray-2);
284
- border-bottom: 1px solid var(--gray-2);
285
  }
286
  .empty-state svg {
287
  margin-bottom: 24px;
@@ -305,14 +307,14 @@
305
 
306
  /* ── Skeleton ── */
307
  .skeleton-card {
308
- border-top: 1px solid var(--gray-2);
309
  padding: 24px 0;
310
  display: grid;
311
  grid-template-columns: 48px 1fr;
312
  gap: 0 20px;
313
  animation: pulse 1.5s ease-in-out infinite;
314
  }
315
- .skeleton-card:last-child { border-bottom: 1px solid var(--gray-2); }
316
  .skel-rank {
317
  width: 24px; height: 32px;
318
  background: var(--gray-2);
@@ -331,7 +333,7 @@
331
  .footer {
332
  margin-top: 48px;
333
  padding-top: 24px;
334
- border-top: 1px solid var(--gray-2);
335
  display: flex;
336
  justify-content: space-between;
337
  align-items: center;
@@ -375,40 +377,53 @@
375
 
376
  <!-- Floating triangles -->
377
  <g class="geo-float-1" transform="translate(150,120)">
378
- <polygon points="0,-20 17,10 -17,10" fill="none" stroke="#E63327" stroke-width=".8" opacity=".5"/>
379
  </g>
380
  <g class="geo-float-2" transform="translate(820,300)">
381
- <polygon points="0,-28 24,14 -24,14" fill="none" stroke="#F5F5F0" stroke-width=".6" opacity=".3"/>
382
  </g>
383
  <g class="geo-float-3" transform="translate(700,750)">
384
- <polygon points="0,-18 16,9 -16,9" fill="none" stroke="#E63327" stroke-width=".7" opacity=".4"/>
 
 
 
 
 
 
385
  </g>
386
 
387
  <!-- Floating circles -->
388
  <g class="geo-float-2" transform="translate(100,650)">
389
- <circle cx="0" cy="0" r="18" stroke-width=".6" opacity=".25"/>
390
  </g>
391
  <g class="geo-float-1" transform="translate(880,150)">
392
- <circle cx="0" cy="0" r="12" stroke-width=".6" opacity=".2"/>
 
 
 
393
  </g>
394
 
395
- <!-- Constellation nodes -->
396
- <line x1="150" y1="120" x2="400" y2="200" stroke-width=".3" opacity=".15" stroke="#E63327"/>
397
- <line x1="400" y1="200" x2="600" y2="150" stroke-width=".3" opacity=".1" stroke="#F5F5F0"/>
398
- <line x1="600" y1="150" x2="820" y2="300" stroke-width=".3" opacity=".12" stroke="#E63327"/>
399
- <line x1="820" y1="300" x2="700" y2="750" stroke-width=".3" opacity=".08" stroke="#F5F5F0"/>
 
 
400
 
401
- <circle class="node" cx="400" cy="200"><animate attributeName="r" values="2;3.5;2" dur="4s" repeatCount="indefinite"/></circle>
402
- <circle class="node" cx="600" cy="150"><animate attributeName="r" values="1.5;3;1.5" dur="5s" repeatCount="indefinite"/></circle>
403
- <circle class="node" cx="200" cy="600"><animate attributeName="r" values="2;4;2" dur="3.5s" repeatCount="indefinite"/></circle>
404
- <circle class="node" cx="750" cy="500"><animate attributeName="r" values="1.5;3;1.5" dur="4.5s" repeatCount="indefinite"/></circle>
 
 
405
 
406
  <!-- Scan line -->
407
- <rect class="scan-line" x="0" y="0" width="1000" height="1" fill="url(#scanGrad)"/>
408
  <defs>
409
  <linearGradient id="scanGrad" x1="0%" y1="0%" x2="100%" y2="0%">
410
  <stop offset="0%" stop-color="#E63327" stop-opacity="0"/>
411
- <stop offset="50%" stop-color="#E63327" stop-opacity=".4"/>
412
  <stop offset="100%" stop-color="#E63327" stop-opacity="0"/>
413
  </linearGradient>
414
  </defs>
@@ -442,10 +457,10 @@
442
  <!-- Results -->
443
  <div id="results" class="results">
444
  <div class="empty-state">
445
- <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
446
- <circle cx="24" cy="24" r="22" stroke="#F5F5F0" stroke-width="1"/>
447
- <line x1="12" y1="24" x2="36" y2="24" stroke="#E63327" stroke-width="1"/>
448
- <line x1="24" y1="12" x2="24" y2="36" stroke="#E63327" stroke-width="1"/>
449
  </svg>
450
  <h3>VECTOR SEARCH</h3>
451
  <p>Cross-lingual semantic retrieval over SciFact scientific abstracts. Type a query or select a language sample above.</p>
 
32
 
33
  /* ── SVG Vector Background ── */
34
  .vector-bg {
35
+ position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .18;
36
  }
37
  .vector-bg line {
38
  stroke: var(--white);
39
+ stroke-width: 1.2;
40
  }
41
  .vector-bg circle {
42
  fill: none;
43
  stroke: var(--white);
44
+ stroke-width: 1.2;
45
  }
46
  .vector-bg .node {
47
  fill: var(--red);
48
+ opacity: 1;
49
  }
50
 
51
  /* Grid pulse */
52
  @keyframes gridFade {
53
+ 0%, 100% { opacity: .15; }
54
+ 50% { opacity: .35; }
55
  }
56
  .grid-line { animation: gridFade 6s ease-in-out infinite; }
57
  .grid-line:nth-child(odd) { animation-delay: -3s; }
 
87
  /* ── Header ── */
88
  .header {
89
  margin-bottom: 48px;
90
+ border-bottom: 2px solid var(--white);
91
  padding-bottom: 32px;
92
  }
93
  .header-top {
 
129
  .search-row {
130
  display: flex;
131
  gap: 0;
132
+ border: 2px solid var(--white);
133
  transition: border-color .2s;
134
  }
135
  .search-row:focus-within {
 
170
  margin-top: 16px;
171
  }
172
  .chip {
173
+ padding: 7px 14px;
174
+ border: 1.5px solid var(--gray-5);
175
  background: transparent;
176
  font-family: 'JetBrains Mono', monospace;
177
  font-size: .7rem;
178
+ color: var(--gray-5);
179
  cursor: pointer;
180
  transition: all .15s;
181
  letter-spacing: .5px;
182
  }
183
  .chip:hover {
184
  border-color: var(--red);
185
+ background: var(--red);
186
  color: var(--white);
187
  }
188
+ .chip:hover .lang { color: var(--white); }
189
  .chip .lang {
190
  color: var(--red);
191
  font-weight: 600;
 
196
  .results { display: flex; flex-direction: column; gap: 0; }
197
 
198
  .result-card {
199
+ border-top: 2px solid var(--white);
200
  padding: 24px 0;
201
  display: grid;
202
  grid-template-columns: 48px 1fr;
 
205
  transform: translateY(12px);
206
  animation: cardIn .4s ease forwards;
207
  }
208
+ .result-card:last-child { border-bottom: 2px solid var(--white); }
209
 
210
  @keyframes cardIn {
211
  to { opacity: 1; transform: translateY(0); }
 
224
  line-height: 1;
225
  }
226
  .rank-line {
227
+ width: 2px;
228
  flex: 1;
229
+ background: var(--white);
230
  margin-top: 8px;
231
  min-height: 20px;
232
  }
 
249
  }
250
  .score-track {
251
  flex: 1;
252
+ height: 3px;
253
+ background: rgba(245,245,240,.15);
254
  position: relative;
255
  overflow: hidden;
256
  }
 
282
  .empty-state {
283
  padding: 64px 20px;
284
  text-align: center;
285
+ border-top: 2px solid var(--white);
286
+ border-bottom: 2px solid var(--white);
287
  }
288
  .empty-state svg {
289
  margin-bottom: 24px;
 
307
 
308
  /* ── Skeleton ── */
309
  .skeleton-card {
310
+ border-top: 2px solid var(--white);
311
  padding: 24px 0;
312
  display: grid;
313
  grid-template-columns: 48px 1fr;
314
  gap: 0 20px;
315
  animation: pulse 1.5s ease-in-out infinite;
316
  }
317
+ .skeleton-card:last-child { border-bottom: 2px solid var(--white); }
318
  .skel-rank {
319
  width: 24px; height: 32px;
320
  background: var(--gray-2);
 
333
  .footer {
334
  margin-top: 48px;
335
  padding-top: 24px;
336
+ border-top: 2px solid var(--white);
337
  display: flex;
338
  justify-content: space-between;
339
  align-items: center;
 
377
 
378
  <!-- Floating triangles -->
379
  <g class="geo-float-1" transform="translate(150,120)">
380
+ <polygon points="0,-35 30,18 -30,18" fill="none" stroke="#E63327" stroke-width="2" opacity=".7"/>
381
  </g>
382
  <g class="geo-float-2" transform="translate(820,300)">
383
+ <polygon points="0,-45 39,23 -39,23" fill="none" stroke="#F5F5F0" stroke-width="1.5" opacity=".5"/>
384
  </g>
385
  <g class="geo-float-3" transform="translate(700,750)">
386
+ <polygon points="0,-30 26,15 -26,15" fill="none" stroke="#E63327" stroke-width="1.8" opacity=".6"/>
387
+ </g>
388
+ <g class="geo-float-1" transform="translate(50,400)">
389
+ <rect x="-18" y="-18" width="36" height="36" fill="none" stroke="#F5F5F0" stroke-width="1.5" opacity=".35"/>
390
+ </g>
391
+ <g class="geo-float-3" transform="translate(950,550)">
392
+ <polygon points="0,-22 21,0 0,22 -21,0" fill="none" stroke="#E63327" stroke-width="1.5" opacity=".45"/>
393
  </g>
394
 
395
  <!-- Floating circles -->
396
  <g class="geo-float-2" transform="translate(100,650)">
397
+ <circle cx="0" cy="0" r="30" stroke-width="1.5" opacity=".4"/>
398
  </g>
399
  <g class="geo-float-1" transform="translate(880,150)">
400
+ <circle cx="0" cy="0" r="22" stroke-width="1.5" opacity=".35"/>
401
+ </g>
402
+ <g class="geo-float-3" transform="translate(500,850)">
403
+ <circle cx="0" cy="0" r="16" stroke-width="1.2" opacity=".3"/>
404
  </g>
405
 
406
+ <!-- Constellation lines -->
407
+ <line x1="150" y1="120" x2="400" y2="200" stroke-width="1" opacity=".25" stroke="#E63327"/>
408
+ <line x1="400" y1="200" x2="600" y2="150" stroke-width=".8" opacity=".2" stroke="#F5F5F0"/>
409
+ <line x1="600" y1="150" x2="820" y2="300" stroke-width="1" opacity=".25" stroke="#E63327"/>
410
+ <line x1="820" y1="300" x2="700" y2="750" stroke-width=".8" opacity=".15" stroke="#F5F5F0"/>
411
+ <line x1="100" y1="650" x2="150" y2="120" stroke-width=".8" opacity=".15" stroke="#F5F5F0"/>
412
+ <line x1="700" y1="750" x2="500" y2="850" stroke-width=".8" opacity=".2" stroke="#E63327"/>
413
 
414
+ <!-- Constellation nodes -->
415
+ <circle class="node" cx="400" cy="200"><animate attributeName="r" values="3;6;3" dur="4s" repeatCount="indefinite"/></circle>
416
+ <circle class="node" cx="600" cy="150"><animate attributeName="r" values="2.5;5;2.5" dur="5s" repeatCount="indefinite"/></circle>
417
+ <circle class="node" cx="200" cy="600"><animate attributeName="r" values="3;6.5;3" dur="3.5s" repeatCount="indefinite"/></circle>
418
+ <circle class="node" cx="750" cy="500"><animate attributeName="r" values="2.5;5;2.5" dur="4.5s" repeatCount="indefinite"/></circle>
419
+ <circle class="node" cx="500" cy="850"><animate attributeName="r" values="2;4.5;2" dur="3.8s" repeatCount="indefinite"/></circle>
420
 
421
  <!-- Scan line -->
422
+ <rect class="scan-line" x="0" y="0" width="1000" height="2" fill="url(#scanGrad)"/>
423
  <defs>
424
  <linearGradient id="scanGrad" x1="0%" y1="0%" x2="100%" y2="0%">
425
  <stop offset="0%" stop-color="#E63327" stop-opacity="0"/>
426
+ <stop offset="50%" stop-color="#E63327" stop-opacity=".7"/>
427
  <stop offset="100%" stop-color="#E63327" stop-opacity="0"/>
428
  </linearGradient>
429
  </defs>
 
457
  <!-- Results -->
458
  <div id="results" class="results">
459
  <div class="empty-state">
460
+ <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
461
+ <circle cx="28" cy="28" r="26" stroke="#F5F5F0" stroke-width="2"/>
462
+ <line x1="14" y1="28" x2="42" y2="28" stroke="#E63327" stroke-width="2"/>
463
+ <line x1="28" y1="14" x2="28" y2="42" stroke="#E63327" stroke-width="2"/>
464
  </svg>
465
  <h3>VECTOR SEARCH</h3>
466
  <p>Cross-lingual semantic retrieval over SciFact scientific abstracts. Type a query or select a language sample above.</p>