pngwn HF Staff commited on
Commit
16356ae
·
verified ·
1 Parent(s): 1044d33

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +65 -29
README.md CHANGED
@@ -6,7 +6,6 @@ colorTo: indigo
6
  sdk: static
7
  pinned: false
8
  ---
9
-
10
  <style>
11
  /* ---------- scoped to .bsh so it can't leak into the README around it ---------- */
12
  .bsh {
@@ -23,6 +22,12 @@ pinned: false
23
  --mush: #b8553a;
24
  --line: #8a6a48;
25
 
 
 
 
 
 
 
26
  max-width: 1000px;
27
  margin: 0 auto;
28
  padding: 0;
@@ -46,11 +51,12 @@ inset 0 0 0 9px var(--copper),
46
  overflow: hidden;
47
  }
48
  .bsh * { box-sizing: border-box; }
49
- .bsh .pad { padding: 36px 44px; }
50
 
51
  /* ---------- type ---------- */
52
  .bsh h1, .bsh h2, .bsh h3 { font-family: Georgia, "Iowan Old Style", serif; color: var(--bark); margin: 0; letter-spacing: -0.01em; }
53
- .bsh h1 { font-size: 56px; line-height: 0.95; font-weight: 700; }
 
54
  .bsh h2 { font-size: 28px; line-height: 1.1; font-weight: 700; }
55
  .bsh h3 { font-size: 18px; line-height: 1.2; font-weight: 700; }
56
  .bsh p { margin: 0 0 12px 0; }
@@ -64,10 +70,11 @@ overflow: hidden;
64
  /* ---------- top strip ---------- */
65
  .bsh .strip {
66
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
67
- padding: 14px 44px;
68
  background: var(--bark);
69
  color: var(--cream);
70
  border-bottom: 1px dashed rgba(246,239,225,0.35);
 
71
  }
72
  .bsh .strip .who { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
73
  .bsh .strip .who span.caps { color: var(--sun); }
@@ -75,10 +82,10 @@ border-bottom: 1px dashed rgba(246,239,225,0.35);
75
  .bsh .strip .dates b { color: var(--sun); font-style: normal; font-weight: 700; letter-spacing: 0.02em; }
76
 
77
  /* ---------- header ---------- */
78
- .bsh .header { padding: 44px 44px 28px; position: relative; }
79
  .bsh .header::before {
80
  content: "";
81
- position: absolute; left: 44px; right: 44px; bottom: 18px; height: 1px;
82
  background: var(--walnut);
83
  box-shadow: 0 4px 0 -1px var(--cream), 0 5px 0 -1px var(--walnut);
84
  }
@@ -86,11 +93,17 @@ box-shadow: 0 4px 0 -1px var(--cream), 0 5px 0 -1px var(--walnut);
86
  .bsh .eyebrow .dingbat { font-size: 16px; opacity: 0.7; }
87
  .bsh .title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 12px; flex-wrap: wrap; }
88
  .bsh .title-row h1 em { font-style: italic; color: var(--rust); }
 
 
 
 
89
  .bsh .seal {
90
- width: 110px; height: 110px; flex-shrink: 0;
 
 
91
  border-radius: 50%;
92
  background: var(--paper);
93
- border: 2px dashed var(--walnut);
94
  box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7px var(--copper);
95
  display: flex; align-items: center; justify-content: center;
96
  color: var(--bark);
@@ -103,6 +116,7 @@ text-transform: uppercase;
103
  font-weight: 700;
104
  transform: rotate(-6deg);
105
  position: relative;
 
106
  }
107
  .bsh .seal::before {
108
  content: "✦"; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--copper);
@@ -113,7 +127,7 @@ content: "✦"; position: absolute; bottom: 8px; left: 50%; transform: translate
113
  .bsh .seal .seal-inner { padding: 0 8px; }
114
 
115
  /* ---------- section header ---------- */
116
- .bsh .section { padding: 40px 44px; border-top: 1px solid rgba(138,106,72,0.25); position: relative; }
117
  .bsh .section.no-rule { border-top: none; }
118
  .bsh .section-label {
119
  display: inline-flex; align-items: center; gap: 10px;
@@ -136,7 +150,13 @@ font-size: 17px;
136
  }
137
 
138
  /* ---------- two-track grid ---------- */
139
- .bsh .tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 18px; }
 
 
 
 
 
 
140
  .bsh .track {
141
  background: var(--paper);
142
  border: 1.5px dashed var(--walnut);
@@ -170,7 +190,11 @@ font-size: 22px; line-height: 1.15; margin-bottom: 8px; color: var(--bark);
170
  .bsh .track ul li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--copper); font-size: 12px; }
