Spaces:
Running
Running
Hero: vertically center the ledger + add caption (fix top-floating with one donation)
Browse files- index.html +16 -9
index.html
CHANGED
|
@@ -142,8 +142,12 @@
|
|
| 142 |
.oss-pledge .oss-ic{color:var(--leaf);flex:none;font-size:12px;margin-top:3px}
|
| 143 |
|
| 144 |
/* ---------- hero ledger ---------- */
|
| 145 |
-
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:
|
| 146 |
-
@media(max-width:860px){.hero-grid{grid-template-columns:1fr;gap:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 147 |
.ledger{
|
| 148 |
background:linear-gradient(180deg,var(--panel),var(--surface));
|
| 149 |
border:1px solid var(--panel-edge);border-radius:14px;
|
|
@@ -340,14 +344,17 @@
|
|
| 340 |
</div>
|
| 341 |
</div>
|
| 342 |
|
| 343 |
-
<div class="
|
| 344 |
-
<div class="ledger-
|
| 345 |
-
<
|
| 346 |
-
|
| 347 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 348 |
</div>
|
| 349 |
-
<div
|
| 350 |
-
<div class="ledger-foot"><span>append-only</span><span>live from the dataset</span></div>
|
| 351 |
</div>
|
| 352 |
</div>
|
| 353 |
</div>
|
|
|
|
| 142 |
.oss-pledge .oss-ic{color:var(--leaf);flex:none;font-size:12px;margin-top:3px}
|
| 143 |
|
| 144 |
/* ---------- hero ledger ---------- */
|
| 145 |
+
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center}
|
| 146 |
+
@media(max-width:860px){.hero-grid{grid-template-columns:1fr;gap:32px;align-items:start}}
|
| 147 |
+
.hero-aside{display:flex;flex-direction:column;gap:16px}
|
| 148 |
+
.ledger-caption{font-family:var(--mono);font-size:12.5px;line-height:1.55;color:var(--paper-dim);
|
| 149 |
+
display:flex;gap:10px;align-items:flex-start;padding:0 4px}
|
| 150 |
+
.ledger-caption .lc-mark{color:var(--leaf);flex:none}
|
| 151 |
.ledger{
|
| 152 |
background:linear-gradient(180deg,var(--panel),var(--surface));
|
| 153 |
border:1px solid var(--panel-edge);border-radius:14px;
|
|
|
|
| 344 |
</div>
|
| 345 |
</div>
|
| 346 |
|
| 347 |
+
<div class="hero-aside">
|
| 348 |
+
<div class="ledger" aria-label="Recent donations to the commons">
|
| 349 |
+
<div class="ledger-head">
|
| 350 |
+
<span class="dot"></span><span class="dot"></span><span class="dot"></span>
|
| 351 |
+
<span class="ttl">commons.ledger</span>
|
| 352 |
+
<span class="live">latest</span>
|
| 353 |
+
</div>
|
| 354 |
+
<div id="ledgerRows"></div>
|
| 355 |
+
<div class="ledger-foot"><span>append-only</span><span>live from the dataset</span></div>
|
| 356 |
</div>
|
| 357 |
+
<div class="ledger-caption"><span class="lc-mark">↳</span><span>Every donation lands as a pull request a maintainer reviews, then becomes one public row anyone can train on.</span></div>
|
|
|
|
| 358 |
</div>
|
| 359 |
</div>
|
| 360 |
</div>
|