| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| |
| |
| |
| body.theme-hypercard, |
| body.theme-craigshouse, |
| body.theme-tufte { |
| min-height: 100vh; |
|
|
| |
| |
| --text-xs: 13px; |
| --text-sm: 14px; |
| --text-md: 15px; |
| --text-base: 16px; |
| --text-lg: 19px; |
| } |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| body.theme-hypercard { |
| --bg: #ffffff; |
| --surface: #ffffff; |
| --surface-tint: #ffffff; |
| --surface-warm: #ffffff; |
| --text: #000000; |
| --text-soft: #000000; |
| --text-muted: #000000; |
| --muted: #000000; |
| --border-color: #000000; |
| --accent: #000000; |
| --accent-strong: #000000; |
|
|
| |
| --font-sans: Geneva, Verdana, "Segoe UI", Tahoma, sans-serif; |
| --font-serif: Geneva, Verdana, "Segoe UI", Tahoma, sans-serif; |
|
|
| |
| --radius-xs: 0; --radius-sm: 0; --radius-md: 0; --radius-lg: 0; --radius-xl: 0; |
|
|
| |
| |
| |
| |
| background: transparent; |
| } |
|
|
| |
| |
| |
| body.theme-hypercard::before { |
| content: ""; |
| position: fixed; |
| inset: 0; |
| z-index: -1; |
| background-image: repeating-conic-gradient(#000 0 25%, #fff 0 50%); |
| background-size: 4px 4px; |
| pointer-events: none; |
| } |
|
|
| |
| body.theme-hypercard .page { |
| background: #ffffff; |
| border: 1px solid #000000; |
| box-shadow: 3px 3px 0 0 #000000; |
| padding-inline: var(--page-pad); |
| } |
|
|
| |
| body.theme-hypercard header { text-align: center; } |
| body.theme-hypercard h1, |
| body.theme-hypercard h2, |
| body.theme-hypercard h3 { |
| font-family: "Helvetica Neue", "Arial Narrow", Arial, sans-serif; |
| font-weight: 700; |
| color: #000000; |
| letter-spacing: .01em; |
| |
| |
| -webkit-font-smoothing: none; |
| } |
| body.theme-hypercard .eyebrow { |
| font-family: "Helvetica Neue", "Arial Narrow", Arial, sans-serif; |
| color: #000000; |
| justify-content: center; |
| -webkit-font-smoothing: none; |
| } |
| body.theme-hypercard .lede { color: #000000; text-align: center; } |
|
|
| |
| body.theme-hypercard a { color: #000000; text-decoration: underline; text-decoration-color: #000000; } |
| body.theme-hypercard a:visited { color: #000000; } |
| body.theme-hypercard a:hover { color: #ffffff; background: #000000; } |
|
|
| |
| body.theme-hypercard .card, |
| body.theme-hypercard .panel { |
| background: #ffffff; |
| border: 1px solid #000000; |
| box-shadow: 2px 2px 0 0 #000000; |
| } |
|
|
| |
| body.theme-hypercard .button, |
| body.theme-hypercard .btn { |
| background: #ffffff; |
| color: #000000; |
| border: 1px solid #000000; |
| border-radius: 9px; |
| box-shadow: 2px 2px 0 0 #000000; |
| font-family: "Helvetica Neue", "Arial Narrow", Arial, sans-serif; |
| font-weight: 700; |
| } |
| |
| body.theme-hypercard .button:hover, |
| body.theme-hypercard .btn:hover { |
| background: #000000; |
| color: #ffffff; |
| filter: none; |
| } |
| body.theme-hypercard .button:active, |
| body.theme-hypercard .btn:active { |
| box-shadow: none; |
| transform: translate(2px, 2px); |
| } |
|
|
| |
| |
| |
| body.theme-hypercard .variants { |
| --variant-a: #000000; --variant-b: #000000; --variant-c: #000000; --variant-d: #000000; |
| } |
| body.theme-hypercard .variants .badge[data-variant] { |
| color: #ffffff; |
| background: #000000; |
| border-radius: 3px; |
| } |
| body.theme-hypercard .variants .chip[data-variant] { |
| color: #000000; |
| background: #ffffff; |
| border: 1px solid #000000; |
| border-radius: 3px; |
| } |
| body.theme-hypercard .variants .card[data-variant] { |
| border-color: #000000; |
| } |
|
|
| |
| |
| |
| |
| |
| |
| |
| body.theme-craigshouse { |
| --bg: #ffffff; |
| --surface: #ffffff; |
| --surface-tint: #ffffff; |
| --surface-warm: #ffffff; |
| --text: #000000; |
| --text-soft: #222222; |
| --text-muted: #555555; |
| --muted: #555555; |
| --border-color: #cccccc; |
| --accent: #0000ee; |
| --accent-strong: #551a8b; |
|
|
| --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif; |
| --font-serif: "Helvetica Neue", Helvetica, Arial, sans-serif; |
|
|
| --radius-xs: 0; --radius-sm: 0; --radius-md: 0; --radius-lg: 0; --radius-xl: 0; |
|
|
| |
| |
| --text-xs: 12px; |
| --text-sm: 13px; |
| --text-md: 14px; |
| --text-base: 14px; |
| --text-lg: 17px; |
|
|
| background: #ffffff; |
| } |
|
|
| |
| body.theme-craigshouse .page { |
| background: #ffffff; |
| border: 0; |
| box-shadow: none; |
| padding-inline: var(--page-pad); |
| } |
|
|
| |
| |
| body.theme-craigshouse header { text-align: left; } |
| body.theme-craigshouse h1 { |
| color: #551a8b; |
| font-weight: 700; |
| letter-spacing: 0; |
| } |
| body.theme-craigshouse h2, |
| body.theme-craigshouse h3 { |
| color: #000000; |
| font-weight: 700; |
| letter-spacing: 0; |
| } |
| body.theme-craigshouse .eyebrow { color: #555555; justify-content: flex-start; } |
| body.theme-craigshouse .lede { color: #000000; text-align: left; } |
|
|
| |
| |
| body.theme-craigshouse a { color: #0000ee; text-decoration: none; } |
| body.theme-craigshouse a:visited { color: #551a8b; } |
| body.theme-craigshouse a:hover { color: #0000ee; text-decoration: underline; } |
|
|
| |
| body.theme-craigshouse .card, |
| body.theme-craigshouse .panel { |
| background: #ffffff; |
| border: 1px solid #cccccc; |
| box-shadow: none; |
| } |
|
|
| |
| body.theme-craigshouse .button, |
| body.theme-craigshouse .btn { |
| background: #f0f0f0; |
| color: #000000; |
| border: 1px solid #999999; |
| border-radius: 0; |
| box-shadow: none; |
| } |
| body.theme-craigshouse .button:hover, |
| body.theme-craigshouse .btn:hover { background: #e6e6e6; filter: none; } |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| body.theme-tufte { |
| --bg: #fffff8; |
| --surface: #fffff8; |
| --surface-tint: #f6f4e8; |
| --surface-warm: #f6f4e8; |
| --text: #191919; |
| --text-soft: #464440; |
| --text-muted: #6b675f; |
| --muted: #6b675f; |
| --border-color: #d8d4c8; |
| --accent: #8f1d1d; |
| --accent-strong: #6d1414; |
| --danger: #8f1d1d; |
|
|
| |
| |
| --font-sans: "et-book", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; |
| --font-serif: "et-book", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; |
|
|
| |
| --radius-xs: 0; --radius-sm: 0; --radius-md: 0; --radius-lg: 0; --radius-xl: 0; |
|
|
| |
| --text-xs: 14px; |
| --text-sm: 15px; |
| --text-md: 16px; |
| --text-base: 17px; |
| --text-lg: 20px; |
| --leading-body: 1.55; |
|
|
| background: #fffff8; |
| } |
|
|
| |
| body.theme-tufte .page { |
| background: #fffff8; |
| border: 0; |
| box-shadow: none; |
| padding-inline: var(--page-pad); |
| } |
|
|
| |
| body.theme-tufte header { text-align: left; } |
| body.theme-tufte h1, |
| body.theme-tufte h2, |
| body.theme-tufte h3 { |
| font-weight: 400; |
| font-style: italic; |
| letter-spacing: 0; |
| color: var(--text); |
| } |
| body.theme-tufte h1 code, |
| body.theme-tufte h2 code, |
| body.theme-tufte h3 code { font-style: normal; } |
| body.theme-tufte .eyebrow { |
| justify-content: flex-start; |
| font-variant: small-caps; |
| letter-spacing: .08em; |
| color: var(--text-muted); |
| } |
| body.theme-tufte .lede { text-align: left; font-style: italic; color: var(--text); } |
|
|
| |
| |
| body.theme-tufte a { |
| color: inherit; |
| text-decoration: underline; |
| text-decoration-color: var(--border-color); |
| text-decoration-thickness: 1px; |
| text-underline-offset: 2px; |
| } |
| body.theme-tufte a:visited { color: inherit; } |
| body.theme-tufte a:hover { |
| color: var(--accent); |
| background: transparent; |
| text-decoration-color: var(--accent); |
| } |
|
|
| |
| body.theme-tufte .card, |
| body.theme-tufte .panel { |
| background: #fffff8; |
| border: 1px solid var(--border-color); |
| box-shadow: none; |
| } |
|
|
| |
| body.theme-tufte .button, |
| body.theme-tufte .btn { |
| background: transparent; |
| color: var(--text); |
| border: 1px solid var(--text-muted); |
| border-radius: 0; |
| box-shadow: none; |
| font-weight: 400; |
| } |
| body.theme-tufte .button:hover, |
| body.theme-tufte .btn:hover { |
| background: #f0eee0; |
| color: var(--text); |
| filter: none; |
| } |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| |
| body.theme-craigshouse .variants-client { |
| --variant-a: #0000ee; |
| --variant-b: #006699; |
| --variant-c: #551a8b; |
| --variant-d: #007a3d; |
| } |
| body.theme-craigshouse .variants-server { |
| --variant-a: #b00000; |
| --variant-b: #993300; |
| --variant-c: #996600; |
| --variant-d: #993366; |
| } |
|
|
| |
| body.theme-tufte .variants-client { |
| --variant-a: #3f4c5a; |
| --variant-b: #4f6a67; |
| --variant-c: #5c5470; |
| --variant-d: #59663f; |
| } |
| body.theme-tufte .variants-server { |
| --variant-a: #8f1d1d; |
| --variant-b: #8a5a2e; |
| --variant-c: #7a6a33; |
| --variant-d: #7d4a5e; |
| } |
|
|
| |
| |
| .card-title a { color: inherit; text-decoration: none; border-bottom: 0; } |
| .card-title a:hover { text-decoration: underline; } |
|
|
| |
| |
| |
| |
| .theme-switcher { |
| position: fixed; |
| top: 10px; |
| right: 10px; |
| z-index: 9999; |
| display: flex; |
| flex-direction: column; |
| align-items: stretch; |
| gap: 4px; |
| padding: 6px 7px; |
| background: rgba(28,28,30,.86); |
| border: 1px solid rgba(255,255,255,.25); |
| border-radius: 8px; |
| backdrop-filter: blur(4px); |
| font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; |
| font-size: 11px; |
| color: #f2f2f2; |
| box-shadow: 0 2px 10px rgba(0,0,0,.3); |
| } |
| .theme-switcher__label { |
| opacity: .7; |
| margin: 0 2px 2px; |
| text-transform: uppercase; |
| letter-spacing: .06em; |
| } |
| .theme-switcher button { |
| appearance: none; |
| cursor: pointer; |
| padding: 4px 10px; |
| text-align: left; |
| border: 1px solid rgba(255,255,255,.2); |
| border-radius: 5px; |
| background: transparent; |
| color: #f2f2f2; |
| font: inherit; |
| } |
| .theme-switcher button:hover { background: rgba(255,255,255,.12); } |
| .theme-switcher button:focus-visible { |
| outline: 2px solid #fff; |
| outline-offset: 1px; |
| } |
| .theme-switcher button[aria-checked="true"] { |
| background: #f2f2f2; |
| color: #1c1c1e; |
| border-color: #f2f2f2; |
| font-weight: 700; |
| } |
|
|
| @media print { .theme-switcher { display: none; } } |
|
|