171
 
172
  /* ---------- constraints ---------- */
173
- .bsh .constraints { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
 
 
 
 
174
  .bsh .constraint {
175
  border: 1.5px solid var(--walnut);
176
  border-radius: 8px;
@@ -213,7 +237,9 @@ background-position: 0 0, 0 0;
213
  .bsh .sash::after { bottom: -1px; background: var(--copper); border-radius: 4px 4px 0 0; height: 6px; width: 80px; }
214
 
215
  .bsh .badges {
216
- display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 20px;
 
 
217
  margin-top: 8px;
218
  }
219
  .bsh .badge {
@@ -285,7 +311,11 @@ border-right: 1px dashed rgba(246,239,225,0.3);
285
  .bsh .ledger .row .body .desc { font-size: 14px; color: var(--ink); margin-top: 2px; }
286
 
287
  /* ---------- resources ---------- */
288
- .bsh .resources { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-top: 14px; }
 
 
 
 
289
  .bsh .resources a {
290
  display: flex; align-items: center; justify-content: space-between;
291
  padding: 10px 14px; border: 1px dashed var(--walnut); border-radius: 6px;
@@ -315,8 +345,13 @@ position: relative;
315
  content: ""; position: absolute; left: 43px; top: 18px; bottom: 18px;
316
  border-left: 2px dashed var(--copper);
317
  }
 
 
318
  .bsh .stop {
319
- display: grid; grid-template-columns: 76px 160px 1fr; align-items: center; gap: 14px;
 
 
 
320
  padding: 10px 6px; border-radius: 6px; position: relative;
321
  transition: background 0.15s ease;
322
  }
@@ -329,10 +364,22 @@ box-shadow: inset 0 0 0 3px var(--cream), inset 0 0 0 4px var(--copper);
329
  display: flex; align-items: center; justify-content: center;
330
  font-family: Georgia, serif; font-weight: 700; color: var(--bark); font-size: 14px;
331
  margin-left: 19px; position: relative; z-index: 1;
 
332
  }
333
  .bsh .stop:hover .pin { background: var(--sun); }
334
- .bsh .stop .when { font-style: italic; color: var(--rust); font-size: 14px; }
335
- .bsh .stop .what { color: var(--bark); }
 
 
 
 
 
 
 
 
 
 
 
336
  .bsh .stop .what b { color: var(--bark); font-weight: 700; }
337
  .bsh .stop .what .note { display: block; font-size: 13px; color: var(--ink); opacity: 0.85; }
338
 
@@ -342,12 +389,12 @@ background:
342
  repeating-linear-gradient(45deg, rgba(58,37,22,0.04) 0 6px, transparent 6px 12px),
343
  linear-gradient(180deg, #2f1f12, var(--bark));
344
  color: var(--cream);
345
- padding: 36px 44px 40px;
346
  text-align: center;
347
  border-top: 6px double var(--copper);
348
  position: relative;
349
  }
350
- .bsh .cta h2 { color: var(--cream); font-size: 38px; }
351
  .bsh .cta h2 em { color: var(--sun); font-style: italic; }
352
  .bsh .cta p { color: rgba(246,239,225,0.85); font-size: 16px; max-width: 56ch; margin: 10px auto 22px; }
353
  .bsh .cta .button {
@@ -369,17 +416,6 @@ box-shadow: 0 6px 0 rgba(0,0,0,0.3);
369
  .bsh .cta .links a { color: var(--sun); margin: 0 10px; }
370
  .bsh .cta .placeholder { display: block; margin-top: 10px; font-size: 11px; color: rgba(246,239,225,0.5); font-style: italic; letter-spacing: 0.1em; text-transform: uppercase; }
371
 
372
- /* ---------- responsive ---------- */
373
- @media (max-width: 760px) {
374
- .bsh .pad, .bsh .header, .bsh .section, .bsh .strip, .bsh .cta { padding-left: 22px; padding-right: 22px; }
375
- .bsh h1 { font-size: 40px; }
376
- .bsh .tracks, .bsh .constraints, .bsh .badges, .bsh .resources { grid-template-columns: 1fr; }
377
- .bsh .stop { grid-template-columns: 76px 1fr; }
378
- .bsh .stop .when { grid-column: 2; padding-left: 0; }
379
- .bsh .stop .what { grid-column: 2; }
380
- .bsh .seal { display: none; }
381
- }
382
-
383
  /* ---------- decorative svg dividers ---------- */
384
  .bsh .ornament-rule {
385
  display: flex; align-items: center; gap: 12px;
 
6
  sdk: static
7
  pinned: false
8
  ---
 
9
  <style>
10
  /* ---------- scoped to .bsh so it can't leak into the README around it ---------- */
11
  .bsh {
 
22
  --mush: #b8553a;
23
  --line: #8a6a48;
24
 
25
+ /* --- responsive helpers (no media queries) --- */
26
+ /* Fluid horizontal padding: 22px on narrow, up to 44px on wide */
27
+ --gutter: clamp(22px, 4.5vw, 44px);
28
+ /* 0 below 760px, 1 at and above. Used to hide the seal. */
29
+ --wide: clamp(0px, (100vw - 760px) * 9999, 1px);
30
+
31
  max-width: 1000px;
32
  margin: 0 auto;
33
  padding: 0;
 
51
  overflow: hidden;
52
  }
53
  .bsh * { box-sizing: border-box; }
54
+ .bsh .pad { padding: 36px var(--gutter); }
55
 
56
  /* ---------- type ---------- */
57
  .bsh h1, .bsh h2, .bsh h3 { font-family: Georgia, "Iowan Old Style", serif; color: var(--bark); margin: 0; letter-spacing: -0.01em; }
58
+ /* h1: fluid between 40px and 56px */
59
+ .bsh h1 { font-size: clamp(40px, 7vw, 56px); line-height: 0.95; font-weight: 700; }
60
  .bsh h2 { font-size: 28px; line-height: 1.1; font-weight: 700; }
61
  .bsh h3 { font-size: 18px; line-height: 1.2; font-weight: 700; }
62
  .bsh p { margin: 0 0 12px 0; }
 
70
  /* ---------- top strip ---------- */
71
  .bsh .strip {
72
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
73
+ padding: 14px var(--gutter);
74
  background: var(--bark);
75
  color: var(--cream);
76
  border-bottom: 1px dashed rgba(246,239,225,0.35);
77
+ flex-wrap: wrap;
78
  }
79
  .bsh .strip .who { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
80
  .bsh .strip .who span.caps { color: var(--sun); }
 
82
  .bsh .strip .dates b { color: var(--sun); font-style: normal; font-weight: 700; letter-spacing: 0.02em; }
83
 
84
  /* ---------- header ---------- */
85
+ .bsh .header { padding: 44px var(--gutter) 28px; position: relative; }
86
  .bsh .header::before {
87
  content: "";
88
+ position: absolute; left: var(--gutter); right: var(--gutter); bottom: 18px; height: 1px;
89
  background: var(--walnut);
90
  box-shadow: 0 4px 0 -1px var(--cream), 0 5px 0 -1px var(--walnut);
91
  }
 
93
  .bsh .eyebrow .dingbat { font-size: 16px; opacity: 0.7; }
94
  .bsh .title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 12px; flex-wrap: wrap; }
95
  .bsh .title-row h1 em { font-style: italic; color: var(--rust); }
96
+
97
+ /* Seal: visible above 760px, collapsed to a 0×0 point below it.
98
+ width/height/border collapse together so the dashed border doesn't
99
+ leave a stray dot, and overflow:hidden clips the absolute pseudos. */
100
  .bsh .seal {
101
+ width: clamp(0px, (100vw - 760px) * 9999, 110px);
102
+ height: clamp(0px, (100vw - 760px) * 9999, 110px);
103
+ flex-shrink: 0;
104
  border-radius: 50%;
105
  background: var(--paper);
106
+ border: clamp(0px, (100vw - 760px) * 9999, 2px) dashed var(--walnut);
107
  box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7px var(--copper);
108
  display: flex; align-items: center; justify-content: center;
109
  color: var(--bark);
 
116
  font-weight: 700;
117
  transform: rotate(-6deg);
118
  position: relative;
119
+ overflow: hidden;
120
  }
121
  .bsh .seal::before {
122
  content: "✦"; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--copper);
 
127
  .bsh .seal .seal-inner { padding: 0 8px; }
128
 
129
  /* ---------- section header ---------- */
130
+ .bsh .section { padding: 40px var(--gutter); border-top: 1px solid rgba(138,106,72,0.25); position: relative; }
131
  .bsh .section.no-rule { border-top: none; }
132
  .bsh .section-label {
133
  display: inline-flex; align-items: center; gap: 10px;
 
150
  }
151
 
152
  /* ---------- two-track grid ---------- */
153
+ /* auto-fit + min(100%, threshold) collapses to 1 column when the row can't
154
+ hold two tracks at the threshold width. */
155
+ .bsh .tracks {
156
+ display: grid;
157
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
158
+ gap: 22px; margin-top: 18px;
159
+ }
160
  .bsh .track {
161
  background: var(--paper);
162
  border: 1.5px dashed var(--walnut);
 
190
  .bsh .track ul li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--copper); font-size: 12px; }
191
 
192
  /* ---------- constraints ---------- */
193
+ .bsh .constraints {
194
+ display: grid;
195
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
196
+ gap: 16px; margin-top: 18px;
197
+ }
198
  .bsh .constraint {
199
  border: 1.5px solid var(--walnut);
200
  border-radius: 8px;
 
237
  .bsh .sash::after { bottom: -1px; background: var(--copper); border-radius: 4px 4px 0 0; height: 6px; width: 80px; }
238
 
239
  .bsh .badges {
240
+ display: grid;
241
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
242
+ gap: 24px 20px;
243
  margin-top: 8px;
244
  }
245
  .bsh .badge {
 
311
  .bsh .ledger .row .body .desc { font-size: 14px; color: var(--ink); margin-top: 2px; }
312
 
313
  /* ---------- resources ---------- */
314
+ .bsh .resources {
315
+ display: grid;
316
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
317
+ gap: 10px 22px; margin-top: 14px;
318
+ }
319
  .bsh .resources a {
320
  display: flex; align-items: center; justify-content: space-between;
321
  padding: 10px 14px; border: 1px dashed var(--walnut); border-radius: 6px;
 
345
  content: ""; position: absolute; left: 43px; top: 18px; bottom: 18px;
346
  border-left: 2px dashed var(--copper);
347
  }
348
+ /* .stop: flex with the Switcher trick on .what so it wraps below pin+when
349
+ when the row is narrower than ~500px. Pin stays anchored on the trail. */
350
  .bsh .stop {
351
+ display: flex;
352
+ flex-wrap: wrap;
353
+ align-items: center;
354
+ gap: 4px 14px;
355
  padding: 10px 6px; border-radius: 6px; position: relative;
356
  transition: background 0.15s ease;
357
  }
 
364
  display: flex; align-items: center; justify-content: center;
365
  font-family: Georgia, serif; font-weight: 700; color: var(--bark); font-size: 14px;
366
  margin-left: 19px; position: relative; z-index: 1;
367
+ flex-shrink: 0;
368
  }
369
  .bsh .stop:hover .pin { background: var(--sun); }
370
+ .bsh .stop .when {
371
+ flex: 0 1 160px;
372
+ font-style: italic; color: var(--rust); font-size: 14px;
373
+ }
374
+ .bsh .stop .what {
375
+ color: var(--bark);
376
+ flex-grow: 1;
377
+ /* Switcher: when (500px - 100%) is positive (narrow) the basis
378
+ blows up and .what wraps to its own line; when negative (wide)
379
+ it clamps and .what sits inline. */
380
+ flex-basis: calc((500px - 100%) * 999);
381
+ min-width: 0;
382
+ }
383
  .bsh .stop .what b { color: var(--bark); font-weight: 700; }
384
  .bsh .stop .what .note { display: block; font-size: 13px; color: var(--ink); opacity: 0.85; }
385
 
 
389
  repeating-linear-gradient(45deg, rgba(58,37,22,0.04) 0 6px, transparent 6px 12px),
390
  linear-gradient(180deg, #2f1f12, var(--bark));
391
  color: var(--cream);
392
+ padding: 36px var(--gutter) 40px;
393
  text-align: center;
394
  border-top: 6px double var(--copper);
395
  position: relative;
396
  }
397
+ .bsh .cta h2 { color: var(--cream); font-size: clamp(28px, 5vw, 38px); }
398
  .bsh .cta h2 em { color: var(--sun); font-style: italic; }
399
  .bsh .cta p { color: rgba(246,239,225,0.85); font-size: 16px; max-width: 56ch; margin: 10px auto 22px; }
400
  .bsh .cta .button {
 
416
  .bsh .cta .links a { color: var(--sun); margin: 0 10px; }
417
  .bsh .cta .placeholder { display: block; margin-top: 10px; font-size: 11px; color: rgba(246,239,225,0.5); font-style: italic; letter-spacing: 0.1em; text-transform: uppercase; }
418
 
 
 
 
 
 
 
 
 
 
 
 
419
  /* ---------- decorative svg dividers ---------- */
420
  .bsh .ornament-rule {
421
  display: flex; align-items: center; gap: 12px;