Diff -- /var/www/vhosts/3dshawn.com/shop.3dshawn.com/TEMPLATES/store_layouts/newsstand.html
Diff
/var/www/vhosts/3dshawn.com/shop.3dshawn.com/TEMPLATES/store_layouts/newsstand.html
added on local at 2026-07-01 22:10:04
Added
+72
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to c674b998fb17
to c674b998fb17
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.| 1 | <!-- ===================================================================== | |
| 2 | LAYOUT: Newsstand | |
| 3 | Newspaper columns with headlines, bylines, pull quotes. | |
| 4 | ===================================================================== --> | |
| 5 | ||
| 6 | <style> | |
| 7 | :root { $theme_css_vars } | |
| 8 | .ns-page { max-width:1300px; margin:0 auto; padding:32px; font-family:var(--font-display); } | |
| 9 | .ns-mast { text-align:center; padding:24px 0;border-bottom:4px double var(--col-text); margin-bottom:24px; } | |
| 10 | .ns-mast h1 { font-size:clamp(48px,6vw,80px); font-weight:900; letter-spacing:-0.04em; margin:0; color:var(--col-text); line-height:1; } | |
| 11 | .ns-mast .dateline { font-family:var(--font-mono,monospace); font-size:11px; letter-spacing:3px; text-transform:uppercase; color:var(--col-text-3); margin-top:10px; } | |
| 12 | .ns-cols { column-count:3; column-gap:36px; column-rule:1px solid var(--col-border); font-family:Georgia,serif; } | |
| 13 | @media (max-width:900px) { .ns-cols { column-count:2; } } | |
| 14 | @media (max-width:600px) { .ns-cols { column-count:1; } } | |
| 15 | .ns-article { break-inside: avoid; margin-bottom:32px; display:block; text-decoration:none; } | |
| 16 | .ns-article img { width:100%; height:auto; display:block; margin-bottom:8px; border:1px solid var(--col-border); } | |
| 17 | .ns-headline { font-family:var(--font-display); font-size:22px; font-weight:800; line-height:1.15; color:var(--col-text); letter-spacing:-0.01em; margin:0 0 4px; } | |
| 18 | .ns-byline { font-family:var(--font-mono,monospace); font-size:10px; letter-spacing:1.5px; text-transform:uppercase; color:var(--col-accent-bright); font-weight:600; margin-bottom:8px; } | |
| 19 | .ns-lede { font-size:13px; line-height:1.6; color:var(--col-text-2); margin:0 0 6px; } | |
| 20 | .ns-price { font-family:var(--font-display); font-size:18px; font-weight:800; color:var(--col-accent-bright); } | |
| 21 | </style> | |
| 22 | ||
| 23 | [if:$preview_banner]<div style="position:sticky;top:0;z-index:9999;background:#0a0e1c;border-bottom:1px solid rgba(59,130,246,0.40);box-shadow:0 4px 16px rgba(0,0,0,0.55);padding:10px 20px;text-align:center;font-size:13px;color:#93c5fd;font-weight:600">$preview_banner</div>[/if] | |
| 24 | ||
| 25 | <header style="background:var(--col-bg);padding:14px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--col-border);font-family:var(--font-mono,monospace);font-size:11px;letter-spacing:2px;text-transform:uppercase;flex-wrap:wrap"> | |
| 26 | <a href="/store.cgi?id=$store_id" style="color:var(--col-text-2);text-decoration:none;flex-shrink:0">← The $store_name Times</a> | |
| 27 | <nav style="display:flex;gap:18px;align-items:center;flex-wrap:wrap"> | |
| 28 | [loop:@nav_pages]<a href="$loop1.href" style="font-size:13px;color:var(--col-text-2);font-weight:600;text-decoration:none">$loop1.title</a>[/loop] | |
| 29 | </nav> | |
| 30 | <div style="flex:1;display:flex;justify-content:center;min-width:0">$store_search_form</div> | |
| 31 | <div style="display:inline-flex;gap:8px;align-items:center;margin-left:8px">$store_signin_link $store_cart_link</div> | |
| 32 | </header> | |
| 33 | ||
| 34 | [if:$is_specific_page] | |
| 35 | [if:$page_not_found]<section class="ns-page"><h1 class="ns-headline" style="font-size:48px">404 · story not filed.</h1></section>[/if] | |
| 36 | [if:!$page_not_found]<section class="ns-page"><div class="ns-byline">§ $page_slug</div><h1 class="ns-headline" style="font-size:42px">$page_title</h1><div class="ns-lede" style="white-space:pre-wrap;font-size:15px;column-count:2;column-gap:32px">$page_body</div></section>[/if] | |
| 37 | [/if] | |
| 38 | ||
| 39 | [if:!$is_specific_page] | |
| 40 | <div class="ns-page"> | |
| 41 | ||
| 42 | <div class="ns-mast"> | |
| 43 | <div style="font-family:var(--font-mono,monospace);font-size:11px;letter-spacing:4px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700;margin-bottom:6px">Vol. I · Edition $product_count</div> | |
| 44 | <h1>$store_name</h1> | |
| 45 | <div class="dateline">"$store_tagline"</div> | |
| 46 | </div> | |
| 47 | ||
| 48 | <section id="shop" class="ns-cols"> | |
| 49 | [loop:@products] | |
| 50 | <a href="/listing_details.cgi?id=$loop1.id" class="ns-article"> | |
| 51 | <img src="$loop1.hero_image" alt="$loop1.title"> | |
| 52 | <div class="ns-byline">By the studio · report $loop1.id</div> | |
| 53 | <h2 class="ns-headline">$loop1.title</h2> | |
| 54 | <p class="ns-lede">A new release from the studio. $loop1.rating_n early notes from the desk.</p> | |
| 55 | <span class="ns-price">$loop1.price</span> | |
| 56 | </a> | |
| 57 | [/loop] | |
| 58 | $pagination_html | |
| 59 | </section> | |
| 60 | ||
| 61 | <section id="about" style="margin-top:48px;padding:32px;background:var(--col-bg-2);border-top:4px double var(--col-text);border-bottom:4px double var(--col-text);font-family:Georgia,serif"> | |
| 62 | <div class="ns-byline">§ Editorial</div> | |
| 63 | <h2 class="ns-headline" style="font-size:32px;margin-bottom:14px">From the desk.</h2> | |
| 64 | <p class="ns-lede" style="font-size:15px;column-count:2;column-gap:32px">$store_about</p> | |
| 65 | </section> | |
| 66 | ||
| 67 | </div> | |
| 68 | [/if] | |
| 69 | ||
| 70 | <footer style="border-top:1px solid var(--col-border);padding:18px 32px;text-align:center;font-family:var(--font-mono,monospace);font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--col-text-3)"> | |
| 71 | $store_name Times · powered by shop.3dshawn.com | |
| 72 | </footer> |