added on WebSTLs (webstls.com) at 2026-07-01 22:26:54
| 1 | <!-- ===================================================================== | |
| 2 | LAYOUT: Vinyl | |
| 3 | Square cards like record sleeves. Album-art aesthetic. | |
| 4 | ===================================================================== --> | |
| 5 | ||
| 6 | <style> | |
| 7 | :root { $theme_css_vars } | |
| 8 | .vn-sleeve { position:relative; aspect-ratio:1; background-size:cover; background-position:center; border-radius:2px; box-shadow: 0 8px 24px rgba(0,0,0,0.5); transition: transform 0.3s; } | |
| 9 | .vn-sleeve::after { content:""; position:absolute; right:0; top:50%; width:40%; height:90%; background:#0a0a0a; border-radius:50%; transform:translate(35%, -50%); transition:transform 0.3s; box-shadow: 0 0 0 1px #333; opacity:0.0; z-index:0; } | |
| 10 | .vn-sleeve::before { content:""; position:absolute; right:0; top:50%; width:40%; height:90%; background:radial-gradient(circle, var(--col-accent) 18%, #0a0a0a 19%, #1a1a1a 50%, #0a0a0a 100%); border-radius:50%; transform:translate(35%, -50%); transition:transform 0.4s; box-shadow: 0 0 0 1px #333, inset 0 0 0 2px #1a1a1a; z-index:1; opacity:0.95; } | |
| 11 | .vn-card:hover .vn-sleeve::before { transform: translate(60%, -50%); } | |
| 12 | .vn-card { display:block; text-decoration:none; } | |
| 13 | .vn-card .meta { padding:14px 4px 0; } | |
| 14 | </style> | |
| 15 | ||
| 16 | [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] | |
| 17 | ||
| 18 | <header style="background:var(--col-bg-2);padding:18px 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--col-border);flex-wrap:wrap"> | |
| 19 | <a href="/store.cgi?id=$store_id" style="display:flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0"> | |
| 20 | <div class="brand-mark" style="background:linear-gradient(130deg, var(--col-accent), var(--col-accent-bright));border-radius:50%">$store_initials</div> | |
| 21 | <div> | |
| 22 | <div style="font-family:var(--font-display);font-size:20px;font-weight:800;color:var(--col-text);letter-spacing:-0.01em">$store_name</div> | |
| 23 | <div style="font-family:var(--font-mono,monospace);font-size:9px;letter-spacing:3px;text-transform:uppercase;color:var(--col-accent-bright)">RECORDS · CATALOG</div> | |
| 24 | </div> | |
| 25 | </a> | |
| 26 | <nav style="display:flex;gap:18px;align-items:center;flex-wrap:wrap"> | |
| 27 | [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] | |
| 28 | </nav> | |
| 29 | <div style="flex:1;display:flex;justify-content:center;min-width:0">$store_search_form</div> | |
| 30 | <div style="display:flex;gap:10px"></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 style="padding:120px 32px;text-align:center"><h1 class="hero-title" style="font-size:48px">Out of stock.</h1></section>[/if] | |
| 36 | [if:!$page_not_found]<section style="padding:60px 32px;max-width:900px;margin:0 auto"><h1 class="hero-title" style="font-size:42px">$page_title</h1><div class="text-secondary" style="font-size:16px;line-height:1.7;margin-top:18px;white-space:pre-wrap">$page_body</div></section>[/if] | |
| 37 | [/if] | |
| 38 | ||
| 39 | [if:!$is_specific_page] | |
| 40 | <!-- Featured release strip --> | |
| 41 | <section style="padding:48px 28px 16px;max-width:1300px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center"> | |
| 42 | <div> | |
| 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">Now Spinning</div> | |
| 44 | <h1 style="font-family:var(--font-display);font-size:clamp(36px,5vw,64px);font-weight:800;color:var(--col-text);line-height:1.05;letter-spacing:-0.03em;margin:8px 0 14px">$store_name</h1> | |
| 45 | <p style="font-size:15px;color:var(--col-text-2);line-height:1.65;margin:0 0 24px">$store_tagline</p> | |
| 46 | <div style="display:flex;gap:14px;font-family:var(--font-mono,monospace);font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:var(--col-text-3)"> | |
| 47 | <span>$product_count releases</span> | |
| 48 | <span>·</span> | |
| 49 | <span style="color:var(--col-accent-bright)">A-side</span> | |
| 50 | </div> | |
| 51 | </div> | |
| 52 | <div class="vn-card"> | |
| 53 | <div class="vn-sleeve" style="background-image:url('/assets/images/[$featured_product.image_idx].webp')"></div> | |
| 54 | </div> | |
| 55 | </section> | |
| 56 | ||
| 57 | <section id="shop" style="padding:32px 28px;max-width:1400px;margin:0 auto"> | |
| 58 | <div style="font-family:var(--font-mono,monospace);font-size:11px;letter-spacing:3px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700;margin-bottom:18px;border-bottom:1px solid var(--col-border);padding-bottom:8px;display:flex;justify-content:space-between"><span>// THE CATALOG</span><span style="color:var(--col-text-3)">$product_count titles</span></div> | |
| 59 | <div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:24px"> | |
| 60 | [loop:@products] | |
| 61 | <a href="/listing_details.cgi?id=$loop1.id" class="vn-card"> | |
| 62 | <div class="vn-sleeve" style="background-image:url('$loop1.hero_image')"></div> | |
| 63 | <div class="meta"> | |
| 64 | <div style="font-family:var(--font-mono,monospace);font-size:9px;letter-spacing:1.5px;text-transform:uppercase;color:var(--col-accent-bright);font-weight:700">Side A · #$loop1.id</div> | |
| 65 | <div style="font-family:var(--font-display);font-size:15px;font-weight:800;color:var(--col-text);margin-top:4px;letter-spacing:-0.01em">$loop1.title</div> | |
| 66 | <div style="display:flex;justify-content:space-between;margin-top:8px;font-family:var(--font-mono,monospace);font-size:11px"><span style="color:var(--col-accent-bright);font-weight:700">$loop1.price</span><span style="color:var(--col-text-3)">$loop1.rating_n plays</span></div> | |
| 67 | </div> | |
| 68 | </a> | |
| 69 | [/loop] | |
| 70 | $pagination_html | |
| 71 | </div> | |
| 72 | </section> | |
| 73 | ||
| 74 | <section id="about" style="background:var(--col-bg-2);padding:48px 28px;border-top:1px solid var(--col-border)"> | |
| 75 | <div style="max-width:760px;margin:0 auto;text-align:center"><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">Liner Notes</div><h2 style="font-family:var(--font-display);font-size:32px;color:var(--col-text);font-weight:800;margin:10px 0 16px">$store_name</h2><p style="font-size:15px;color:var(--col-text-2);line-height:1.85;margin:0">$store_about</p></div> | |
| 76 | </section> | |
| 77 | [/if] | |
| 78 | ||
| 79 | <footer style="border-top:1px solid var(--col-border);padding:18px 28px;text-align:center;font-family:var(--font-mono,monospace);font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--col-text-3)">$store_name records · powered by webstls.com</footer> |