Commit 35fb24b45a
Verified · cmc
Layout: unified · split
theme/static/styles.css +148 −138
| @@ -3,254 +3,264 @@ | |||
| 3 | src: url("fonts/onest-latin.woff2") format("woff2"); | 3 | src: url("fonts/onest-latin.woff2") format("woff2"); |
| 4 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | 4 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; |
| 5 | } | 5 | } |
| 6 | /* Scales. Spacing, type, weight and radius come from the tokens below; use them rather | ||
| 7 | than literal values. Breakpoints cannot be variables, so the set is fixed here: | ||
| 8 | 560px (phone), 900px (columns stack), 1100px (home widgets go to two columns). */ | ||
| 6 | :root { | 9 | :root { |
| 7 | --bg: #f1f1ef; --fg: #1c1e24; --soft: #6a6d75; --raise: #ffffff; --rule: #dedfdb; --link: #2a5db0; --visited: #6a3a99; --focus: #2a5db0; | 10 | --bg: #f1f1ef; --fg: #1c1e24; --soft: #6a6d75; --raise: #ffffff; --rule: #dedfdb; --link: #2a5db0; --visited: #6a3a99; --focus: #2a5db0; |
| 8 | --font: "Onest", ui-sans-serif, system-ui, -apple-system, sans-serif; | 11 | --font: "Onest", ui-sans-serif, system-ui, -apple-system, sans-serif; |
| 9 | --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; | 12 | --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; |
| 10 | --wide: 1160px; --read: 42rem; --pad: clamp(1rem, 4vw, 3rem); | 13 | --wide: 1160px; --read: 42rem; --pad: clamp(1rem, 4vw, 3rem); |
| 14 | |||
| 15 | --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; | ||
| 16 | --s-section: clamp(3rem, 7vw, 5rem); --s-gutter: clamp(2rem, 5vw, 5rem); --s-top: clamp(2rem, 6vw, 4rem); | ||
| 17 | --hit: .6rem; | ||
| 18 | |||
| 19 | --t-2xs: .7rem; --t-xs: .8rem; --t-sm: .9rem; --t-base: 1.0625rem; --t-md: 1.2rem; --t-lg: 1.5rem; | ||
| 20 | --t-feature: clamp(1.6rem, 2.8vw, 2.2rem); --t-title: clamp(2rem, 4.5vw, 3rem); --t-display: clamp(2.4rem, 5vw, 4.2rem); | ||
| 21 | |||
| 22 | --w-regular: 400; --w-medium: 500; --w-semi: 600; --w-heading: 650; --w-bold: 700; | ||
| 23 | |||
| 24 | --r-xs: 6px; --r-sm: 16px; --r-md: 20px; --r-lg: 30px; --r-icon: 22%; --r-pill: 999px; --r-device: 54px; | ||
| 25 | --ease-out: cubic-bezier(.2, .7, .2, 1); | ||
| 11 | } | 26 | } |
| 12 | @media (prefers-color-scheme: dark) { | 27 | @media (prefers-color-scheme: dark) { |
| 13 | :root { --bg: #111317; --fg: #ebebe6; --soft: #9a9da4; --raise: #1b1d23; --rule: #2a2c33; --link: #8db6f2; --visited: #c79bf2; --focus: #8db6f2; } | 28 | :root { --bg: #111317; --fg: #ebebe6; --soft: #9a9da4; --raise: #1b1d23; --rule: #2a2c33; --link: #8db6f2; --visited: #c79bf2; --focus: #8db6f2; } |
| 14 | } | 29 | } |
| 15 | * { box-sizing: border-box; } | 30 | * { box-sizing: border-box; } |
| 16 | html { -webkit-text-size-adjust: 100%; color-scheme: light dark; } | 31 | html { -webkit-text-size-adjust: 100%; color-scheme: light dark; } |
| 17 | body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; } | 32 | body { margin: 0; background: var(--bg); color: var(--fg); font: var(--w-regular) var(--t-base)/1.65 var(--font); -webkit-font-smoothing: antialiased; } |
| 18 | a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; } | 33 | a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; } |
| 19 | :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; } | 34 | :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; } |
| 20 | .band, .screen, .w-audit, .w-hosted { --focus: #ffffff; } | 35 | .band, .screen, .w-audit, .w-hosted { --focus: #ffffff; } |
| 21 | article a:visited { color: var(--visited); } | 36 | article a:visited { color: var(--visited); } |
| 22 | img { max-width: 100%; height: auto; } | 37 | img { max-width: 100%; height: auto; } |
| 23 | .skip-link { position: absolute; left: -999px; } | 38 | .skip-link { position: absolute; left: -999px; } |
| 24 | .skip-link:focus { left: 1rem; top: 1rem; background: var(--raise); padding: .5rem 1rem; border-radius: 8px; z-index: 5; } | 39 | .skip-link:focus { left: var(--s-4); top: var(--s-4); background: var(--raise); padding: var(--s-2) var(--s-4); border-radius: var(--r-xs); z-index: 5; } |
| 25 | 40 | ||
| 26 | /* Header and footer */ | 41 | /* Header and footer */ |
| 27 | header.site, footer.site { max-width: var(--wide); margin: 0 auto; padding: 1.5rem var(--pad); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; } | 42 | header.site, footer.site { max-width: var(--wide); margin: 0 auto; padding: var(--s-5) var(--pad); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-2) var(--s-5); } |
| 28 | header.site .mark { display: inline-block; padding: .55rem 0; color: var(--fg); font-weight: 650; text-decoration: none; } | 43 | header.site .mark { display: inline-block; padding: var(--hit) 0; color: var(--fg); font-weight: var(--w-heading); text-decoration: none; } |
| 29 | header.site ul, footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; } | 44 | header.site ul, footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); } |
| 30 | header.site nav a { display: inline-block; padding: .55rem 0; color: var(--soft); text-decoration: none; } | 45 | header.site nav a { display: inline-block; padding: var(--hit) 0; color: var(--soft); text-decoration: none; } |
| 31 | header.site nav a:hover, header.site nav a[aria-current] { color: var(--fg); } | 46 | header.site nav a:hover, header.site nav a[aria-current] { color: var(--fg); } |
| 32 | header.site nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; } | 47 | header.site nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; } |
| 33 | footer.site { background: linear-gradient(var(--rule), var(--rule)) center top / calc(100% - 2 * var(--pad)) 1px no-repeat; margin-top: clamp(3rem, 7vw, 5rem); padding-bottom: 3rem; color: var(--soft); font-size: .95rem; } | 48 | footer.site { background: linear-gradient(var(--rule), var(--rule)) center top / calc(100% - 2 * var(--pad)) 1px no-repeat; margin-top: var(--s-section); padding-bottom: var(--s-7); color: var(--soft); font-size: var(--t-sm); } |
| 34 | footer.site a { display: inline-block; padding: .55rem 0; color: var(--soft); } | 49 | footer.site a { display: inline-block; padding: var(--hit) 0; color: var(--soft); } |
| 35 | footer.site a:hover { color: var(--fg); } | 50 | footer.site a:hover { color: var(--fg); } |
| 36 | footer.site .built { margin: 0; } | 51 | footer.site .built { margin: 0; } |
| 37 | 52 | ||
| 38 | /* Reading pages */ | 53 | /* Reading pages */ |
| 39 | .page { max-width: calc(var(--read) + 2 * var(--pad)); margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) var(--pad) 0; } | 54 | .page { max-width: calc(var(--read) + 2 * var(--pad)); margin: 0 auto; padding: var(--s-top) var(--pad) 0; } |
| 40 | h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.015em; font-weight: 650; text-wrap: balance; } | 55 | h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.015em; font-weight: var(--w-heading); text-wrap: balance; } |
| 41 | .page h1 { margin: 0 0 1rem; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; letter-spacing: -.035em; } | 56 | .page h1 { margin: 0 0 var(--s-4); font-size: var(--t-title); line-height: 1.05; letter-spacing: -.035em; } |
| 42 | .page h2 { margin: 2.75rem 0 .75rem; font-size: 1.5rem; } | 57 | .page h2 { margin: var(--s-7) 0 var(--s-3); font-size: var(--t-lg); } |
| 43 | .page h3 { margin: 2rem 0 .5rem; font-size: 1.2rem; } | 58 | .page h3 { margin: var(--s-6) 0 var(--s-2); font-size: var(--t-md); } |
| 44 | .page h4 { margin: 1.5rem 0 .5rem; font-size: 1.05rem; } | 59 | .page h4 { margin: var(--s-5) 0 var(--s-2); font-size: var(--t-base); } |
| 45 | [class^="section-number"] { color: var(--soft); font-weight: 500; margin-right: .25em; font-variant-numeric: tabular-nums; } | 60 | [class^="section-number"] { color: var(--soft); font-weight: var(--w-medium); margin-right: .25em; font-variant-numeric: tabular-nums; } |
| 46 | .meta { color: var(--soft); margin: 0 0 1rem; } | 61 | .meta { color: var(--soft); margin: 0 0 var(--s-4); } |
| 47 | time { color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; } | 62 | time { color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; } |
| 48 | .page ul.tags { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .4rem; } | 63 | .page ul.tags { list-style: none; padding: 0; margin: 0 0 var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-2); } |
| 49 | ul.tags a { display: inline-block; padding: .55rem .9rem; border-radius: 999px; background: var(--raise); color: var(--fg); text-decoration: none; font-size: .9rem; } | 64 | ul.tags a { display: inline-block; padding: var(--hit) var(--s-4); border-radius: var(--r-pill); background: var(--raise); color: var(--fg); text-decoration: none; font-size: var(--t-sm); } |
| 50 | ul.tags a:hover { background: var(--fg); color: var(--bg); } | 65 | ul.tags a:hover { background: var(--fg); color: var(--bg); } |
| 51 | .page ul, .page ol { padding-left: 1.25rem; } | 66 | .page ul, .page ol { padding-left: var(--s-5); } |
| 52 | .page li { margin: .25rem 0; } | 67 | .page li { margin: var(--s-1) 0; } |
| 53 | .page li::marker { color: var(--soft); } | 68 | .page li::marker { color: var(--soft); } |
| 54 | blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--rule); color: var(--soft); } | 69 | blockquote { margin: var(--s-5) 0; padding: var(--s-1) 0 var(--s-1) var(--s-5); border-left: 3px solid var(--rule); color: var(--soft); } |
| 55 | blockquote p { margin: .5rem 0; } | 70 | blockquote p { margin: var(--s-2) 0; } |
| 56 | hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; } | 71 | hr { border: 0; border-top: 1px solid var(--rule); margin: var(--s-7) 0; } |
| 57 | figure { margin: 2rem 0; } | 72 | figure { margin: var(--s-6) 0; } |
| 58 | figure img { border-radius: 14px; display: block; } | 73 | figure img { border-radius: var(--r-sm); display: block; } |
| 59 | figcaption { color: var(--soft); font-size: .92rem; margin-top: .6rem; } | 74 | figcaption { color: var(--soft); font-size: var(--t-sm); margin-top: var(--s-3); } |
| 60 | .figure-number { font-weight: 600; } | 75 | .figure-number { font-weight: var(--w-semi); } |
| 61 | table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; font-size: .95rem; display: block; overflow-x: auto; } | 76 | table { border-collapse: collapse; width: 100%; margin: var(--s-5) 0; font-size: var(--t-sm); display: block; overflow-x: auto; } |
| 62 | th, td { padding: .5rem .75rem; text-align: left; border-bottom: 1px solid var(--rule); } | 77 | th, td { padding: var(--s-2) var(--s-3); text-align: left; border-bottom: 1px solid var(--rule); } |
| 63 | th { font-weight: 600; } | 78 | th { font-weight: var(--w-semi); } |
| 64 | 79 | ||
| 65 | /* Code */ | 80 | /* Code */ |
| 66 | code { font-family: var(--mono); font-size: .88em; background: var(--raise); padding: .1em .35em; border-radius: 6px; } | 81 | code { font-family: var(--mono); font-size: .88em; background: var(--raise); padding: .1em .35em; border-radius: var(--r-xs); } |
| 67 | pre { background: var(--raise); border-radius: 16px; padding: 1rem 1.25rem; overflow: auto; white-space: pre; font-size: .9rem; line-height: 1.55; margin: 1.5rem 0; } | 82 | pre { background: var(--raise); border-radius: var(--r-sm); padding: var(--s-4) var(--s-5); overflow: auto; white-space: pre; font-size: var(--t-sm); line-height: 1.55; margin: var(--s-5) 0; } |
| 68 | pre code, pre .code { background: none; padding: 0; font-size: inherit; border-radius: 0; } | 83 | pre code, pre .code { background: none; padding: 0; font-size: inherit; border-radius: 0; } |
| 69 | pre code { color: #323232; } | 84 | pre code { color: #323232; } |
| 70 | @media (prefers-color-scheme: dark) { pre code { color: #c0c5ce; } } | 85 | @media (prefers-color-scheme: dark) { pre code { color: #c0c5ce; } } |
| 71 | 86 | ||
| 72 | /* Table of contents, as a raised card */ | 87 | /* Table of contents, as a raised card */ |
| 73 | #table-of-contents { background: var(--raise); border-radius: 20px; padding: 1.25rem 1.5rem; margin: 0 0 2.5rem; } | 88 | #table-of-contents { background: var(--raise); border-radius: var(--r-md); padding: var(--s-5); margin: 0 0 var(--s-7); } |
| 74 | #table-of-contents h2 { margin: 0 0 .5rem; font-size: 1rem; color: var(--soft); font-weight: 500; letter-spacing: 0; } | 89 | #table-of-contents h2 { margin: 0 0 var(--s-2); font-size: var(--t-base); color: var(--soft); font-weight: var(--w-medium); letter-spacing: 0; } |
| 75 | #table-of-contents ul { list-style: none; padding-left: 0; margin: 0; } | 90 | #table-of-contents ul { list-style: none; padding-left: 0; margin: 0; } |
| 76 | #table-of-contents ul ul { padding-left: 1.25rem; } | 91 | #table-of-contents ul ul { padding-left: var(--s-5); } |
| 77 | #table-of-contents li { margin: .15rem 0; } | 92 | #table-of-contents li { margin: var(--s-1) 0; } |
| 78 | #table-of-contents a { color: var(--fg); text-decoration: none; } | 93 | #table-of-contents a { color: var(--fg); text-decoration: none; } |
| 79 | #table-of-contents a:hover { text-decoration: underline; } | 94 | #table-of-contents a:hover { text-decoration: underline; } |
| 80 | 95 | ||
| 81 | /* Org blocks: a detour post's property drawer, and #+begin_seealso */ | 96 | /* Org blocks: a detour post's property drawer, and #+begin_seealso */ |
| 82 | .detour, .seealso { background: var(--raise); border-radius: 20px; padding: 1.25rem 1.5rem; margin: 1.5rem 0 2rem; } | 97 | .detour, .seealso { background: var(--raise); border-radius: var(--r-md); padding: var(--s-5); margin: var(--s-5) 0 var(--s-6); } |
| 83 | .detour dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .35rem 1.25rem; margin: 0; } | 98 | .detour dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--s-1) var(--s-5); margin: 0; } |
| 84 | .detour dt { color: var(--soft); } | 99 | .detour dt { color: var(--soft); } |
| 85 | .detour dd { margin: 0; } | 100 | .detour dd { margin: 0; } |
| 86 | .seealso p { margin: 0; } | 101 | .seealso p { margin: 0; } |
| 87 | .project { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); color: var(--soft); } | 102 | .project { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--rule); color: var(--soft); } |
| 88 | .project i { font-style: normal; } | 103 | .project i { font-style: normal; } |
| 89 | 104 | ||
| 90 | /* Lists of posts and tags */ | 105 | /* Lists of posts and tags */ |
| 91 | .post-list, .detour-list, .tag-toc { list-style: none; padding: 0 !important; margin: 1.5rem 0 0; } | 106 | .post-list, .detour-list, .tag-toc { list-style: none; padding: 0 !important; margin: var(--s-5) 0 0; } |
| 92 | .post-list-item { display: flex; gap: 1.25rem; align-items: baseline; padding: .65rem 0; border-top: 1px solid var(--rule); margin: 0 !important; } | 107 | .post-list-item { display: flex; gap: var(--s-5); align-items: baseline; padding: var(--s-3) 0; border-top: 1px solid var(--rule); margin: 0 !important; } |
| 93 | .post-list-item time { flex: 0 0 6.5rem; font-size: .92rem; } | 108 | .post-list-item time { flex: 0 0 6.5rem; font-size: var(--t-sm); } |
| 94 | .post-list-item a { color: var(--fg); text-decoration: none; font-weight: 500; } | 109 | .post-list-item a { color: var(--fg); text-decoration: none; font-weight: var(--w-medium); } |
| 95 | .post-list-item a:hover { text-decoration: underline; } | 110 | .post-list-item a:hover { text-decoration: underline; } |
| 96 | .post-list-year { margin: 2.5rem 0 .5rem !important; font-size: 1.5rem; font-weight: 650; letter-spacing: -.02em; } | 111 | .post-list-year { margin: var(--s-7) 0 var(--s-2) !important; font-size: var(--t-lg); font-weight: var(--w-heading); letter-spacing: -.02em; } |
| 97 | .post-list-year:first-child { margin-top: 0 !important; } | 112 | .post-list-year:first-child { margin-top: 0 !important; } |
| 98 | .detour-list li { padding: .75rem 0; border-top: 1px solid var(--rule); margin: 0 !important; } | 113 | .detour-list li { padding: var(--s-3) 0; border-top: 1px solid var(--rule); margin: 0 !important; } |
| 99 | .detour-list a { color: var(--fg); font-weight: 500; text-decoration: none; } | 114 | .detour-list a { color: var(--fg); font-weight: var(--w-medium); text-decoration: none; } |
| 100 | .detour-list a:hover { text-decoration: underline; } | 115 | .detour-list a:hover { text-decoration: underline; } |
| 101 | .detour-meta { display: block; color: var(--soft); font-size: .92rem; } | 116 | .detour-meta { display: block; color: var(--soft); font-size: var(--t-sm); } |
| 102 | .tag-toc { display: flex; flex-wrap: wrap; gap: .5rem; } | 117 | .tag-toc { display: flex; flex-wrap: wrap; gap: var(--s-2); } |
| 103 | .tag-toc li { margin: 0 !important; display: flex; align-items: baseline; border-radius: 999px; background: var(--raise); } | 118 | .tag-toc li { margin: 0 !important; display: flex; align-items: baseline; border-radius: var(--r-pill); background: var(--raise); } |
| 104 | .tag-toc a { display: inline-block; padding: .55rem .25rem .55rem 1rem; border-radius: 999px; color: var(--fg); text-decoration: none; } | 119 | .tag-toc a { display: inline-block; padding: var(--hit) var(--s-1) var(--hit) var(--s-4); border-radius: var(--r-pill); color: var(--fg); text-decoration: none; } |
| 105 | .tag-toc li:hover { background: var(--fg); } | 120 | .tag-toc li:hover { background: var(--fg); } |
| 106 | .tag-toc li:hover a, .tag-toc li:hover .tag-count { color: var(--bg); } | 121 | .tag-toc li:hover a, .tag-toc li:hover .tag-count { color: var(--bg); } |
| 107 | .tag-count { color: var(--soft); font-size: .88rem; padding-right: 1rem; font-variant-numeric: tabular-nums; } | 122 | .tag-count { color: var(--soft); font-size: var(--t-sm); padding-right: var(--s-4); font-variant-numeric: tabular-nums; } |
| 108 | @media (max-width: 560px) { .post-list-item { flex-direction: column; gap: 0; } .post-list-item time { flex: none; } } | 123 | @media (max-width: 560px) { .post-list-item { flex-direction: column; gap: 0; } .post-list-item time { flex: none; } } |
| 109 | 124 | ||
| 110 | /* Home: hero with the tablet */ | 125 | /* Home: hero with the tablet */ |
| 111 | .home { padding: 0; } | 126 | .home { padding: 0; } |
| 112 | .hero { max-width: var(--wide); margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; } | 127 | .hero { max-width: var(--wide); margin: 0 auto; padding: var(--s-section) var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-gutter); align-items: center; } |
| 113 | .hero h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.035em; } | 128 | .hero h1 { margin: 0; font-size: var(--t-display); line-height: 1.02; letter-spacing: -.035em; } |
| 114 | .hero p { margin: 1.5rem 0 0; color: var(--soft); font-size: 1.15rem; max-width: 30rem; } | 129 | .hero p { margin: var(--s-5) 0 0; color: var(--soft); font-size: var(--t-md); max-width: 30rem; } |
| 115 | .hero .hint { font-size: .95rem; margin-top: 2rem; } | 130 | .hero .hint { font-size: var(--t-sm); margin-top: var(--s-6); } |
| 116 | @media (max-width: 900px) { .hero { grid-template-columns: 1fr; } } | 131 | @media (max-width: 900px) { .hero { grid-template-columns: 1fr; } } |
| 117 | .tablet { justify-self: center; width: 100%; max-width: 520px; padding: 12px; border-radius: 54px; background: var(--raise); box-shadow: 0 0 0 1px var(--rule), 0 40px 80px -30px rgba(10, 20, 40, .45); position: relative; } | 132 | .tablet { justify-self: center; width: 100%; max-width: 520px; padding: var(--s-3); border-radius: var(--r-device); background: var(--raise); box-shadow: 0 0 0 1px var(--rule), 0 40px 80px -30px rgba(10, 20, 40, .45); position: relative; } |
| 118 | .tablet::before { content: ""; position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--rule); } | 133 | .tablet::before { content: ""; position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--rule); } |
| 119 | .screen { aspect-ratio: 5 / 6; border-radius: 42px; padding: 2rem 1.5rem 1.25rem; display: flex; flex-direction: column; overflow: hidden; | 134 | .screen { aspect-ratio: 5 / 6; border-radius: calc(var(--r-device) - var(--s-3)); padding: var(--s-6) var(--s-5) var(--s-5); display: flex; flex-direction: column; overflow: hidden; |
| 120 | background: radial-gradient(60% 50% at 15% 10%, #4338ca 0, transparent 70%), radial-gradient(55% 45% at 90% 30%, #c2410c 0, transparent 70%), radial-gradient(70% 55% at 30% 95%, #5b7a2e 0, transparent 70%), radial-gradient(50% 50% at 85% 90%, #1c57bd 0, transparent 70%), #10141f; } | 135 | background: radial-gradient(60% 50% at 15% 10%, #4338ca 0, transparent 70%), radial-gradient(55% 45% at 90% 30%, #c2410c 0, transparent 70%), radial-gradient(70% 55% at 30% 95%, #5b7a2e 0, transparent 70%), radial-gradient(50% 50% at 85% 90%, #1c57bd 0, transparent 70%), #10141f; } |
| 121 | .screen .status { display: flex; justify-content: space-between; color: rgba(255, 255, 255, .85); font-size: .8rem; font-weight: 600; padding: 0 .5rem 1.5rem; } | 136 | .screen .status { display: flex; justify-content: space-between; color: rgba(255, 255, 255, .85); font-size: var(--t-xs); font-weight: var(--w-semi); padding: 0 var(--s-2) var(--s-5); } |
| 122 | .screen ul { list-style: none; margin: 0; padding: 0; } | 137 | .screen ul { list-style: none; margin: 0; padding: 0; } |
| 123 | .screen .apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem .75rem; } | 138 | .screen .apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5) var(--s-3); } |
| 124 | .screen .apps a, .screen .apps li > div { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #fff; font-size: .78rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); } | 139 | .screen .apps a, .screen .apps li > div { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #fff; font-size: var(--t-xs); text-shadow: 0 1px 2px rgba(0, 0, 0, .4); } |
| 125 | .screen .apps img, .screen .blank { width: 100%; max-width: 76px; aspect-ratio: 1; border-radius: 22%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 6px 14px -6px rgba(0, 0, 0, .6); transition: transform .25s cubic-bezier(.2, .7, .2, 1); } | 140 | .screen .apps img, .screen .blank { width: 100%; max-width: 76px; aspect-ratio: 1; border-radius: var(--r-icon); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 6px 14px -6px rgba(0, 0, 0, .6); transition: transform .25s var(--ease-out); } |
| 126 | .screen .apps a:hover img { transform: scale(1.06); } | 141 | .screen .apps a:hover img { transform: scale(1.06); } |
| 127 | .screen .apps span:not(.blank) { margin-top: .4rem; white-space: nowrap; } | 142 | .screen .apps span:not(.blank) { margin-top: var(--s-2); white-space: nowrap; } |
| 128 | .screen .blank { display: block; background: rgba(255, 255, 255, .18); border: 1px dashed rgba(255, 255, 255, .5); } | 143 | .screen .blank { display: block; background: rgba(255, 255, 255, .18); border: 1px dashed rgba(255, 255, 255, .5); } |
| 129 | .screen .dock { margin-top: auto; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 30px; padding: .9rem; display: flex; justify-content: space-around; } | 144 | .screen .dock { margin-top: auto; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: var(--r-lg); padding: var(--s-4); display: flex; justify-content: space-around; } |
| 130 | .screen .dock a { color: #fff; text-decoration: none; font-size: .78rem; display: flex; flex-direction: column; align-items: center; gap: .3rem; } | 145 | .screen .dock a { color: #fff; text-decoration: none; font-size: var(--t-xs); display: flex; flex-direction: column; align-items: center; gap: var(--s-1); } |
| 131 | .screen .dock i { width: 56px; height: 56px; border-radius: 22%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 1.2rem; color: #fff; } | 146 | .screen .dock i { width: 56px; height: 56px; border-radius: var(--r-icon); display: grid; place-items: center; font-style: normal; font-weight: var(--w-bold); font-size: var(--t-md); color: #fff; } |
| 132 | .d-blog { background: #f3efe6; color: #1c1e24 !important; } | 147 | .d-blog { background: #f3efe6; color: #1c1e24 !important; } |
| 133 | .d-garden { background: #2e6b3c; } | 148 | .d-garden { background: #2e6b3c; } |
| 134 | .d-now { background: #6a3a99; } | 149 | .d-now { background: #6a3a99; } |
| 135 | .d-uses { background: #1c1e24; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); } | 150 | .d-uses { background: #1c1e24; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); } |
| 136 | @media (max-width: 480px) { .screen { padding: 1.5rem 1rem 1rem; border-radius: 36px; } .screen .apps span { font-size: .68rem; } .screen .dock i { width: 46px; height: 46px; } } | 151 | @media (max-width: 560px) { .screen { padding: var(--s-5) var(--s-4) var(--s-4); border-radius: calc(var(--r-device) - var(--s-4)); } .screen .apps span:not(.blank) { font-size: var(--t-2xs); } .screen .dock i { width: 46px; height: 46px; } } |
| 137 | @media (prefers-reduced-motion: reduce) { .screen .apps img { transition: none; } } | 152 | @media (prefers-reduced-motion: reduce) { .screen .apps img { transition: none; } } |
| 138 | 153 | ||
| 139 | /* A band per app: the top of each app page */ | 154 | /* A band per app: the top of each app page */ |
| 140 | .band { background: color-mix(in srgb, var(--tint) 80%, #000); color: #f2f4f8; scroll-margin-top: 0; } | 155 | .band { background: color-mix(in srgb, var(--tint) 80%, #000); color: #f2f4f8; } |
| 141 | .band-in { max-width: var(--wide); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--pad); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; } | 156 | .band-in { max-width: var(--wide); margin: 0 auto; padding: var(--s-section) var(--pad); display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-gutter); align-items: center; } |
| 142 | .band.flip .band-in { grid-template-columns: 7fr 5fr; } | 157 | .band-head { display: flex; align-items: center; gap: var(--s-4); } |
| 143 | .band.flip .band-copy { order: 2; } | 158 | .band-head img { width: 64px; height: 64px; border-radius: var(--r-icon); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 6px 20px -8px rgba(0, 0, 0, .5); } |
| 144 | .band-head { display: flex; align-items: center; gap: 1rem; } | 159 | .band h1 { margin: 0; font-size: var(--t-title); letter-spacing: -.03em; } |
| 145 | .band-head img, .band-head .blank { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 6px 20px -8px rgba(0, 0, 0, .5); } | 160 | .band-tag { margin: var(--s-4) 0 0; font-size: var(--t-md); opacity: .85; } |
| 146 | .band-head .blank { display: block; border: 1px dashed rgba(255, 255, 255, .5); } | 161 | .band dl { margin: var(--s-6) 0 0; display: grid; gap: var(--s-4); } |
| 147 | .band h1, .band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; } | 162 | .band dt { font-weight: var(--w-semi); } |
| 148 | .band-tag { margin: 1rem 0 0; font-size: 1.25rem; opacity: .85; } | ||
| 149 | .band dl { margin: 2rem 0 0; display: grid; gap: 1rem; } | ||
| 150 | .band dt { font-weight: 600; } | ||
| 151 | .band dd { margin: 0; opacity: .78; } | 163 | .band dd { margin: 0; opacity: .78; } |
| 152 | .band-meta { margin: 1.75rem 0 0; font-size: .92rem; opacity: .82; } | 164 | .band-meta { margin: var(--s-6) 0 0; font-size: var(--t-sm); opacity: .82; } |
| 153 | .band-links { list-style: none; padding: 0; margin: .75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; } | 165 | .band-links { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: flex; flex-wrap: wrap; gap: var(--s-2); } |
| 154 | .band-links a { display: inline-block; padding: .45rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font-weight: 500; } | 166 | .band-links a { display: inline-block; padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font-weight: var(--w-medium); } |
| 155 | .band-links li:first-child a { background: #f2f4f8; color: var(--tint); } | 167 | .band-links li:first-child a { background: #f2f4f8; color: var(--tint); } |
| 156 | .band-links a:hover { background: rgba(255, 255, 255, .26); } | 168 | .band-links a:hover { background: rgba(255, 255, 255, .26); } |
| 157 | .band-links li:first-child a:hover { background: #fff; } | 169 | .band-links li:first-child a:hover { background: #fff; } |
| 158 | .band-shot img { display: block; width: 100%; border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); } | 170 | .band-shot img { display: block; width: 100%; border-radius: var(--r-sm); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); } |
| 159 | .band-teaser { background: repeating-linear-gradient(135deg, #2f4858 0 16px, #34505f 16px 32px); } | 171 | @media (max-width: 900px) { .band-in { grid-template-columns: 1fr; } } |
| 160 | .band-teaser .band-in { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 3rem; } | ||
| 161 | @media (max-width: 820px) { .band-in, .band.flip .band-in { grid-template-columns: 1fr; } .band.flip .band-copy { order: 0; } } | ||
| 162 | 172 | ||
| 163 | .back { margin: 0 0 1.5rem; font-size: .95rem; } | 173 | .back { margin: 0 0 var(--s-5); font-size: var(--t-sm); } |
| 164 | .back a { color: inherit; opacity: .75; text-decoration: none; } | 174 | .back a { color: inherit; opacity: .75; text-decoration: none; } |
| 165 | .back a::before { content: "\2190\00a0"; } | 175 | .back a::before { content: "\2190\00a0"; } |
| 166 | .back a:hover { opacity: 1; } | 176 | .back a:hover { opacity: 1; } |
| 167 | 177 | ||
| 168 | /* App pages: screenshots and write-up */ | 178 | /* App pages: screenshots and write-up */ |
| 169 | .app { padding: 0; } | 179 | .app { padding: 0; } |
| 170 | .shots { max-width: var(--wide); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) 0 0; } | 180 | .shots { max-width: var(--wide); margin: 0 auto; padding: var(--s-section) 0 0; } |
| 171 | .shots ul { list-style: none; margin: 0; padding: 0 var(--pad) 1rem; display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); } | 181 | .shots ul { list-style: none; margin: 0; padding: 0 var(--pad) var(--s-4); display: flex; gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); } |
| 172 | .shots li { flex: 0 0 auto; width: min(260px, 66vw); scroll-snap-align: start; } | 182 | .shots li { flex: 0 0 auto; width: min(260px, 66vw); scroll-snap-align: start; } |
| 173 | .shots figure { margin: 0; } | 183 | .shots figure { margin: 0; } |
| 174 | .shots img { display: block; width: 100%; border-radius: 22px; background: var(--raise); } | 184 | .shots img { display: block; width: 100%; border-radius: var(--r-md); background: var(--raise); } |
| 175 | .shots figcaption { margin-top: .75rem; font-size: .92rem; color: var(--soft); } | 185 | .shots figcaption { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--soft); } |
| 176 | .shots figcaption strong { display: block; color: var(--fg); font-weight: 600; } | 186 | .shots figcaption strong { display: block; color: var(--fg); font-weight: var(--w-semi); } |
| 177 | .app-body { padding-top: clamp(1.5rem, 4vw, 3rem); } | 187 | .app-body { padding-top: var(--s-top); } |
| 178 | .app-body .lede { font-size: 1.3rem; line-height: 1.45; letter-spacing: -.01em; margin-top: 0; } | 188 | .app-body .lede { font-size: var(--t-md); line-height: 1.45; letter-spacing: -.01em; margin-top: 0; } |
| 179 | 189 | ||
| 180 | /* Home: widgets */ | 190 | /* Home: widgets */ |
| 181 | .widgets { max-width: var(--wide); margin: 0 auto; padding: clamp(1rem, 3vw, 2rem) var(--pad) 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } | 191 | .widgets { max-width: var(--wide); margin: 0 auto; padding: var(--s-6) var(--pad) 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); } |
| 182 | .w { border-radius: 30px; padding: 1.5rem 1.6rem; background: var(--raise); min-width: 0; display: flex; flex-direction: column; } | 192 | .w { border-radius: var(--r-lg); padding: var(--s-5); background: var(--raise); min-width: 0; display: flex; flex-direction: column; } |
| 183 | .w h2 { margin: 0 0 1rem; font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--soft); } | 193 | .w h2 { margin: 0 0 var(--s-4); font-size: var(--t-base); font-weight: var(--w-semi); letter-spacing: 0; color: var(--soft); } |
| 184 | .w h2 a { color: inherit; text-decoration: none; } | 194 | .w h2 a { color: inherit; text-decoration: none; } |
| 185 | .w h2 a:hover { text-decoration: underline; } | 195 | .w h2 a:hover { text-decoration: underline; } |
| 186 | .w ul, .w ol { list-style: none; margin: 0; padding: 0; } | 196 | .w ul, .w ol { list-style: none; margin: 0; padding: 0; } |
| 187 | .w-writing { grid-column: span 2; grid-row: span 2; } | 197 | .w-writing { grid-column: span 2; grid-row: span 2; } |
| 188 | .w-lead { display: block; color: var(--fg); text-decoration: none; padding-bottom: 1.25rem; } | 198 | .w-lead { display: block; color: var(--fg); text-decoration: none; padding-bottom: var(--s-5); } |
| 189 | .w-lead strong { display: block; margin-top: .35rem; font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 650; } | 199 | .w-lead strong { display: block; margin-top: var(--s-1); font-size: var(--t-feature); line-height: 1.1; letter-spacing: -.03em; font-weight: var(--w-heading); } |
| 190 | .w-lead span { display: block; margin-top: .6rem; color: var(--soft); } | 200 | .w-lead span { display: block; margin-top: var(--s-2); color: var(--soft); } |
| 191 | .w-lead:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; } | 201 | .w-lead:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; } |
| 192 | .w-writing li a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--rule); color: var(--fg); text-decoration: none; } | 202 | .w-writing li a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: var(--s-3) 0; border-top: 1px solid var(--rule); color: var(--fg); text-decoration: none; } |
| 193 | .w-writing li strong { font-weight: 500; } | 203 | .w-writing li strong { font-weight: var(--w-medium); } |
| 194 | .w-writing li a:hover strong { text-decoration: underline; } | 204 | .w-writing li a:hover strong { text-decoration: underline; } |
| 195 | .w-writing li time { font-size: .88rem; } | 205 | .w-writing li time { font-size: var(--t-sm); } |
| 196 | .w-more { margin-top: auto; padding-top: 1rem; font-weight: 500; text-decoration: none; } | 206 | .w-more { margin-top: auto; padding-top: var(--s-4); font-weight: var(--w-medium); text-decoration: none; } |
| 197 | .w-more::after { content: "\00a0\2192"; } | 207 | .w-more::after { content: "\00a0\2192"; } |
| 198 | .w-audit { grid-column: span 2; background: #115e59; color: #e6f4f1; } | 208 | .w-audit { grid-column: span 2; background: #115e59; color: #e6f4f1; } |
| 199 | .w-audit h2, .w-audit p { color: #a7d3cc; } | 209 | .w-audit h2, .w-audit p { color: #a7d3cc; } |
| 200 | .w-audit p { margin: 0 0 1.25rem; font-size: .95rem; } | 210 | .w-audit p { margin: 0 0 var(--s-5); font-size: var(--t-sm); } |
| 201 | .w-audit p a { color: #fff; } | 211 | .w-audit p a { color: #fff; } |
| 202 | .w-audit ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-top: auto; counter-reset: step; } | 212 | .w-audit ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); margin-top: auto; counter-reset: step; } |
| 203 | .w-audit ol a { display: flex; flex-direction: column; height: 100%; padding: .75rem .8rem; border-radius: 18px; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; position: relative; } | 213 | .w-audit ol a { display: flex; flex-direction: column; height: 100%; padding: var(--s-3); border-radius: var(--r-md); background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; } |
| 204 | .w-audit ol a:hover { background: rgba(255, 255, 255, .2); } | 214 | .w-audit ol a:hover { background: rgba(255, 255, 255, .2); } |
| 205 | .w-audit ol span { font-size: .8rem; color: #a7d3cc; counter-increment: step; } | 215 | .w-audit ol span { font-size: var(--t-xs); color: #a7d3cc; counter-increment: step; } |
| 206 | .w-audit ol span::before { content: counter(step) ". "; } | 216 | .w-audit ol span::before { content: counter(step) ". "; } |
| 207 | .w-audit ol strong { font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; margin-top: .15rem; } | 217 | .w-audit ol strong { font-weight: var(--w-semi); font-size: var(--t-sm); overflow-wrap: anywhere; margin-top: var(--s-1); } |
| 208 | .w-hosted { background: #4c2a85; color: #efe7fb; } | 218 | .w-hosted { background: #4c2a85; color: #efe7fb; } |
| 209 | .w-hosted h2, .w-hosted p { color: #c9b6ec; } | 219 | .w-hosted h2, .w-hosted p { color: #c9b6ec; } |
| 210 | .w-hosted .w-num { margin: 0; font-size: 3.4rem; line-height: 1; font-weight: 700; letter-spacing: -.04em; color: #fff; } | 220 | .w-hosted .w-num { margin: 0; font-size: var(--t-title); line-height: 1; font-weight: var(--w-bold); letter-spacing: -.04em; color: #fff; } |
| 211 | .w-hosted p { margin: .3rem 0 1rem; font-size: .92rem; } | 221 | .w-hosted p { margin: var(--s-1) 0 var(--s-4); font-size: var(--t-sm); } |
| 212 | .w-hosted ul { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; } | 222 | .w-hosted ul { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: auto; } |
| 213 | .w-hosted ul a { display: inline-block; padding: .6rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-size: .85rem; } | 223 | .w-hosted ul a { display: inline-block; padding: var(--hit) var(--s-3); border-radius: var(--r-pill); background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-size: var(--t-xs); } |
| 214 | .w-hosted ul a:hover { background: rgba(255, 255, 255, .24); } | 224 | .w-hosted ul a:hover { background: rgba(255, 255, 255, .24); } |
| 215 | .w-elsewhere li { padding: .3rem 0; } | 225 | .w-elsewhere li { padding: var(--s-1) 0; } |
| 216 | .w-elsewhere a { color: var(--fg); text-decoration: none; font-weight: 500; } | 226 | .w-elsewhere a { color: var(--fg); text-decoration: none; font-weight: var(--w-medium); } |
| 217 | .w-elsewhere a:hover { text-decoration: underline; } | 227 | .w-elsewhere a:hover { text-decoration: underline; } |
| 218 | .w-elsewhere a.sub { color: var(--soft); font-weight: 400; font-size: .88rem; margin-left: .35rem; } | 228 | .w-elsewhere a.sub { color: var(--soft); font-weight: var(--w-regular); font-size: var(--t-sm); margin-left: var(--s-2); } |
| 219 | .w-software { grid-column: 1 / -1; } | 229 | .w-software { grid-column: 1 / -1; } |
| 220 | .w-software ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; } | 230 | .w-software ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-4); } |
| 221 | .w-software a { display: flex; flex-direction: column; color: var(--fg); text-decoration: none; } | 231 | .w-software a { display: flex; flex-direction: column; color: var(--fg); text-decoration: none; } |
| 222 | .w-software i { width: 56px; height: 56px; border-radius: 22%; background: var(--tint); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 1.4rem; margin-bottom: .65rem; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); transition: transform .25s cubic-bezier(.2, .7, .2, 1); } | 232 | .w-software i { width: 56px; height: 56px; border-radius: var(--r-icon); background: var(--tint); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: var(--w-bold); font-size: var(--t-lg); margin-bottom: var(--s-3); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); transition: transform .25s var(--ease-out); } |
| 223 | .w-software a:hover i { transform: translateY(-3px); } | 233 | .w-software a:hover i { transform: translateY(-3px); } |
| 224 | .w-software strong { font-weight: 600; } | 234 | .w-software strong { font-weight: var(--w-semi); } |
| 225 | .w-software span { color: var(--soft); font-size: .88rem; } | 235 | .w-software span { color: var(--soft); font-size: var(--t-sm); } |
| 226 | @media (max-width: 1000px) { .widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); } .w-writing, .w-audit { grid-column: 1 / -1; grid-row: auto; } .w-software ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } } | 236 | @media (max-width: 1100px) { .widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); } .w-writing, .w-audit { grid-column: 1 / -1; grid-row: auto; } .w-software ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } } |
| 227 | @media (max-width: 560px) { .widgets { grid-template-columns: 1fr; } .w-audit ol { grid-template-columns: 1fr 1fr; } .w-software ul { grid-template-columns: 1fr 1fr; } .w-writing li a { flex-direction: column; gap: 0; } } | 237 | @media (max-width: 560px) { .widgets { grid-template-columns: 1fr; } .w-audit ol { grid-template-columns: 1fr 1fr; } .w-software ul { grid-template-columns: 1fr 1fr; } .w-writing li a { flex-direction: column; gap: 0; } } |
| 228 | @media (prefers-reduced-motion: reduce) { .w-software i { transition: none; } } | 238 | @media (prefers-reduced-motion: reduce) { .w-software i { transition: none; } } |
| 229 | 239 | ||
| 230 | /* Blog index */ | 240 | /* Blog index */ |
| 231 | .wide { max-width: var(--wide); margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) var(--pad) 0; } | 241 | .wide { max-width: var(--wide); margin: 0 auto; padding: var(--s-top) var(--pad) 0; } |
| 232 | .blog-head h1 { margin: 0; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -.04em; } | 242 | .blog-head h1 { margin: 0; font-size: var(--t-display); line-height: 1; letter-spacing: -.04em; } |
| 233 | .blog-head p { margin: 1rem 0 0; color: var(--soft); font-size: 1.15rem; max-width: 38rem; } | 243 | .blog-head p { margin: var(--s-4) 0 0; color: var(--soft); font-size: var(--t-md); max-width: 38rem; } |
| 234 | kbd { font-family: var(--mono); font-size: .85em; background: var(--raise); border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 6px; padding: .05em .4em; color: var(--fg); } | 244 | kbd { font-family: var(--mono); font-size: .85em; background: var(--raise); border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: var(--r-xs); padding: .05em .4em; color: var(--fg); } |
| 235 | .chips { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; } | 245 | .chips { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: flex; flex-wrap: wrap; gap: var(--s-2); } |
| 236 | .chips a { display: inline-block; padding: .4rem .95rem; border-radius: 999px; background: var(--raise); color: var(--fg); text-decoration: none; font-weight: 500; font-size: .95rem; } | 246 | .chips a { display: inline-block; padding: var(--hit) var(--s-4); border-radius: var(--r-pill); background: var(--raise); color: var(--fg); text-decoration: none; font-weight: var(--w-medium); font-size: var(--t-sm); } |
| 237 | .chips a:hover { background: var(--fg); color: var(--bg); } | 247 | .chips a:hover { background: var(--fg); color: var(--bg); } |
| 238 | .post-cards { list-style: none; padding: 0; margin: clamp(2rem, 5vw, 3rem) 0 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.25rem; } | 248 | .post-cards { list-style: none; padding: 0; margin: var(--s-7) 0 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-5); } |
| 239 | .post-cards a { display: flex; flex-direction: column; height: 100%; padding: 1.5rem 1.6rem 1.75rem; border-radius: 30px; background: var(--raise); color: var(--fg); text-decoration: none; transition: transform .25s cubic-bezier(.2, .7, .2, 1); } | 249 | .post-cards a { display: flex; flex-direction: column; height: 100%; padding: var(--s-5) var(--s-5) var(--s-6); border-radius: var(--r-lg); background: var(--raise); color: var(--fg); text-decoration: none; transition: transform .25s var(--ease-out); } |
| 240 | .post-cards li:first-child a { background: var(--fg); color: var(--bg); } | 250 | .post-cards li:first-child a { background: var(--fg); color: var(--bg); } |
| 241 | .post-cards li:first-child time, .post-cards li:first-child span { color: var(--bg); opacity: .7; } | 251 | .post-cards li:first-child time, .post-cards li:first-child span { color: var(--bg); opacity: .7; } |
| 242 | .post-cards a:hover { transform: translateY(-3px); } | 252 | .post-cards a:hover { transform: translateY(-3px); } |
| 243 | .post-cards strong { margin-top: .5rem; font-size: 1.45rem; line-height: 1.15; letter-spacing: -.02em; font-weight: 650; } | 253 | .post-cards strong { margin-top: var(--s-2); font-size: var(--t-lg); line-height: 1.15; letter-spacing: -.02em; font-weight: var(--w-heading); } |
| 244 | .post-cards li:first-child strong { font-size: clamp(1.6rem, 2.6vw, 2.1rem); } | 254 | .post-cards li:first-child strong { font-size: var(--t-feature); } |
| 245 | .post-cards span { margin-top: .75rem; color: var(--soft); font-size: .95rem; } | 255 | .post-cards span { margin-top: var(--s-3); color: var(--soft); font-size: var(--t-sm); } |
| 246 | .year { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); } | 256 | .year { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--s-6); margin-top: var(--s-section); } |
| 247 | .year h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.04em; position: sticky; top: 1.5rem; align-self: start; font-variant-numeric: tabular-nums; } | 257 | .year h2 { margin: 0; font-size: var(--t-title); line-height: 1; letter-spacing: -.04em; position: sticky; top: var(--s-5); align-self: start; font-variant-numeric: tabular-nums; } |
| 248 | .year h2 span { display: block; margin-top: .5rem; font-size: .9rem; font-weight: 400; letter-spacing: 0; color: var(--soft); } | 258 | .year h2 span { display: block; margin-top: var(--s-2); font-size: var(--t-sm); font-weight: var(--w-regular); letter-spacing: 0; color: var(--soft); } |
| 249 | ul.post-rows { list-style: none; margin: 0; padding: 0; } | 259 | ul.post-rows { list-style: none; margin: 0; padding: 0; } |
| 250 | .post-rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; padding: .9rem 0; border-top: 1px solid var(--rule); color: var(--fg); text-decoration: none; } | 260 | .post-rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-5); padding: var(--s-4) 0; border-top: 1px solid var(--rule); color: var(--fg); text-decoration: none; } |
| 251 | .post-rows strong { font-weight: 550; font-size: 1.08rem; } | 261 | .post-rows strong { font-weight: var(--w-medium); } |
| 252 | .post-rows span { grid-column: 1; color: var(--soft); font-size: .95rem; margin-top: .15rem; } | 262 | .post-rows span { grid-column: 1; color: var(--soft); font-size: var(--t-sm); margin-top: var(--s-1); } |
| 253 | .post-rows time { grid-column: 2; grid-row: 1; font-size: .9rem; } | 263 | .post-rows time { grid-column: 2; grid-row: 1; font-size: var(--t-sm); } |
| 254 | .post-rows a:hover strong { text-decoration: underline; } | 264 | .post-rows a:hover strong { text-decoration: underline; } |
| 255 | @media (max-width: 900px) { .post-cards { grid-template-columns: 1fr; } .year { grid-template-columns: 1fr; gap: 1rem; } .year h2 { position: static; } } | 265 | @media (max-width: 900px) { .post-cards { grid-template-columns: 1fr; } .year { grid-template-columns: 1fr; gap: var(--s-4); } .year h2 { position: static; } } |
| 256 | @media (prefers-reduced-motion: reduce) { .post-cards a { transition: none; } } | 266 | @media (prefers-reduced-motion: reduce) { .post-cards a { transition: none; } } |