|
| 1 | +/* |
| 2 | + AUTO-GENERATED - DO NOT EDIT THIS FILE. |
| 3 | + It is regenerated by the comic-strip-site skill (build_site.py) and your |
| 4 | + edits here will be overwritten on the next build. |
| 5 | + |
| 6 | + How to make changes: |
| 7 | + - WORDS (titles, subtitle, CTA, footer, captions, character dialogue, |
| 8 | + terminal commands, chapter list): edit visual-quickstart/content.yaml |
| 9 | + - STYLES (CSS): edit the CSS block in build_site.py |
| 10 | + - HTML STRUCTURE / layout: edit the page templates in build_site.py |
| 11 | + (index_page / chapter_page / banner / nav / panel) |
| 12 | + |
| 13 | + Then rebuild: npm run build:comic |
| 14 | +*/ |
1 | 15 | :root{ |
2 | 16 | --ink:#1f2937; --cream:#fdf3df; --card:#fce9c7; --teal:#0f8a8a; --orange:#e8702a; |
3 | 17 | --shadow:0 14px 34px rgba(31,41,55,.16); |
4 | 18 | } |
5 | 19 | *{box-sizing:border-box} |
6 | 20 | body{margin:0;font-family:'Poppins',Verdana,Segoe UI,sans-serif;color:var(--ink); |
7 | | - background:radial-gradient(1200px 600px at 50% -10%,#fff6e3 0%,var(--cream) 55%) ,var(--cream); |
| 21 | + background:#ffffff; |
8 | 22 | min-height:100vh} |
9 | 23 | a{color:var(--teal)} |
10 | 24 | /* chapter banner (Option 2) - full-width band, content centered */ |
11 | 25 | .banner-wrap{position:relative;width:100%;overflow:hidden;color:#fff; |
12 | 26 | background:linear-gradient(125deg,#11999e 0%,#0a6a72 52%,#0a4f63 100%); |
13 | | - box-shadow:0 18px 42px rgba(13,90,98,.30)} |
| 27 | +} |
14 | 28 | .banner-wrap::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background: |
15 | 29 | radial-gradient(600px 300px at 82% -28%,rgba(255,255,255,.16),transparent 70%), |
16 | 30 | radial-gradient(440px 280px at -3% 130%,rgba(232,112,42,.28),transparent 70%)} |
@@ -39,7 +53,7 @@ a{color:var(--teal)} |
39 | 53 | /* nav */ |
40 | 54 | .nav{display:flex;gap:12px;justify-content:center;align-items:center; |
41 | 55 | flex-wrap:wrap;padding:18px 16px;position:sticky;top:0;z-index:5; |
42 | | - background:linear-gradient(var(--cream),rgba(253,243,223,.86) 70%,rgba(253,243,223,0))} |
| 56 | + background:linear-gradient(#ffffff,rgba(255,255,255,.86) 70%,rgba(255,255,255,0))} |
43 | 57 | .nav-btn,.nav-home{display:inline-block;text-decoration:none;font-weight:600; |
44 | 58 | padding:11px 20px;border-radius:999px} |
45 | 59 | .nav-btn{background:var(--teal);color:#fff;box-shadow:0 6px 16px rgba(15,138,138,.32)} |
@@ -78,6 +92,9 @@ body.home{display:flex;flex-direction:column;min-height:100vh} |
78 | 92 | display:flex;flex-direction:column} |
79 | 93 | .home-intro{margin:6px 0 0} |
80 | 94 | .home-intro .cap{text-align:center;padding-left:0;font-size:1.12rem} |
| 95 | +.intro-cta{position:absolute;left:50%;bottom:30px;transform:translateX(-50%);z-index:3} |
| 96 | +.intro-cta .cta{border:3px solid #fff;box-shadow:0 10px 24px rgba(0,0,0,.40)} |
| 97 | +.intro-cta .cta:hover{transform:translateY(-2px)} |
81 | 98 | .cta{display:inline-block;background:var(--orange);color:#fff;text-decoration:none; |
82 | 99 | font-weight:700;font-size:1.12rem;padding:14px 30px;border-radius:999px; |
83 | 100 | box-shadow:0 10px 22px rgba(232,112,42,.4)} |
|
0 commit comments