showcase
- v0.2.4
- 37 commits
- 1 branch
- 6 tags
- updated
- CI 2/2
style.css
74.2 KB · 3847 lines
1/*============================*/2/* part 1: copied from saturn (danieldaum.net) global.css, MIT.3 only the sections used here; re-copy when saturn changes.4 font urls point at ./fonts/ instead of ./fonts/. */5/*============================*/67/*============================*/89/* josh comeau css reset */10/* https://www.joshwcomeau.com/css/custom-css-reset/*/11/*============================*/1213*,14*::before,15*::after {16 box-sizing: border-box;17}1819* {20 margin: 0;21}2223@media (prefers-reduced-motion: no-preference) {24 html {25 interpolate-size: allow-keywords;26 }27}2829body {30 line-height: 1.5;31 -webkit-font-smoothing: antialiased;32}3334img,35picture,36video,37canvas,38svg {39 display: block;40 max-width: 100%;41}4243input,44button,45textarea,46select {47 font: inherit;48}4950p,51h1,52h2,53h3,54h4,55h5,56h6 {57 overflow-wrap: break-word;58}5960@media (min-width: 769px) {61 p {62 text-wrap: pretty;63 }64}6566h1,67h2,68h3,69h4,70h5,71h6 {72 text-wrap: balance;73}7475/*============================*/76/* fonts - geist pixel square (one weight, no italic), geist mono */77/*============================*/7879/* the weight range stops the browser faking bold */80@font-face {81 font-family: "Geist Pixel";82 src: url("./fonts/geistpixel/GeistPixel-Square.woff2")83 format("woff2");84 font-weight: 100 900;85 font-style: normal;86 font-display: swap;87}8889/* geist mono, code blocks only: pixel type is proportional, so columns drift */90@font-face {91 font-family: "Geist Mono";92 src: url("./fonts/geistmono/GeistMono-Regular.woff2") format("woff2");93 font-weight: 400;94 font-style: normal;95 font-display: swap;96}9798@font-face {99 font-family: "Geist Mono";100 src: url("./fonts/geistmono/GeistMono-Italic.woff2") format("woff2");101 font-weight: 400;102 font-style: italic;103 font-display: swap;104}105106/*============================*/107/* tokens */108/*============================*/109110html {111 height: 100%;112 font-size: 16px;113 scrollbar-gutter: stable;114 color-scheme: dark;115116 /* moss: flexoki greens and base greys, stephango.com/flexoki (MIT) */117 --background-dark: #1a1e0c;118 --surface: #252d09;119 --borders: #313d07;120 --text-headings: #f2f0e5;121 --text-body: #dad8ce;122 --text-secondary: #9f9d96;123 --accent: #a0af54;124 --accent-muted: #536907;125126 /* rating scale (out of 5, half steps allowed) */127 --rating-terrible: #e86b6b;128 --rating-below-average: #d9a441;129 --rating-good: #bdbd7f;130 --rating-above-average: #a9c94f;131 --rating-great: #7ec98f;132133 /* syntax: same roles as the zed, helix and warp themes */134 --syn-fg: #c2c4ba;135 --syn-punct: #a2a49b;136 --syn-comment: #909585;137 --syn-keyword: #ad9be2;138 --syn-function: #6fb1d7;139 --syn-builtin: #7ac4ad;140 --syn-type: #ddc56c;141 --syn-variable: #e0775d;142 --syn-constant: #e7a86e;143 --syn-string: #a9b767;144}145146/* other palettes, picked by theme.js; moss is the no-js default */147[data-theme="ink"] {148 --background-dark: #101a24;149 --surface: #12253b;150 --borders: #133051;151 --accent: #66a0c8;152 --accent-muted: #1a4f8c;153154 /* syntax */155 --syn-fg: #bdc3ca;156 --syn-punct: #9ea4aa;157 --syn-comment: #838d98;158 --syn-keyword: #a79eec;159 --syn-function: #6fb2df;160 --syn-builtin: #73c6be;161 --syn-type: #dbc777;162 --syn-variable: #e0796e;163 --syn-constant: #eaa77c;164 --syn-string: #a2ba75;165}166167[data-theme="wine"] {168 --background-dark: #24131d;169 --surface: #39172b;170 --borders: #4f1b39;171 --accent: #e47da8;172 --accent-muted: #87285e;173174 /* syntax */175 --syn-fg: #cabfc4;176 --syn-punct: #a9a0a5;177 --syn-comment: #978790;178 --syn-keyword: #b896e2;179 --syn-function: #75afdd;180 --syn-builtin: #77c4b6;181 --syn-type: #ebbe6e;182 --syn-variable: #e57268;183 --syn-constant: #f0a17b;184 --syn-string: #b3b365;185}186187[data-theme="plum"] {188 --background-dark: #1a1623;189 --surface: #261c39;190 --borders: #31234e;191 --accent: #a699d0;192 --accent-muted: #4f3685;193194 /* syntax */195 --syn-fg: #c3c1cb;196 --syn-punct: #a4a1aa;197 --syn-comment: #8c8897;198 --syn-keyword: #b19ee7;199 --syn-function: #7db1de;200 --syn-builtin: #7fc5c2;201 --syn-type: #e4c584;202 --syn-variable: #de7c7b;203 --syn-constant: #eba78c;204 --syn-string: #adb87b;205}206207[data-theme="teal"] {208 --background-dark: #101f1d;209 --surface: #122f2c;210 --borders: #143f3c;211 --accent: #5abdac;212 --accent-muted: #1c6c66;213214 /* syntax */215 --syn-fg: #bac5c4;216 --syn-punct: #9ca5a4;217 --syn-comment: #859794;218 --syn-keyword: #a59ee7;219 --syn-function: #6bb1da;220 --syn-builtin: #73c5b5;221 --syn-type: #d6c872;222 --syn-variable: #de7965;223 --syn-constant: #e5a873;224 --syn-string: #9fb970;225}226227[data-theme="flexoki"] {228 --background-dark: #100f0f;229 --surface: #1c1b1a;230 --borders: #282726;231 --accent: #e8705f;232 --accent-muted: #575653;233234 /* syntax */235 --syn-fg: #c6c2bb;236 --syn-punct: #a6a29d;237 --syn-comment: #8a847a;238 --syn-keyword: #af98ec;239 --syn-function: #69b1e0;240 --syn-builtin: #6dc6b5;241 --syn-type: #e3c363;242 --syn-variable: #e8705f;243 --syn-constant: #f0a26d;244 --syn-string: #a9b761;245}246247/*============================*/248/* base - elements */249/*============================*/250251body {252 max-width: 78ch;253 min-height: 100vh;254 min-height: 100svh;255256 display: flex;257 flex-direction: column;258259 margin: 0 auto;260 padding: min(3rem, 8vw) min(2rem, 5vw);261 font-family:262 "Geist Pixel", ui-monospace, "SF Mono", Menlo, Consolas,263 "Liberation Mono", "Courier New", monospace;264 color: var(--text-body);265 background-color: var(--background-dark);266}267268::selection {269 background: var(--accent);270 color: var(--background-dark);271}272273h1 {274 font-size: 1.75rem;275 color: var(--text-headings);276 margin: 0 0 0.3rem 0;277 line-height: 1.2;278}279280h2 {281 font-size: 1.35rem;282 color: var(--text-headings);283 margin: 3rem 0 0.6rem 0;284}285286h3 {287 font-size: 1.125rem;288 color: var(--text-headings);289 margin: 2.25rem 0 0.5rem 0;290}291292/* small label, same as the post kicker */293h4 {294 font-size: 0.78rem;295 color: var(--text-secondary);296 margin: 1.5rem 0 0.5rem 0;297 letter-spacing: 0.12em;298}299300p {301 margin: 0 0 1.2rem 0;302 color: var(--text-body);303}304305p,306ul,307ol {308 font-size: 0.9375rem;309}310311p,312li {313 line-height: 1.65;314}315316a {317 color: var(--text-headings);318 text-decoration: none;319 transition:320 border-color 0.15s ease,321 color 0.15s ease;322}323324/* text links; classed links are components and style themselves */325:where(p, li, td, dd, blockquote, figcaption) > a:not([class]) {326 border-bottom: 1px solid var(--accent-muted);327}328329:where(p, li, td, dd, blockquote, figcaption) > a:not([class]):hover {330 color: var(--accent);331 border-bottom-color: var(--accent);332}333334blockquote {335 margin: 1.75rem 0;336 padding-left: 1.2rem;337 border-left: 3px solid var(--accent-muted);338 color: var(--text-secondary);339 font-style: italic;340}341342img {343 width: 100%;344 height: auto;345 border: 1px solid var(--borders);346 border-radius: 2px;347}348349figcaption {350 font-size: 0.85rem;351 color: var(--text-secondary);352 margin-top: 0.6rem;353}354355code {356 font-family:357 "Geist Pixel", ui-monospace, "SF Mono", Menlo, Consolas,358 "Liberation Mono", "Courier New", monospace;359 font-size: 0.9rem;360 color: var(--text-headings);361 background: var(--surface);362 padding: 0.2rem 0.4rem;363 border-radius: 4px;364 border: 1px solid var(--borders);365}366367pre {368 margin: 2rem 0;369 padding: 1.25rem;370 background: var(--surface);371 border: 1px solid var(--borders);372 border-radius: 6px;373 overflow-x: auto;374 tab-size: 4;375 scrollbar-color: var(--borders) transparent;376}377378pre code {379 background: none;380 padding: 0;381 display: block;382 font-family:383 "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas,384 "Liberation Mono", monospace;385 color: var(--syn-fg);386 font-size: 0.84rem;387 font-synthesis: none;388 border: none;389 box-shadow: none;390 line-height: 1.5;391}392393/* syntax roles, set by scripts/highlight.mjs */394.hl-comment {395 color: var(--syn-comment);396 font-style: italic;397}398399.hl-keyword {400 color: var(--syn-keyword);401}402403.hl-function,404.hl-link {405 color: var(--syn-function);406}407408.hl-builtin,409.hl-escape {410 color: var(--syn-builtin);411}412413.hl-type,414.hl-self,415.hl-changed {416 color: var(--syn-type);417}418419.hl-variable,420.hl-heading,421.hl-removed {422 color: var(--syn-variable);423}424425.hl-constant {426 color: var(--syn-constant);427}428429.hl-string,430.hl-added {431 color: var(--syn-string);432}433434.hl-punct {435 color: var(--syn-punct);436}437438figure {439 margin: 1.5rem 0;440}441442ul,443ol {444 margin: 0 0 1.2rem 1.5rem;445 padding: 0;446}447448li {449 margin: 0.35rem 0;450 display: list-item;451}452453hr {454 border: 0;455 height: 1px;456 background: var(--borders);457 margin-top: 1rem;458 margin-bottom: 1rem;459 width: 100%;460}461462/*============================*/463/* base - focus */464/*============================*/465466/* Focus visible for keyboard navigation */467a:focus-visible,468button:focus-visible {469 outline: 2px solid var(--accent);470 outline-offset: 2px;471 border-radius: 2px;472}473474/* Remove default focus for mouse users */475a:focus:not(:focus-visible) {476 outline: none;477}478479/*============================*/480/* layout - site header */481/*============================*/482483.site-header {484 display: flex;485 flex-wrap: wrap;486 align-items: baseline;487 justify-content: space-between;488 gap: 0.5rem 1.5rem;489 padding: 0.5rem 0.5rem 0.75rem;490 margin-bottom: 2rem;491}492493.site-name {494 color: var(--text-body);495 font-size: 30px;496}497498.site-name:hover {499 color: var(--accent);500}501502@media (max-width: 600px) {503 .site-header {504 flex-direction: column;505 align-items: flex-start;506 gap: 0.75rem;507 margin-bottom: 1rem;508 }509510 .site-name {511 font-size: 26px;512 }513514 /* one row */515 .site-header nav {516 width: 100%;517 justify-content: space-between;518 }519}520521/*============================*/522/* layout - main, footer, nav */523/*============================*/524525main {526 flex: 1;527 padding: 0.5rem;528}529530footer {531 margin-top: 3rem;532 padding: 0.5rem;533}534535/* quieter than the header nav: grey until hovered */536footer nav {537 font-size: 0.8rem;538 letter-spacing: 0.08em;539}540541footer nav a {542 color: var(--text-secondary);543}544545/* theme.js shows it; without js it would do nothing */546.theme-button {547 display: none;548 padding: 0;549 border: 0;550 background: none;551 color: var(--text-secondary);552 letter-spacing: inherit;553 cursor: pointer;554 align-self: flex-start;555}556557[data-theme] .theme-button {558 display: inline;559}560561footer nav p {562 color: var(--accent-muted);563}564565/* the footer links point at danieldaum.net, so the selectors match the566 path, not the full url, as in saturn */567@media (max-width: 600px) {568 footer nav p,569 footer nav a[href$="/id/"] {570 display: none;571 }572}573574@media (max-width: 480px) {575 footer nav a[href$="/changelog/"] {576 display: none;577 }578}579580nav {581 display: flex;582 flex-wrap: wrap;583 gap: 0.35rem 1.25rem;584 font-size: 0.88rem;585}586587.site-header nav a {588 color: var(--text-body);589}590591.site-header nav a[aria-current="page"] {592 color: var(--accent);593}594595.site-header nav a,596footer nav a,597.theme-button {598 border-bottom: 1px solid transparent;599600 transition:601 color 220ms ease 60ms,602 border-bottom-color 220ms ease 60ms;603}604605.site-header nav a:hover,606footer nav a:hover,607.theme-button:hover {608 color: var(--accent);609 border-bottom-color: var(--accent);610}611612nav p {613 margin: 0 0.5rem 0 0;614}615616/*============================*/617/* responsive - small screens (768px, then 480px) */618/*============================*/619620@media (max-width: 768px) {621 body {622 padding: min(2.5rem, 7vw) min(1.75rem, 4vw);623 }624625 h1 {626 font-size: 1.6rem;627 }628}629630@media (max-width: 480px) {631 body {632 padding: min(2rem, 6vw) 1rem;633 }634635 .site-header,636 main,637 footer {638 padding-inline: 0;639 }640641 h1 {642 font-size: 1.5rem;643 }644645 h2 {646 font-size: 1.2rem;647 margin-top: 1.75rem;648 padding-top: 1rem;649 }650651 h3 {652 font-size: 1.05rem;653 margin-top: 1.75rem;654 }655656 nav {657 gap: 0.25rem 0.75rem;658 }659660 pre {661 padding: 1rem;662 margin: 1.5rem -0.5rem;663 border-radius: 4px;664 }665666 pre code {667 font-size: 0.8rem;668 }669}670671/*============================*/672/* components - page header */673/*============================*/674675.page-header {676 margin-bottom: 2.75rem;677}678679.page-header h1 {680 line-height: 1.4;681}682683.page-header .meta {684 font-size: 0.88rem;685}686687/* the home hero is the one heading in the accent */688.page-header--home h1 {689 color: var(--accent);690}691692/* a post or section page: a small kicker above a smaller h1 */693.page-header-kicker {694 margin: 0 0 0.5rem;695 font-size: 0.78rem;696 letter-spacing: 0.12em;697 text-transform: uppercase;698 color: var(--text-secondary);699}700701.page-header--post h1 {702 font-size: 1.6rem;703 line-height: 1.3;704 margin-bottom: 0.6rem;705}706707.page-header--post .meta {708 margin: 0;709 font-size: 0.8rem;710 letter-spacing: 0.06em;711}712713/* a section page: the kicker is its parent and links back up, and the714 meta is a sentence about the page, not a date */715.page-header-kicker a {716 color: var(--text-secondary);717 border-bottom: 1px solid var(--accent-muted);718 transition:719 color 150ms ease,720 border-bottom-color 150ms ease;721}722723.page-header-kicker a:hover {724 color: var(--accent);725 border-bottom-color: var(--accent);726}727728.page-header--post .meta:not(.caps) {729 font-size: 0.88rem;730 letter-spacing: normal;731 line-height: 1.6;732}733734/*============================*/735/* components - meta line */736/*============================*/737738.meta {739 font-size: 0.85rem;740 color: var(--text-secondary);741 margin-top: 0.4rem;742 margin-bottom: 1.25rem;743}744745.meta-split {746 display: flex;747 flex-wrap: wrap;748 align-items: baseline;749 gap: 0.2rem 0.6rem;750}751752.meta-sep {753 opacity: 0.6;754}755756@media (max-width: 600px) {757 .meta-split {758 flex-direction: column;759 gap: 0.15rem;760 }761762 .meta-sep {763 display: none;764 }765}766767/*============================*/768/* components - breadcrumb */769/*============================*/770771.breadcrumb {772 font-size: 0.9rem;773 color: var(--text-secondary);774 margin-bottom: 1.5rem;775 display: block;776}777778.breadcrumb a {779 color: var(--text-secondary);780 border-bottom: 1px solid var(--accent-muted);781}782783.breadcrumb a:hover {784 color: var(--accent);785}786787/*============================*/788/* components - section label */789/*============================*/790791.section-label {792 font-size: 0.78rem;793 letter-spacing: 0.12em;794 text-transform: uppercase;795 color: var(--text-secondary);796 margin: 2.5rem 0 0.75rem 0;797 padding: 0;798}799800/*============================*/801/* components - cards */802/*============================*/803804.card-grid {805 display: flex;806 flex-wrap: wrap;807 gap: 0.75rem;808}809810.card {811 box-sizing: border-box;812 flex: 1 1 calc(50% - 0.4rem);813 min-width: 11rem;814 display: flex;815 flex-direction: column;816 gap: 0.35rem;817 padding: 0.875rem 1rem;818 border-radius: 10px;819 border: 1px solid var(--borders);820 background: var(--background-dark);821 cursor: pointer;822 transition: border-color 150ms ease;823}824825.card p {826 margin: 0;827 padding: 0;828}829830.card:hover {831 border-color: var(--accent);832}833834.card-title {835 color: var(--text-headings);836 font-size: 0.95rem;837 line-height: 1.2;838}839840.card-desc {841 color: var(--text-secondary);842 font-size: 0.78rem;843 line-height: 1.4;844}845846.card:hover .card-title,847.card:hover .card-type {848 color: var(--accent);849}850851.card-type {852 font-size: 0.75rem;853 letter-spacing: 0.1em;854 color: var(--text-secondary);855}856857/* muted "view all" variant: a centred bar under the grid */858.card--more {859 border-style: dashed;860 opacity: 0.65;861 justify-content: center;862 align-items: center;863 padding-block: 1.1rem;864}865866.card--more:hover {867 opacity: 1;868}869870.card:focus-visible {871 outline: 2px solid var(--accent);872 outline-offset: 4px;873 transform: scale(1.03);874}875876/*============================*/877/* components - pills */878/*============================*/879880.pills {881 display: flex;882 flex-wrap: wrap;883 gap: 0.4rem;884 margin-top: 0.6rem;885}886887.pill {888 display: inline-flex;889 align-items: center;890 gap: 0.45rem;891 padding: 0.2rem 0.6rem;892 border: 1px solid var(--borders);893 border-radius: 999px;894 font-size: 0.68rem;895 letter-spacing: 0.08em;896 line-height: 1.4;897 color: var(--text-secondary);898 white-space: nowrap;899}900901/* in development: a slow pulsing dot (reduced motion stops it).902 switched off for now; uncomment to bring it back */903/*904.pill--dev::before {905 content: "";906 width: 0.4rem;907 height: 0.4rem;908 border-radius: 50%;909 background: currentColor;910 animation: pill-pulse 2.4s ease-in-out infinite;911}912913@keyframes pill-pulse {914 50% {915 opacity: 0.25;916 }917}918*/919920/*============================*/921/* components - table */922/*============================*/923924.table {925 width: 100%;926 border-collapse: collapse;927 font-size: 0.88rem;928 margin-top: 0.5rem;929}930931/* column headers */932.table thead th {933 text-align: left;934 font-size: 0.75rem;935 letter-spacing: 0.12em;936 text-transform: uppercase;937 color: var(--text-secondary);938 padding: 0 1rem 0.6rem 0;939 border-bottom: 1px solid var(--borders);940}941942.table thead th.table-col-date {943 width: 7rem;944}945946.table thead th.table-col-tag {947 width: 5.5rem;948}949950.table thead th.table-col-rating {951 width: 5rem;952}953954.table thead th.table-col-label {955 width: 11rem;956}957958.table thead th.table-col-desc {959 width: 45%;960}961962/* rows */963.table-row td {964 padding: 0.75rem 1rem 0.75rem 0;965 vertical-align: baseline;966 border-bottom: 1px solid var(--borders);967}968969.table-row:first-child td {970 border-top: 1px solid var(--borders);971}972973.table-row:last-child td {974 border-bottom: none;975}976977.table-row:hover {978 background: var(--surface);979 cursor: pointer;980}981982/* title link */983.table-title {984 color: var(--text-headings);985 font-size: 0.9rem;986}987988.table-title:hover {989 color: var(--accent);990}991992.table-row:hover .table-title {993 color: var(--accent);994}995996/* date column */997.table-date {998 color: var(--text-secondary);999 font-size: 0.82rem;1000 white-space: nowrap;1001}10021003/* tag column */1004.table-tag {1005 color: var(--text-secondary);1006 font-size: 0.82rem;1007 white-space: nowrap;1008}10091010/* description column */1011.table-desc {1012 color: var(--text-secondary);1013 font-size: 0.82rem;1014}10151016/* mobile: stack title above date + tag */1017@media (max-width: 600px) {1018 .table,1019 .table thead,1020 .table tbody {1021 display: block;1022 }10231024 .table thead {1025 display: none;1026 }10271028 .table-row {1029 display: flex;1030 flex-wrap: wrap;1031 align-items: baseline;1032 gap: 0 0.75rem;1033 padding: 0.7rem 0;1034 border-bottom: 1px solid var(--borders);1035 }10361037 .table-row:first-child {1038 border-top: 1px solid var(--borders);1039 }10401041 .table-row:last-child {1042 border-bottom: none;1043 }10441045 .table .table-row td,1046 .table .table-row:first-child td,1047 .table .table-row:last-child td {1048 display: block;1049 border-bottom: none;1050 border-top: none;1051 padding: 0;1052 }10531054 .table-row td:first-child {1055 flex: 0 0 100%;1056 margin-bottom: 0.25rem;1057 }10581059 .table-date,1060 .table-tag,1061 .table-desc {1062 font-size: 0.78rem;1063 }1064}106510661067/*============================*/1068/* components - code block */1069/*============================*/10701071/* optional file label over a pre, like bat's header */1072.code-block {1073 margin: 2rem 0;1074}10751076.code-block pre {1077 margin: 0;1078 border-top-left-radius: 0;1079 border-top-right-radius: 0;1080}10811082.code-label {1083 margin: 0;1084 padding: 0.45rem 1.25rem;1085 border: 1px solid var(--borders);1086 border-bottom: 0;1087 border-radius: 6px 6px 0 0;1088 background: var(--background-dark);1089 font-size: 0.78rem;1090 color: var(--text-secondary);1091}10921093@media (max-width: 480px) {1094 .code-block {1095 margin: 1.5rem -0.5rem;1096 }10971098 .code-label {1099 padding-inline: 1rem;1100 border-radius: 4px 4px 0 0;1101 }1102}110311041105/*============================*/1106/* projects - version history */1107/*============================*/11081109/* past versions of a project, oldest first: date and commit, title,1110 screenshot, a line or two */1111.version-list {1112 list-style: none;1113 margin: 0;1114 padding: 1rem 0 1rem min(2.25rem, 6vw);1115 border-left: 1px solid var(--borders);1116}11171118.version-list > li {1119 margin: 0;1120}11211122.version-list > li + li {1123 margin-top: 3rem;1124}11251126.version-meta {1127 display: flex;1128 gap: 1rem;1129 margin: 0;1130 font-size: 0.75rem;1131 letter-spacing: 0.1em;1132 color: var(--text-secondary);1133}11341135.version-hash {1136 color: var(--text-secondary);1137}11381139.version-hash:hover {1140 color: var(--accent);1141}11421143.version-list h3 {1144 margin: 0.3rem 0 0.75rem 0;1145}11461147.version-list figure {1148 margin: 0 0 1rem 0;1149}11501151/*============================*/1152/* projects - commit log */1153/*============================*/11541155/* recent commits, written by hand. stands in for a screenshot: in the1156 project banner and on the /projects/ card */1157.commit-log {1158 position: relative;1159 width: 100%;1160 max-width: 40rem;1161 margin: 0 auto;1162 padding: 1rem 1.25rem;1163 border: 1px solid var(--borders);1164 border-radius: 0.5rem;1165 background: var(--surface);1166 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);1167}11681169.commit-log-head a {1170 color: var(--text-secondary);1171}11721173.commit-log-head a:hover {1174 color: var(--accent);1175}11761177.commit-log-head {1178 display: flex;1179 justify-content: space-between;1180 gap: 1rem;1181 margin-bottom: 0.6rem;1182 padding-bottom: 0.6rem;1183 border-bottom: 1px dashed var(--borders);1184 font-size: 0.72rem;1185 letter-spacing: 0.08em;1186 color: var(--text-secondary);1187}11881189.commit-log-list {1190 list-style: none;1191 margin: 0;1192 padding: 0;1193}11941195.commit-log-row {1196 display: grid;1197 grid-template-columns: auto minmax(0, 1fr) auto;1198 gap: 1rem;1199 margin: 0;1200 padding: 0.3rem 0;1201 font-size: 0.82rem;1202 line-height: 1.5;1203}12041205.commit-log-hash,1206.commit-log-date {1207 color: var(--text-secondary);1208 font-variant-numeric: tabular-nums;1209}12101211.commit-log-msg {1212 color: var(--text-headings);1213 overflow: hidden;1214 text-overflow: ellipsis;1215 white-space: nowrap;1216}12171218/*============================*/1219/* utilities */1220/*============================*/12211222.text-center {1223 text-align: center;1224}12251226/* Skip link, hidden until focused */1227.skip-link {1228 position: absolute;1229 top: -3rem;1230 left: 0.5rem;1231 z-index: 200;1232 padding: 0.4rem 0.75rem;1233 background: var(--background-dark);1234 border: 1px solid var(--accent);1235}12361237.skip-link:focus {1238 top: 0.5rem;1239}12401241/* Caps are visual only; source text stays readable for screen readers */1242.caps,1243h4,1244.site-name,1245.site-header nav a,1246footer nav a,1247.theme-button,1248.breadcrumb,1249.page-header h1,1250.project-header-title,1251.project-card h2,1252.card-type,1253.project-stat-value,1254.card-title,1255.meta-split > span,1256.table-title,1257.table-date,1258.entry-heading h1,1259.pager-title,1260.photo-caption-date,1261.lightbox-details,1262.tracker-caption-line,1263.archive-title,1264.archive-tag,1265.archive-date,1266.pill,1267.commit-log-head,1268.commit-log-date,1269.version-date,1270.social-title,1271.comment-author,1272.comment-time,1273.comment-link {1274 text-transform: uppercase;1275}12761277/*============================*/1278/* preferences - contrast, motion */1279/*============================*/12801281/* High contrast mode support */1282@media (prefers-contrast: more) {1283 html,1284 [data-theme] {1285 --text-body: #ffffff;1286 --text-secondary: #cccccc;1287 --text-headings: #ffffff;1288 --accent: #ffff00;1289 --borders: #ffffff;1290 --accent-muted: #444444;12911292 --rating-terrible: #ff9494;1293 --rating-below-average: #ffc24d;1294 --rating-good: #ffffff;1295 --rating-above-average: #d4f06a;1296 --rating-great: #8dffab;12971298 /* flexoki 200, at least 6.8:1 on every surface */1299 --syn-fg: #ffffff;1300 --syn-punct: #e6e4d9;1301 --syn-comment: #cccccc;1302 --syn-keyword: #c4b9e0;1303 --syn-function: #92bfdb;1304 --syn-builtin: #87d3c3;1305 --syn-type: #eccb60;1306 --syn-variable: #f89a8a;1307 --syn-constant: #f9ae77;1308 --syn-string: #bec97e;1309 }13101311 a {1312 text-decoration: underline;1313 }13141315 code {1316 border: 2px solid var(--borders);1317 }1318}13191320/* Reduced motion preferences */1321@media (prefers-reduced-motion: reduce) {1322 *,1323 *::before,1324 *::after {1325 animation-duration: 0.01ms !important;1326 animation-iteration-count: 1 !important;1327 transition-duration: 0.01ms !important;1328 scroll-behavior: auto !important;1329 }1330}13311332/*============================*/1333/* print */1334/*============================*/13351336@media print {1337 html,1338 [data-theme] {1339 --text-body: #100f0f;1340 --text-headings: #100f0f;1341 --text-secondary: #575653;1342 --background-dark: #ffffff;1343 --surface: #f5f5f5;1344 --borders: #cccccc;1345 --accent: #100f0f;13461347 --rating-terrible: #af3029;1348 --rating-below-average: #bc5215;1349 --rating-good: #8e6b01;1350 --rating-above-average: #536907;1351 --rating-great: #1c6c66;13521353 /* flexoki 600/700, all at least 4.5:1 on #f5f5f5 */1354 --syn-fg: #100f0f;1355 --syn-punct: #575653;1356 --syn-comment: #6f6e69;1357 --syn-keyword: #5e409d;1358 --syn-function: #205ea6;1359 --syn-builtin: #1c6c66;1360 --syn-type: #8e6b01;1361 --syn-variable: #af3029;1362 --syn-constant: #9d4310;1363 --syn-string: #536907;1364 }13651366 pre {1367 white-space: pre-wrap;1368 overflow-wrap: anywhere;1369 break-inside: avoid;1370 }13711372 .code-label {1373 break-after: avoid;1374 }13751376 body {1377 background: white;1378 color: black;1379 display: block;1380 min-height: auto;1381 max-width: none;1382 padding: 1rem;1383 font-size: 11pt;1384 line-height: 1.4;1385 }13861387 header,1388 main,1389 footer {1390 padding: 0.25rem 0;1391 }13921393 h1 {1394 font-size: 1.4rem;1395 color: black;1396 page-break-after: avoid;1397 }13981399 h2,1400 h3 {1401 color: black;1402 page-break-after: avoid;1403 border: none;1404 }14051406 p,1407 li {1408 orphans: 3;1409 widows: 3;1410 }14111412 a {1413 color: black;1414 text-decoration: underline;1415 background: none;1416 border: none;1417 }14181419 a[href^="mailto:"]:after {1420 content: " (" attr(href) ")";1421 font-size: 0.75em;1422 }14231424 a[href^="http"]:after {1425 content: " (" attr(href) ")";1426 font-size: 0.75em;1427 }14281429 nav {1430 display: none;1431 }14321433 blockquote {1434 border-left-color: black;1435 }14361437 img {1438 border: 1px solid black;1439 page-break-inside: avoid;1440 }14411442 hr {1443 background: black;1444 }14451446 .meta {1447 color: #666;1448 }14491450 .breadcrumb,1451 .pager {1452 display: none;1453 }1454}14551456/*============================*/1457/* part 2: daum.dev only.1458 saturn's tokens and palettes, with a type and component system for a code1459 browser: Geist Pixel for all text, as on danieldaum.net, and Geist Mono1460 for code and hashes. Sentence case, few capitals. */1461/*============================*/14621463:root {1464 --ui: "Geist Pixel", system-ui, -apple-system, "Segoe UI", sans-serif;1465 --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;1466 --pixel: "Geist Pixel", ui-monospace, monospace;1467 --radius: 10px;1468 --radius-sm: 6px;1469 --add: var(--syn-string);1470 --del: var(--syn-variable);1471 --sig: color-mix(in oklab, var(--add) 12%, var(--box)); /* verified signatures */1472 --sig-edge: color-mix(in oklab, var(--add) 55%, var(--rule));14731474 /* layers, darkest first. The page is saturn's own background, so1475 moving between danieldaum.net and here doesn't change it. Each layer1476 above it lifts the lightness by about the steps of the Paint themes1477 for Gitea (box, box header, hover, border) and keeps the palette's1478 hue. web/contrast_test.go checks the text on them. */1479 --page: var(--background-dark);1480 --box: color-mix(in oklab, var(--background-dark) 98%, white);1481 --box-head: color-mix(in oklab, var(--background-dark) 95%, white);1482 --hover: color-mix(in oklab, var(--background-dark) 92%, white);1483 --rule: color-mix(in oklab, var(--background-dark) 86%, white);1484 --edge: color-mix(in oklab, var(--background-dark) 80%, white);1485 --line: color-mix(in oklab, var(--background-dark) 76%, white);14861487 /* text: content near the heading colour, --text-secondary for metadata */1488 --body-text: color-mix(in oklab, var(--text-body) 45%, var(--text-headings));1489 --accent-bright: color-mix(in oklab, var(--accent) 82%, white);1490 --accent-edge: color-mix(in oklab, var(--accent) 45%, var(--edge));14911492 /* heatmap and activity steps: the box mixed toward the accent */1493 --heat-1: color-mix(in oklab, var(--accent) 30%, var(--box));1494 --heat-2: color-mix(in oklab, var(--accent) 52%, var(--box));1495 --heat-3: color-mix(in oklab, var(--accent) 76%, var(--box));14961497 /* depth: Paint's soft card shadow and a faint top highlight */1498 --highlight: inset 0 1px 0 rgb(255 255 255 / 0.03);1499 --depth: var(--highlight), 0 1px 1px rgb(0 0 0 / 0.25);1500}15011502/* body keeps saturn's size, colour and background, so the header, the1503 footer and the 78ch page width match danieldaum.net exactly. The code1504 browser's own type starts at main. */1505main {1506 font-family: var(--ui);1507 font-size: 15px;1508 line-height: 1.55;1509 color: var(--body-text);1510}15111512p {1513 color: var(--body-text);1514}15151516/* names and numbers */1517time,1518.count,1519.f-size,1520.f-age,1521.lang-pct,1522.diffstat,1523.stat-pill,1524.diff-summary,1525.file-stats,1526.repo-card-meta,1527.heat-body,1528.ln {1529 font-variant-numeric: tabular-nums;1530}15311532/* one focus ring for everything interactive */1533a:focus-visible,1534button:focus-visible,1535summary:focus-visible,1536input:focus-visible {1537 outline: 2px solid var(--accent-bright);1538 outline-offset: 2px;1539}15401541h1, h2, h3,1542.site-name {1543 font-family: var(--pixel);1544 font-weight: normal;1545}15461547/* saturn capitalises nav and labels; a code browser reads better without.1548 The chrome and the page headers keep saturn's capitals. */1549.pill,1550.card-title {1551 text-transform: none;1552}15531554.muted {1555 color: var(--text-secondary);1556}15571558.sr-only {1559 position: absolute;1560 width: 1px;1561 height: 1px;1562 overflow: hidden;1563 clip-path: inset(50%);1564 white-space: nowrap;1565}15661567.empty,1568.hint {1569 color: var(--text-secondary);1570 font-size: 0.9rem;1571}15721573/* icons: Octicons (16px grid, filled paths), coloured by currentColor */1574.sprite {1575 position: absolute;1576 width: 0;1577 height: 0;1578 overflow: hidden;1579}15801581.icon {1582 display: inline-block;1583 flex: none;1584 width: 16px;1585 height: 16px;1586 vertical-align: -3px;1587 fill: currentColor;1588 border: 0;1589}15901591/* file icons: material-icon-theme, as on Gitea. They keep their own1592 colours, so they don't follow data-theme. */1593.ficon {1594 display: inline-block;1595 flex: none;1596 width: 16px;1597 height: 16px;1598 vertical-align: -3px;1599}16001601/* avatars are images; saturn styles every img as a full-width bordered photo */1602img.avatar-xs,1603img.avatar-sm {1604 display: inline-block;1605 flex: none;1606 border: 0;1607 border-radius: 0;1608}16091610.avatar-xs,1611.avatar-sm {1612 border-radius: 50% !important;1613 object-fit: cover;1614}16151616.avatar-xs { width: 20px; height: 20px; }1617.avatar-sm { width: 24px; height: 24px; }16181619.avatar-none {1620 display: inline-grid;1621 place-items: center;1622 flex: none;1623 color: var(--text-secondary);1624 background: var(--box-head);1625 box-shadow: 0 0 0 1px var(--rule);1626}16271628.avatar-none .icon {1629 width: 12px;1630 height: 12px;1631}16321633/* controls */1634.button,1635.chip {1636 display: inline-flex;1637 align-items: center;1638 gap: 0.45rem;1639 padding: 0.35rem 0.8rem;1640 border: 1px solid var(--line);1641 border-radius: var(--radius-sm);1642 background: var(--box-head);1643 color: var(--text-headings);1644 font-size: 0.85rem;1645 line-height: 1.3;1646 white-space: nowrap;1647 transition: border-color 150ms ease, background 150ms ease, color 150ms ease;1648}16491650.button:hover,1651a.chip:hover {1652 border-color: var(--accent-edge);1653 color: var(--accent-bright);1654}16551656.button--small {1657 padding: 0.2rem 0.6rem;1658 font-size: 0.8rem;1659}16601661.button--primary {1662 background: var(--accent);1663 border-color: var(--accent);1664 color: var(--background-dark);1665 font-weight: 600;1666}16671668.button--primary:hover {1669 background: color-mix(in oklab, var(--accent) 85%, white);1670 border-color: color-mix(in oklab, var(--accent) 85%, white);1671 color: var(--background-dark);1672}16731674.chip--inline {1675 padding: 0.05rem 0.5rem;1676 font-family: var(--mono);1677 font-size: 0.78rem;1678}16791680.badge {1681 display: inline-flex;1682 align-items: center;1683 padding: 0.05rem 0.5rem;1684 border: 1px solid var(--line);1685 border-radius: 999px;1686 font-size: 0.72rem;1687 font-weight: 500;1688 line-height: 1.5;1689 color: var(--text-secondary);1690 white-space: nowrap;1691}16921693.badge--latest,1694.badge--open { color: var(--add); border-color: color-mix(in oklab, var(--add) 55%, transparent); }1695.badge--merged { color: var(--syn-keyword); border-color: color-mix(in oklab, var(--syn-keyword) 55%, transparent); }1696.badge--closed { color: var(--del); border-color: color-mix(in oklab, var(--del) 55%, transparent); }1697.badge--pre { color: var(--syn-type); border-color: color-mix(in oklab, var(--syn-type) 55%, transparent); }16981699.sha {1700 padding: 0.05rem 0.4rem;1701 border: 1px solid var(--rule);1702 border-radius: 4px;1703 font-family: var(--mono);1704 font-size: 0.78rem;1705 color: var(--text-secondary);1706 white-space: nowrap;1707}17081709a.sha:hover {1710 color: var(--accent-bright);1711 border-color: var(--accent-edge);1712}17131714/* signed commits, as on Gitea: a verified hash gets a green edge and a1715 lock with the signer's avatar, a signed but unverified one an open lock */1716.sha--verified,1717.sha--signed {1718 display: inline-flex;1719 align-items: center;1720}17211722.sha--verified,1723a.sha--verified:hover {1724 border-color: var(--sig-edge);1725}17261727.sha-sig {1728 display: inline-flex;1729 align-self: stretch;1730 align-items: center;1731 gap: 0.25rem;1732 margin: -0.05rem -0.4rem -0.05rem 0.4rem;1733 padding: 0 0.3rem;1734 border-left: 1px solid var(--rule);1735 border-radius: 0 3px 3px 0;1736 background: var(--box-head);1737}17381739.sha--verified .sha-sig {1740 border-left-color: var(--sig-edge);1741 background: var(--sig);1742 color: var(--add);1743}17441745.sha-sig .icon {1746 width: 12px;1747 height: 12px;1748 vertical-align: 0;1749}17501751.sha-sig img.avatar-xs {1752 width: 14px;1753 height: 14px;1754}17551756/* copy fields: a read-only input plus a copy button (copy.js shows it) */1757.copyfield {1758 display: flex;1759 min-width: 0;1760}17611762.copyfield input {1763 flex: 1;1764 min-width: 0;1765 padding: 0.45rem 0.65rem;1766 font-family: var(--mono);1767 font-size: 0.8rem;1768 color: var(--text-headings);1769 background: var(--box);1770 border: 1px solid var(--line);1771 border-radius: var(--radius-sm);1772}17731774.copyfield input:focus-visible {1775 outline: 2px solid var(--accent-bright);1776 outline-offset: -1px;1777}17781779.copyfield:has(.copy:not([hidden])) input {1780 border-top-right-radius: 0;1781 border-bottom-right-radius: 0;1782}17831784.copy {1785 display: inline-grid;1786 place-items: center;1787 width: 2.2rem;1788 padding: 0;1789 border: 1px solid var(--line);1790 border-left: 0;1791 border-radius: 0 var(--radius-sm) var(--radius-sm) 0;1792 background: var(--box-head);1793 color: var(--text-secondary);1794 cursor: pointer;1795}17961797.copy:hover {1798 color: var(--accent-bright);1799}18001801.copy .icon-check,1802.copy.copied .icon-copy,1803.button--copy .icon-check,1804.button--copy.copied .icon-copy {1805 display: none;1806}18071808.copy.copied .icon-check,1809.button--copy.copied .icon-check {1810 display: inline-block;1811 color: var(--add);1812}18131814/* Raw and copy on file pages, joined like one split button. Without JS the1815 copy button stays hidden and Raw keeps its own corners. */1816.button-group {1817 display: inline-flex;1818}18191820.button-group > .button:has(+ .button:not([hidden])) {1821 border-top-right-radius: 0;1822 border-bottom-right-radius: 0;1823}18241825.button-group > .button + .button {1826 margin-left: -1px;1827 border-top-left-radius: 0;1828 border-bottom-left-radius: 0;1829}18301831.button-group > .button:hover,1832.button-group > .button:focus-visible {1833 position: relative; /* the hovered edge draws over its neighbour's */1834}18351836.button--copy {1837 cursor: pointer;1838}18391840/* their display rules would otherwise beat [hidden]: copy.js reveals them */1841.copy[hidden],1842.button--copy[hidden] {1843 display: none;1844}18451846/* boxes: the one container for listings, files, readmes and diffs */1847.box {1848 margin-bottom: 1.25rem;1849 border: 1px solid var(--edge);1850 border-radius: var(--radius);1851 background: var(--box);1852 box-shadow: var(--depth);1853 overflow: hidden;1854}18551856.box-head {1857 display: flex;1858 flex-wrap: wrap;1859 align-items: center;1860 gap: 0.5rem 0.6rem;1861 margin: 0;1862 padding: 0.7rem 1rem;1863 border-bottom: 1px solid var(--rule);1864 background: var(--box-head);1865 box-shadow: var(--highlight);1866 font-family: var(--ui);1867 font-size: 0.875rem;1868 font-weight: 600;1869 color: var(--text-headings);1870}18711872.box-head .icon {1873 color: var(--text-secondary);1874}18751876.box-note {1877 margin: 0;1878 padding: 1.25rem 1rem;1879 color: var(--text-secondary);1880 font-size: 0.9rem;1881}18821883/* links inside listings are components, not underlined prose links */1884.box :where(td, li, span, div) > a:not([class]) {1885 border-bottom: 0;1886}18871888/* rows: commits, pulls, packages, refs */1889.rows {1890 margin: 0;1891 padding: 0;1892 list-style: none;1893}18941895.rows > li {1896 margin: 0;1897}18981899.rows > li + li {1900 border-top: 1px solid var(--rule);1901}19021903.row {1904 display: flex;1905 align-items: center;1906 gap: 0.75rem;1907 padding: 0.7rem 1rem;1908 transition: background 120ms ease;1909}19101911.row:hover,1912.files tr:hover td {1913 background: var(--hover);1914}19151916.row-main {1917 display: grid;1918 flex: 1;1919 min-width: 0;1920 gap: 0.15rem;1921}19221923.row-title {1924 overflow: hidden;1925 color: var(--text-headings);1926 font-weight: 500;1927 text-overflow: ellipsis;1928 white-space: nowrap;1929}19301931a.row-title:hover,1932.row-title a:hover {1933 color: var(--accent-bright);1934}19351936.row-title a {1937 color: var(--text-headings);1938}19391940.row-title .badge {1941 margin-left: 0.5rem;1942}19431944.row-sub {1945 overflow: hidden;1946 color: var(--text-secondary);1947 font-size: 0.8rem;1948 text-overflow: ellipsis;1949 white-space: nowrap;1950}19511952.row-sub a {1953 color: var(--text-secondary);1954}19551956.row time {1957 color: var(--text-secondary);1958 font-size: 0.8rem;1959 white-space: nowrap;1960}19611962.pkg-icon,1963.pr-icon {1964 display: inline-grid;1965 place-items: center;1966 flex: none;1967 color: var(--text-secondary);1968}19691970.pr--open { color: var(--add); }1971.pr--merged { color: var(--syn-keyword); }1972.pr--closed { color: var(--del); }19731974.package .copyfield {1975 margin-top: 0.5rem;1976 max-width: 36rem;1977}19781979/* container images: one box per image, one <details> per digest */1980.image-ref {1981 font-family: var(--mono);1982 font-size: 0.82rem;1983 overflow-wrap: anywhere;1984}19851986.image-count {1987 margin-left: auto;1988 color: var(--text-secondary);1989 font-weight: 400;1990 font-size: 0.8rem;1991}19921993.image-pull {1994 padding: 0.75rem 1rem;1995 border-bottom: 1px solid var(--rule);1996}19971998.image-pull .copyfield,1999.image-body .copyfield {2000 max-width: 44rem;2001}20022003.image-version summary {2004 list-style: none;2005 cursor: pointer;2006}20072008.image-version summary::-webkit-details-marker {2009 display: none;2010}20112012.image-version summary .icon-chevron {2013 color: var(--text-secondary);2014 transition: transform 150ms ease;2015}20162017.image-version[open] summary .icon-chevron {2018 transform: rotate(180deg);2019}20202021.image-tags {2022 display: flex;2023 flex-wrap: wrap;2024 gap: 0.3rem;2025 white-space: normal;2026}20272028.image-body {2029 display: grid;2030 gap: 0.9rem;2031 padding: 0.25rem 1rem 1rem 3.1rem;2032}20332034.digest {2035 padding: 0;2036 border: 0;2037 background: none;2038 color: var(--text-headings);2039 font-family: var(--mono);2040 font-size: 0.78rem;2041 overflow-wrap: anywhere;2042}20432044.meta-list {2045 display: grid;2046 grid-template-columns: max-content 1fr;2047 gap: 0.35rem 1.25rem;2048 margin: 0;2049 font-size: 0.85rem;2050}20512052.meta-list dt {2053 color: var(--text-secondary);2054}20552056.meta-list dd {2057 margin: 0;2058 min-width: 0;2059 color: var(--body-text);2060 overflow-wrap: anywhere;2061}20622063.meta-list a {2064 color: var(--text-headings);2065 border-bottom: 1px solid var(--accent-edge);2066}20672068.meta-list a:hover {2069 color: var(--accent-bright);2070}20712072.platforms {2073 display: grid;2074 gap: 0.5rem;2075 margin: 0;2076 padding: 0;2077 list-style: none;2078}20792080.platforms li {2081 display: grid;2082 grid-template-columns: 9rem 1fr auto;2083 gap: 0.25rem 1rem;2084 align-items: baseline;2085 margin: 0;2086 padding: 0.6rem 0.8rem;2087 border: 1px solid var(--rule);2088 border-radius: var(--radius-sm);2089 background: var(--box-head);2090 font-size: 0.85rem;2091}20922093.plat-name {2094 color: var(--text-headings);2095 font-family: var(--mono);2096 font-size: 0.8rem;2097 font-weight: 500;2098}20992100.plat-os {2101 color: var(--body-text);2102}21032104.plat-size {2105 color: var(--text-secondary);2106 font-variant-numeric: tabular-nums;2107 white-space: nowrap;2108}21092110.platforms .digest {2111 grid-column: 1 / -1;2112 color: var(--text-secondary);2113}21142115@media (max-width: 600px) {2116 .image-body {2117 padding-left: 1rem;2118 }21192120 .meta-list {2121 grid-template-columns: 1fr;2122 gap: 0.1rem;2123 }21242125 .meta-list dd + dt {2126 margin-top: 0.5rem;2127 }21282129 .platforms li {2130 grid-template-columns: 1fr auto;2131 }21322133 .plat-os {2134 grid-column: 1 / -1;2135 grid-row: 2;2136 }2137}21382139/* heatmap: fits its box at any width; colours follow the palette */2140.heat-body {2141 padding: 1rem 1rem 0.75rem;2142}21432144.heatmap {2145 display: block;2146 width: 100%;2147 height: auto;2148 border: 0;2149}21502151.heatmap text {2152 fill: var(--text-secondary);2153 font-family: var(--ui);2154 font-size: 9px;2155}21562157.heatmap .h0, .heat-legend .h0 { fill: var(--hover); background: var(--hover); }2158.heatmap .h1, .heat-legend .h1 { fill: var(--heat-1); background: var(--heat-1); }2159.heatmap .h2, .heat-legend .h2 { fill: var(--heat-2); background: var(--heat-2); }2160.heatmap .h3, .heat-legend .h3 { fill: var(--heat-3); background: var(--heat-3); }2161.heatmap .h4, .heat-legend .h4 { fill: var(--accent); background: var(--accent); }21622163.heat-legend {2164 display: flex;2165 justify-content: flex-end;2166 align-items: center;2167 gap: 3px;2168 margin: 0.5rem 0 0;2169 color: var(--text-secondary);2170 font-size: 0.75rem;2171}21722173.heat-legend i {2174 width: 10px;2175 height: 10px;2176 border-radius: 2px;2177}21782179/* activity: stats in the box head, weekly bars over the heatmap */2180.activity-stats {2181 display: inline-flex;2182 flex-wrap: wrap;2183 gap: 0.25rem 1rem;2184 margin-left: auto;2185 color: var(--text-secondary);2186 font-size: 0.8rem;2187 font-weight: 400;2188}21892190.activity-stats b {2191 color: var(--text-headings);2192 font-weight: 600;2193 font-variant-numeric: tabular-nums;2194}21952196.streak {2197 display: inline-flex;2198 align-items: center;2199 gap: 0.3rem;2200}22012202.streak .icon {2203 color: var(--syn-constant);2204}22052206/* activity bars: the heatmap's columns and width, so each bar sits over its2207 week; colours come from tokens only */2208.bars {2209 display: block;2210 width: 100%;2211 height: auto;2212 margin-bottom: 0.75rem;2213 border: 0;2214}22152216.bars text {2217 fill: var(--text-secondary);2218 font-family: var(--ui);2219 font-size: 9px;2220 font-variant-numeric: tabular-nums;2221 pointer-events: none;2222}22232224.bars line,2225.bars-streak {2226 fill: none;2227 stroke-width: 1;2228 pointer-events: none;2229}22302231.bars-grid { stroke: color-mix(in oklab, var(--rule) 55%, var(--box)); }2232.bars-base { stroke: var(--edge); }2233.bars-month { stroke: var(--rule); stroke-dasharray: 1 3; }2234.bars-grid, .bars-base, .bars-month { shape-rendering: crispEdges; }22352236.bars-hit {2237 fill: transparent;2238 transition: fill 120ms;2239}22402241.bars-hit:hover { fill: color-mix(in oklab, var(--text-headings) 5%, transparent); }22422243.bars-bar {2244 fill: var(--bar);2245 pointer-events: none;2246 transition: fill 120ms;2247}22482249.bars .h1 { --bar: var(--heat-1); }2250.bars .h2 { --bar: var(--heat-2); }2251.bars .h3 { --bar: var(--heat-3); }2252.bars .h4 { --bar: var(--accent); }2253.bars-stub { --bar: var(--hover); }2254.bars-hit:hover + .bars-bar { fill: color-mix(in oklab, var(--bar) 72%, white); }2255/* headings colour, not the accent: the top step is filled with the accent */2256.bars-now { stroke: var(--text-headings); stroke-width: 1; }22572258.bars-streak { stroke: var(--syn-constant); }22592260@media (prefers-reduced-motion: reduce) {2261 .bars-hit,2262 .bars-bar { transition: none; }2263}22642265/* small screens: the last 26 weeks of both, rendered separately */2266.heat-half { display: none; }22672268@media (max-width: 600px) {2269 .heat-year { display: none; }2270 .heat-half { display: block; }2271}22722273/* sparklines: the accent line over a faint area */2274.spark {2275 display: block;2276 flex: none;2277 width: 96px;2278 height: 24px;2279 border: 0;2280 overflow: visible;2281}22822283.spark-line {2284 fill: none;2285 stroke: var(--accent);2286 stroke-width: 1.5;2287 stroke-linejoin: round;2288 stroke-linecap: round;2289 vector-effect: non-scaling-stroke;2290}22912292.spark-area {2293 fill: color-mix(in oklab, var(--accent) 16%, transparent);2294}22952296.spark--flat .spark-line {2297 stroke: var(--edge);2298}22992300.spark--flat .spark-area {2301 fill: none;2302}23032304/* featured repos: a head row with a link to the repos page */2305.section-head {2306 display: flex;2307 flex-wrap: wrap;2308 align-items: baseline;2309 justify-content: space-between;2310 gap: 0.25rem 1rem;2311}23122313.section-link {2314 color: var(--text-secondary);2315 font-size: 0.82rem;2316 transition: color 150ms ease;2317}23182319.section-link:hover {2320 color: var(--accent-bright);2321}23222323/* recently active: a small accent pill on the card, and an accent edge */2324.repo-card--active {2325 border-color: var(--accent-edge);2326}23272328.pill-active {2329 display: inline-flex;2330 align-items: center;2331 gap: 0.25rem;2332 padding: 0.05rem 0.5rem;2333 border-radius: 999px;2334 background: color-mix(in oklab, var(--accent) 16%, var(--box));2335 color: var(--accent-bright);2336 font-size: 0.7rem;2337 font-weight: 500;2338 line-height: 1.5;2339 white-space: nowrap;2340}23412342.repo-card-title {2343 min-width: 0;2344 max-width: calc(100% - 1.5rem);2345 overflow: hidden;2346 text-overflow: ellipsis;2347 white-space: nowrap;2348}23492350/* activity feed: a compact text timeline, styled after saturn's comment2351 threads (meta line, body, small links, a rule for nested lines) */2352.feed {2353 margin-top: 2rem;2354 padding-top: 0.25rem;2355 border-top: 1px dashed var(--rule);2356}23572358.timeline {2359 margin: 0.25rem 0 0;2360 padding: 0;2361 list-style: none;2362}23632364.tl-item {2365 position: relative;2366 display: grid;2367 grid-template-columns: 3rem 1.25rem minmax(0, 1fr);2368 grid-template-areas: "time who main";2369 gap: 0 0.7rem;2370 margin: 0;2371 padding: 0.2rem 0;2372}23732374.tl-time {2375 grid-area: time;2376 padding-top: 0.1rem;2377 color: var(--text-secondary);2378 font-family: var(--mono);2379 font-size: 0.72rem;2380 white-space: nowrap;2381}23822383.tl-who {2384 grid-area: who;2385 position: relative;2386 width: 1.25rem;2387 height: 1.25rem;2388}23892390.tl-who .avatar-sm {2391 width: 1.25rem;2392 height: 1.25rem;2393}23942395.tl-who .avatar-none .icon {2396 width: 10px;2397 height: 10px;2398}23992400.tl-badge {2401 position: absolute;2402 right: -0.3rem;2403 bottom: -0.25rem;2404 display: grid;2405 place-items: center;2406 width: 0.85rem;2407 height: 0.85rem;2408 border: 1px solid var(--rule);2409 border-radius: 50%;2410 background: var(--page);2411 color: var(--text-secondary);2412}24132414.tl-badge .icon {2415 width: 9px;2416 height: 9px;2417}24182419.tl--merged .tl-badge { color: var(--syn-keyword); }2420.tl--opened .tl-badge,2421.tl--issue .tl-badge { color: var(--add); }2422.tl--release .tl-badge { color: var(--syn-type); }2423.tl--created .tl-badge { color: var(--syn-function); }24242425.tl-main {2426 grid-area: main;2427 min-width: 0;2428}24292430.tl-text {2431 margin: 0;2432 color: var(--body-text);2433 font-size: 0.85rem;2434 line-height: 1.4;2435}24362437.tl-actor {2438 color: var(--text-headings);2439 font-weight: 600;2440}24412442.tl-text a {2443 color: var(--text-headings);2444 font-weight: 600;2445 transition: color 150ms ease;2446}24472448.tl-text a.tl-title {2449 font-weight: 400;2450 border-bottom: 1px solid var(--rule);2451}24522453.tl-text a:hover {2454 color: var(--accent-bright);2455}24562457.tl-ref,2458.tl-text a.tl-ref {2459 padding: 0;2460 border: 0;2461 background: none;2462 color: var(--text-secondary);2463 font-family: var(--mono);2464 font-size: 0.85em;2465 font-weight: 400;2466}24672468/* commit lines sit on a rule, like saturn's comment replies */2469.tl-commits {2470 display: grid;2471 margin: 0.1rem 0 0;2472 padding: 0 0 0 0.75rem;2473 border-left: 1px solid var(--rule);2474 list-style: none;2475}24762477.tl-commits li {2478 display: flex;2479 align-items: baseline;2480 gap: 0.7rem;2481 min-width: 0;2482 margin: 0;2483 font-size: 0.78rem;2484 line-height: 1.45;2485}24862487.tl-sha {2488 flex: none;2489 color: var(--syn-function);2490 font-family: var(--mono);2491 font-size: 0.72rem;2492}24932494a.tl-sha:hover {2495 color: var(--accent-bright);2496}24972498.tl-sig {2499 display: inline-flex;2500 flex: none;2501 align-self: center;2502 margin-left: -0.45rem;2503 color: var(--add);2504}25052506.tl-sig .icon {2507 width: 12px;2508 height: 12px;2509}25102511.tl-subject {2512 overflow: hidden;2513 color: var(--text-secondary);2514 text-overflow: ellipsis;2515 white-space: nowrap;2516}25172518.tl-commits .tl-foot {2519 gap: 0.6rem;2520 font-size: 0.72rem;2521}25222523/* like saturn's .comment-author tag */2524.tl-chip {2525 padding: 0 0.4rem;2526 border: 1px solid var(--rule);2527 border-radius: 999px;2528 color: var(--text-secondary);2529 font-family: var(--mono);2530 font-size: 0.68rem;2531}25322533/* like saturn's .comment-link */2534.tl-link {2535 color: var(--syn-function);2536 transition: color 150ms ease;2537}25382539.tl-link:hover {2540 color: var(--accent-bright);2541}25422543@media (max-width: 600px) {2544 .tl-item {2545 grid-template-columns: 1.25rem minmax(0, 1fr);2546 grid-template-areas: "who time" "who main";2547 gap: 0 0.6rem;2548 }25492550 .tl-time {2551 padding: 0;2552 font-size: 0.68rem;2553 }25542555 .activity-stats {2556 margin-left: 0;2557 flex-basis: 100%;2558 }2559}25602561/* repository cards */2562.section-title {2563 margin: 2rem 0 0.75rem;2564 font-size: 1.1rem;2565}25662567.repo-grid {2568 display: grid;2569 grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));2570 gap: 0.75rem;2571}25722573.repo-card {2574 display: flex;2575 flex-direction: column;2576 gap: 0.4rem;2577 padding: 1rem;2578 border: 1px solid var(--edge);2579 border-radius: var(--radius);2580 background: var(--box);2581 box-shadow: var(--depth);2582 transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;2583}25842585.repo-card:hover {2586 border-color: var(--accent-edge);2587 background: color-mix(in oklab, var(--box) 55%, var(--hover));2588 box-shadow: var(--depth), inset 0 0 0 1px color-mix(in oklab, var(--accent) 18%, transparent);2589 transform: translateY(-1px);2590}25912592/* the name keeps its width; the pills wrap under it when the card is narrow */2593.repo-card-name {2594 display: flex;2595 flex-wrap: wrap;2596 align-items: center;2597 gap: 0.4rem 0.5rem;2598 color: var(--text-headings);2599 font-weight: 600;2600}26012602.repo-card-name .icon {2603 color: var(--text-secondary);2604}26052606.repo-card:hover .repo-card-name {2607 color: var(--accent-bright);2608}26092610.repo-card-desc {2611 flex: 1;2612 color: var(--body-text);2613 font-size: 0.875rem;2614}26152616.repo-card-desc--none {2617 color: var(--text-secondary);2618}26192620.repo-card-foot {2621 display: flex;2622 align-items: flex-end;2623 justify-content: space-between;2624 gap: 0.75rem;2625 margin-top: 0.25rem;2626}26272628.badge--release {2629 margin-left: auto;2630 color: var(--accent-bright);2631 border-color: var(--accent-edge);2632 font-family: var(--mono);2633 font-weight: 500;2634}26352636.repo-card-meta {2637 display: flex;2638 flex-wrap: wrap;2639 gap: 0.25rem 1rem;2640 margin-top: 0.25rem;2641 color: var(--text-secondary);2642 font-size: 0.8rem;2643}26442645/* language colours use the syntax roles so they follow the palette */2646.dot {2647 display: inline-block;2648 width: 0.6rem;2649 height: 0.6rem;2650 margin-right: 0.4rem;2651 border-radius: 50%;2652 background: var(--text-secondary);2653}26542655.lang-0 { background: var(--syn-keyword); fill: var(--syn-keyword); }2656.lang-1 { background: var(--syn-function); fill: var(--syn-function); }2657.lang-2 { background: var(--syn-builtin); fill: var(--syn-builtin); }2658.lang-3 { background: var(--syn-type); fill: var(--syn-type); }2659.lang-4 { background: var(--syn-variable); fill: var(--syn-variable); }2660.lang-5 { background: var(--syn-constant); fill: var(--syn-constant); }2661.lang-6 { background: var(--syn-string); fill: var(--syn-string); }2662.lang-7 { background: var(--accent); fill: var(--accent); }2663.lang-other { background: var(--text-secondary); fill: var(--text-secondary); }26642665/* repo header */2666.repo-head {2667 margin-bottom: 1.25rem;2668}26692670/* the h1 is saturn's post header; this only lines up the archived pill */2671.repo-title {2672 display: flex;2673 flex-wrap: wrap;2674 align-items: center;2675 gap: 0.5rem;2676}26772678.repo-title .pill {2679 font-family: var(--ui);2680 font-size: 0.72rem;2681}26822683.topics {2684 margin-top: 0.75rem;2685}26862687.topics .pill {2688 padding: 0.15rem 0.65rem;2689 border-color: transparent;2690 background: color-mix(in oklab, var(--accent) 14%, var(--box));2691 color: var(--accent-bright);2692 font-size: 0.75rem;2693 letter-spacing: 0;2694}26952696.repo-meta {2697 display: flex;2698 flex-wrap: wrap;2699 gap: 0.4rem 1.25rem;2700 margin: 0.85rem 0 0;2701 padding: 0;2702 list-style: none;2703 font-size: 0.875rem;2704 color: var(--text-secondary);2705}27062707.repo-meta li {2708 display: inline-flex;2709 align-items: center;2710 gap: 0.45rem;2711 margin: 0;2712}27132714.repo-meta a {2715 border: 0;2716 color: var(--text-headings);2717}27182719.repo-meta a:hover {2720 color: var(--accent-bright);2721}27222723/* repo tabs: plain words like the site nav, the open one in the accent and2724 underlined. The underline is as wide as the word. */2725.tabs {2726 display: flex;2727 flex-wrap: nowrap; /* saturn's nav wraps; tabs scroll instead */2728 gap: 1.5rem;2729 margin: 0 0 1.25rem;2730 overflow-x: auto;2731 border-bottom: 1px solid var(--rule);2732 font-size: 0.875rem;2733 scrollbar-width: none;2734}27352736.tabs a {2737 flex: none; /* Safari shrinks scrolling flex items until they overlap */2738 display: inline-flex;2739 align-items: baseline;2740 gap: 0.3rem;2741 margin-bottom: -1px;2742 padding: 0.6rem 0;2743 border-bottom: 2px solid transparent;2744 color: var(--text-secondary);2745 white-space: nowrap;2746 transition: color 150ms ease, border-color 150ms ease;2747}27482749.tabs a:hover {2750 color: var(--text-headings);2751}27522753.tabs a[aria-current="page"] {2754 color: var(--accent-bright);2755 border-bottom-color: var(--accent-bright);2756}27572758.count {2759 color: var(--text-secondary);2760 font-size: 0.75rem;2761}27622763/* code box */2764.box-bar {2765 display: flex;2766 flex-wrap: wrap;2767 align-items: center;2768 gap: 0.6rem 1.25rem;2769 padding: 0.75rem 1rem;2770 border-bottom: 1px solid var(--rule);2771 font-size: 0.875rem;2772}27732774.box-bar .chip {2775 font-family: var(--mono);2776 font-size: 0.8rem;2777}27782779/* clone menu: a <details>, so it opens without js */2780.clone {2781 position: relative;2782 margin-left: auto;2783}27842785.clone summary {2786 list-style: none;2787 cursor: pointer;2788}27892790.clone summary::-webkit-details-marker {2791 display: none;2792}27932794.clone summary .icon-chevron {2795 transition: transform 150ms ease;2796}27972798.clone[open] summary .icon-chevron {2799 transform: rotate(180deg);2800}28012802.clone-pop {2803 position: absolute;2804 top: calc(100% + 0.5rem);2805 right: 0;2806 z-index: 10;2807 display: grid;2808 gap: 0.4rem;2809 width: min(28rem, 86vw);2810 padding: 0.9rem 1rem 1rem;2811 border: 1px solid var(--line);2812 border-radius: var(--radius);2813 background: var(--box-head);2814 box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);2815}28162817.clone-label {2818 margin: 0.25rem 0 0;2819 color: var(--text-secondary);2820 font-size: 0.75rem;2821 font-weight: 600;2822}28232824/* latest commit row */2825.box-commit {2826 display: flex;2827 flex-wrap: wrap;2828 align-items: center;2829 gap: 0.5rem 0.75rem;2830 padding: 0.65rem 1rem;2831 border-bottom: 1px solid var(--rule);2832 background: var(--box-head);2833 font-size: 0.875rem;2834}28352836.commit-author {2837 color: var(--text-headings);2838 font-weight: 600;2839}28402841.commit-msg {2842 flex: 1 1 10rem;2843 min-width: 0;2844 overflow: hidden;2845 color: var(--text-headings);2846 font-weight: 500;2847 white-space: nowrap;2848 mask-image: linear-gradient(to right, black calc(100% - 3rem), transparent);2849}28502851.commit-msg:hover {2852 color: var(--accent-bright);2853}28542855.box-commit time {2856 color: var(--text-secondary);2857 white-space: nowrap;2858}28592860.ci {2861 display: inline-flex;2862 align-items: center;2863 gap: 0.3rem;2864 color: var(--text-secondary);2865 font-size: 0.8rem;2866}28672868a.ci:hover {2869 color: var(--text-headings);2870}28712872.ci--success .icon { color: var(--add); }2873.ci--failure .icon,2874.ci--error .icon { color: var(--del); }2875.ci--pending .icon,2876.ci--warning .icon { color: var(--syn-type); }28772878/* file listing */2879.files {2880 width: 100%;2881 border-collapse: collapse;2882 font-size: 0.875rem;2883}28842885.files tr + tr td {2886 border-top: 1px solid var(--rule);2887}28882889.files td {2890 padding: 0.5rem 1rem;2891 vertical-align: middle;2892 transition: background 120ms ease;2893}28942895.f-name {2896 width: 1%;2897 white-space: nowrap;2898}28992900.f-name .ficon {2901 margin-right: 0.6rem;2902}29032904.f-name a,2905.f-name span {2906 color: var(--text-headings);2907 font-weight: 500;2908}29092910.f-name a:hover {2911 color: var(--accent-bright);2912}29132914/* commit messages fade out instead of ending in an ellipsis. The mask sits2915 on the text, not the cell, so the row's top border stays unbroken. */2916.f-msg {2917 max-width: 0;2918}29192920.f-msg a,2921.f-msg span {2922 display: block;2923 overflow: hidden;2924 color: var(--body-text);2925 white-space: nowrap;2926 mask-image: linear-gradient(to right, black calc(100% - 4rem), transparent);2927}29282929.f-msg a:hover {2930 color: var(--accent-bright);2931}29322933.f-size,2934.f-age {2935 width: 1%;2936 color: var(--text-secondary);2937 font-size: 0.8rem;2938 text-align: right;2939 white-space: nowrap;2940}29412942.f-size {2943 font-family: var(--mono);2944 font-size: 0.75rem;2945}29462947/* freshness: the newer the change, the warmer the age */2948.fresh-1 { color: var(--syn-constant) !important; }2949.fresh-2 { color: color-mix(in oklab, var(--syn-constant) 70%, var(--text-secondary)) !important; }2950.fresh-3 { color: color-mix(in oklab, var(--syn-constant) 35%, var(--text-secondary)) !important; }29512952@media (max-width: 720px) {2953 .f-msg,2954 .f-size {2955 display: none;2956 }29572958 .f-name {2959 width: auto;2960 }29612962 .commit-msg {2963 order: 9;2964 flex-basis: 100%;2965 }2966}29672968/* languages: a compact legend under the tabs, and a thin strip along the2969 top edge of the code box (the box's overflow clips it to the corners) */2970.langbar {2971 display: block;2972 width: 100%;2973 height: 4px;2974 border: 0;2975 border-radius: 0;2976}29772978.lang-legend {2979 display: flex;2980 flex-wrap: wrap;2981 gap: 0.25rem 1rem;2982 margin: -0.5rem 0 0.75rem;2983 padding: 0;2984 list-style: none;2985 font-size: 0.8rem;2986 color: var(--text-headings);2987}29882989.lang-legend li {2990 display: inline-flex;2991 align-items: center;2992 margin: 0;2993 line-height: 1.4;2994}29952996.lang-legend .dot {2997 width: 0.5rem;2998 height: 0.5rem;2999}30003001.lang-pct {3002 margin-left: 0.35rem;3003 color: var(--text-secondary);3004}30053006/* phones: the three languages and "other" stay on one line */3007@media (max-width: 600px) {3008 .lang-legend {3009 gap: 0.25rem 0.75rem;3010 font-size: 0.75rem;3011 }3012}30133014/* breadcrumbs */3015.crumbs {3016 display: flex;3017 flex-wrap: wrap;3018 align-items: center;3019 gap: 0.35rem;3020 margin: 0 0 0.85rem;3021 font-size: 0.95rem;3022}30233024.crumbs a {3025 color: var(--accent-bright);3026}30273028.crumbs a:hover {3029 text-decoration: underline;3030}30313032.crumbs .ficon {3033 margin-right: 0.4rem;3034}30353036.crumbs [aria-current] {3037 color: var(--text-headings);3038 font-weight: 600;3039}30403041.crumb-sep {3042 color: var(--text-secondary);3043}30443045/* README box tabs: radio inputs, so they switch without js. Without :has3046 only the first document shows, as a plain README box would. */3047.doc-tabs {3048 flex-wrap: nowrap;3049 gap: 0;3050 padding-block: 0;3051 padding-inline: 0.4rem;3052 overflow-x: auto;3053 scrollbar-width: none;3054}30553056/* phones: tab rows scroll sideways, with a fade on the right as a hint and3057 room to scroll the last tab clear of it */3058@media (max-width: 600px) {3059 .tabs,3060 .doc-tabs {3061 padding-right: 2rem;3062 mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);3063 }30643065 .tabs {3066 gap: 1.25rem;3067 }3068}30693070.doc-tabs label {3071 display: inline-flex;3072 align-items: center;3073 gap: 0.4rem;3074 padding: 0.7rem 0.55rem;3075 color: var(--text-secondary);3076 font-weight: 500;3077 white-space: nowrap;3078 cursor: pointer;3079 transition: color 150ms ease, box-shadow 150ms ease;3080}30813082.doc-tabs label:hover {3083 color: var(--text-headings);3084 box-shadow: inset 0 -2px var(--rule);3085}30863087/* the icon lights up on hover, so icon-only tabs read as clickable */3088.doc-tabs label .icon {3089 transition: color 150ms ease;3090}30913092.doc-tabs label:hover .icon {3093 color: var(--accent-bright);3094}30953096.doc-tabs input:checked + label {3097 color: var(--text-headings);3098 box-shadow: inset 0 -2px var(--accent-bright);3099}31003101.doc-tabs input:checked + label .icon {3102 color: var(--accent-bright);3103}31043105/* five or more documents can't all fit with labels, so only the open one3106 shows its label; the rest are icons, named by title and for screen readers */3107.doc-tabs--compact input:not(:checked) + label .doc-label {3108 position: absolute;3109 width: 1px;3110 height: 1px;3111 overflow: hidden;3112 clip-path: inset(50%);3113 white-space: nowrap;3114}31153116.doc-tabs input:focus-visible + label {3117 outline: 2px solid var(--accent-bright);3118 outline-offset: -4px;3119 border-radius: var(--radius-sm);3120}31213122.docs .doc + .doc {3123 display: none;3124}31253126@supports selector(:has(a)) {3127 .docs:has(.doc-tabs) .doc {3128 display: none;3129 }31303131 .docs:has(.d0:checked) .p0,3132 .docs:has(.d1:checked) .p1,3133 .docs:has(.d2:checked) .p2,3134 .docs:has(.d3:checked) .p3,3135 .docs:has(.d4:checked) .p4,3136 .docs:has(.d5:checked) .p5,3137 .docs:has(.d6:checked) .p6,3138 .docs:has(.d7:checked) .p7,3139 .docs:has(.d8:checked) .p8,3140 .docs:has(.d9:checked) .p9,3141 .docs:has(.d10:checked) .p10,3142 .docs:has(.d11:checked) .p11,3143 .docs:has(.d12:checked) .p12 {3144 display: block;3145 }3146}31473148/* plain-text documents (LICENSE) wrap like prose */3149.doc > pre:only-child {3150 margin: 0;3151 padding: 0;3152 border: 0;3153 background: none;3154 white-space: pre-wrap;3155 font-family: var(--mono);3156 font-size: 0.82rem;3157 color: var(--body-text);3158}31593160/* readme and other rendered markdown */3161.readme {3162 padding: 1.5rem 2rem 1.75rem;3163}31643165.markdown > :first-child {3166 margin-top: 0;3167}31683169.markdown > :last-child {3170 margin-bottom: 0;3171}31723173.markdown :where(p, li, td) > a:not([class]) {3174 border-bottom: 1px solid var(--accent-edge);3175}31763177:where(p, li, td, dd, blockquote, figcaption) > a:not([class]):hover {3178 color: var(--accent-bright);3179 border-bottom-color: var(--accent-bright);3180}31813182.markdown h1 { font-size: 1.6rem; margin: 1.5rem 0 0.75rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--rule); }3183.markdown h2 { font-size: 1.25rem; margin: 1.75rem 0 0.6rem; padding-bottom: 0.3rem; border-bottom: 1px solid var(--rule); }3184.markdown h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }31853186.markdown img {3187 display: inline-block;3188 width: auto;3189 max-width: 100%;3190 border: 0;3191}31923193code {3194 background: color-mix(in oklab, var(--text-headings) 9%, transparent);3195 border-color: transparent;3196}31973198hr {3199 background: var(--rule);3200}32013202.markdown pre {3203 margin: 1rem 0;3204 border-color: var(--rule);3205 background: var(--box-head);3206}32073208.markdown table {3209 margin: 0 0 1.2rem;3210 border-collapse: collapse;3211 font-size: 0.875rem;3212}32133214.markdown th,3215.markdown td {3216 padding: 0.4rem 0.75rem;3217 border: 1px solid var(--rule);3218}32193220.markdown th {3221 background: var(--box-head);3222}32233224.markdown input[type="checkbox"] {3225 margin-right: 0.4rem;3226 accent-color: var(--accent);3227}32283229@media (max-width: 600px) {3230 .readme {3231 padding: 1rem;3232 }3233}32343235.box-empty {3236 display: grid;3237 gap: 0.75rem;3238 padding: 1.5rem;3239}32403241.box-empty p {3242 margin: 0;3243}32443245/* file and diff views */3246.file-head {3247 font-weight: normal;3248}32493250.file-name {3251 color: var(--text-headings);3252 font-family: var(--mono);3253 font-size: 0.82rem;3254 font-weight: 500;3255 overflow-wrap: anywhere;3256}32573258.file-stats {3259 margin-right: auto;3260 color: var(--text-secondary);3261 font-size: 0.8rem;3262}32633264pre.code {3265 margin: 0;3266 padding: 0.75rem 0;3267 border: 0;3268 border-radius: 0;3269 background: var(--box);3270}32713272.line {3273 display: block;3274 min-height: 1.5em;3275 padding-right: 1.25rem;3276}32773278.ln {3279 display: inline-block;3280 width: 5ch;3281 margin-right: 1.25rem;3282 color: var(--text-secondary);3283 text-align: right;3284 opacity: 0.55;3285 user-select: none;3286}32873288a.ln:hover {3289 color: var(--accent-bright);3290 opacity: 1;3291}32923293.line:target {3294 background: color-mix(in oklab, var(--accent) 12%, transparent);3295 box-shadow: inset 3px 0 var(--accent);3296}32973298.file-image {3299 padding: 1.5rem;3300 text-align: center;3301 background: var(--box);3302}33033304.file-image img {3305 display: inline-block;3306 width: auto;3307 max-width: 100%;3308 border: 0;3309}33103311/* commit page */3312.commit-head {3313 padding: 1rem 1rem 0.25rem;3314}33153316.commit-title {3317 margin: 0;3318 font-size: 1.2rem;3319 color: var(--text-headings);3320}33213322.commit-body {3323 margin: 0.75rem 0 0;3324 color: var(--body-text);3325 font-size: 0.9rem;3326 white-space: pre-wrap;3327}33283329.commit-meta {3330 margin-top: 0.75rem;3331 border-top: 1px solid var(--rule);3332 border-bottom: 0;3333}33343335.commit-ids {3336 display: inline-flex;3337 flex-wrap: wrap;3338 align-items: center;3339 gap: 0.4rem;3340 margin-left: auto;3341 font-size: 0.8rem;3342}33433344.checks {3345 margin: 0;3346 padding: 0.25rem 0;3347 border-top: 1px solid var(--rule);3348 list-style: none;3349 font-size: 0.85rem;3350}33513352.checks li {3353 display: flex;3354 align-items: center;3355 gap: 0.6rem;3356 margin: 0;3357 padding: 0.4rem 1rem;3358}33593360/* commit page: the signature bar, like Gitea's */3361.sig-line {3362 display: flex;3363 flex-wrap: wrap;3364 align-items: center;3365 gap: 0.4rem 0.6rem;3366 margin: 0;3367 padding: 0.5rem 1rem;3368 border-top: 1px solid var(--rule);3369 font-size: 0.85rem;3370}33713372.sig-line b {3373 color: var(--text-headings);3374 font-weight: 600;3375}33763377.sig-line code {3378 padding: 0 0.25rem;3379 font-family: var(--mono);3380 font-size: 0.78rem;3381 overflow-wrap: anywhere;3382}33833384.sig-line--verified {3385 border-top-color: var(--sig-edge);3386 background: var(--sig);3387}33883389.sig-line--verified .icon,3390.sig-line--verified b {3391 color: var(--add);3392}33933394.checks li.ci--success .icon { color: var(--add); }3395.checks li.ci--failure .icon,3396.checks li.ci--error .icon { color: var(--del); }3397.checks li.ci--pending .icon { color: var(--syn-type); }33983399.checks b {3400 color: var(--text-headings);3401 font-weight: 500;3402}34033404.diff-summary {3405 margin: 0 0 0.75rem;3406 color: var(--text-secondary);3407 font-size: 0.875rem;3408}34093410.diff-summary b {3411 color: var(--text-headings);3412 font-weight: 600;3413}34143415.add { color: var(--add); }3416.del { color: var(--del); }34173418.diffstat {3419 margin-left: auto;3420 font-family: var(--mono);3421 font-size: 0.78rem;3422}34233424.diff .ln {3425 width: 4ch;3426 margin-right: 0.75rem;3427}34283429.diff .sign {3430 display: inline-block;3431 width: 1.5ch;3432 user-select: none;3433}34343435.diff .line.hl-added {3436 background: color-mix(in oklab, var(--add) 12%, transparent);3437}34383439.diff .line.hl-removed {3440 background: color-mix(in oklab, var(--del) 12%, transparent);3441}34423443.diff .hunk {3444 padding: 0.3rem 1.25rem;3445 color: var(--text-secondary);3446 background: color-mix(in oklab, var(--syn-function) 8%, transparent);3447}34483449/* releases */3450.release-head {3451 font-weight: normal;3452}34533454.release-tag {3455 color: var(--text-headings);3456 font-family: var(--mono);3457 font-size: 0.85rem;3458 font-weight: 600;3459}34603461.release-date {3462 margin-left: auto;3463 color: var(--text-secondary);3464 font-size: 0.8rem;3465}34663467.release-body {3468 padding: 1rem 1.25rem 1.25rem;3469}34703471.release-title {3472 margin: 0 0 0.75rem;3473 font-size: 1.25rem;3474 color: var(--text-headings);3475}34763477.assets {3478 margin: 0;3479 padding: 0;3480 border-top: 1px solid var(--rule);3481 list-style: none;3482 font-size: 0.85rem;3483}34843485.assets li {3486 display: flex;3487 align-items: center;3488 gap: 0.6rem;3489 margin: 0;3490 padding: 0.5rem 1.25rem;3491 color: var(--text-secondary);3492}34933494.assets li + li {3495 border-top: 1px solid var(--rule);3496}34973498.assets a {3499 flex: 1;3500 color: var(--text-headings);3501 font-family: var(--mono);3502 font-size: 0.8rem;3503}35043505.assets a:hover {3506 color: var(--accent-bright);3507}35083509/* pulls: each row opens its body, no js */3510.pull summary {3511 list-style: none;3512 cursor: pointer;3513}35143515.pull summary::-webkit-details-marker {3516 display: none;3517}35183519.pull-body {3520 padding: 0.25rem 1rem 1rem 3.1rem;3521 font-size: 0.9rem;3522}35233524/* comments under an issue or pull: a thin rail on the left, like a reply */3525.thread {3526 margin: 0 1rem 1rem 3.1rem;3527 padding: 0;3528 list-style: none;3529}35303531.thread-more {3532 margin: 0 1rem 0.5rem 3.1rem;3533 font-size: 0.8rem;3534}35353536.comment {3537 padding: 0.5rem 0 0.5rem 1rem;3538 border-left: 2px solid var(--rule);3539 font-size: 0.9rem;3540}35413542.comment + .comment {3543 margin-top: 0.5rem;3544}35453546.comment-head {3547 display: flex;3548 align-items: center;3549 gap: 0.4rem;3550 margin: 0 0 0.35rem;3551 color: var(--text-secondary);3552 font-size: 0.8rem;3553}35543555.comment-head b {3556 color: var(--text-headings);3557 font-weight: 600;3558}35593560.box-foot {3561 margin: 0;3562 padding: 0.6rem 1rem;3563 border-top: 1px solid var(--rule);3564 font-size: 0.8rem;3565}35663567@media (max-width: 600px) {3568 .pull-body,3569 .thread {3570 margin-left: 1rem;3571 padding-left: 0;3572 }3573}35743575/* 404 */3576.notfound {3577 padding: 4rem 0;3578 text-align: center;3579}35803581.notfound h1 {3582 color: var(--accent-bright);3583 font-size: 5rem;3584 line-height: 1;3585 margin: 0 0 1rem;3586}35873588.notfound p {3589 color: var(--text-secondary);3590}35913592.nf-repos {3593 display: flex;3594 flex-wrap: wrap;3595 justify-content: center;3596 gap: 0.5rem;3597 margin: 1.5rem auto;3598 padding: 0;3599 max-width: 36rem;3600 list-style: none;3601}36023603.nf-repos li {3604 margin: 0;3605}36063607.nf-links {3608 display: flex;3609 flex-wrap: wrap;3610 justify-content: center;3611 gap: 0.6rem;3612}36133614/*============================*/3615/* polish pass 3, phase 5: freshness, header pills, log days, empty states */3616/*============================*/36173618/* live: a still green dot for a commit in the last 24 hours */3619.live {3620 display: inline-block;3621 flex: none;3622 width: 7px;3623 height: 7px;3624 margin: 0 0.15rem 0 0.4rem;3625 border-radius: 50%;3626 background: var(--add);3627 vertical-align: middle;3628}36293630.badge--new {3631 margin-left: 0.5rem;3632 color: var(--accent-bright);3633 border-color: var(--accent-edge);3634 background: color-mix(in oklab, var(--accent) 12%, transparent);3635}36363637/* repo header: stats as compact pills */3638.repo-stats {3639 display: flex;3640 flex-wrap: wrap;3641 gap: 0.4rem;3642 margin: 0.85rem 0 0;3643 padding: 0;3644 list-style: none;3645}36463647.repo-stats li {3648 margin: 0;3649}36503651.stat-pill {3652 display: inline-flex;3653 align-items: center;3654 gap: 0.35rem;3655 padding: 0.2rem 0.65rem;3656 border: 1px solid var(--rule);3657 border-radius: 999px;3658 background: var(--box);3659 color: var(--text-secondary);3660 font-size: 0.8rem;3661 font-variant-numeric: tabular-nums;3662 white-space: nowrap;3663 transition: border-color 150ms ease, color 150ms ease, background 150ms ease;3664}36653666.stat-pill .icon {3667 width: 14px;3668 height: 14px;3669}36703671.stat-pill b {3672 color: var(--text-headings);3673 font-weight: 600;3674}36753676a.stat-pill:hover {3677 border-color: var(--accent-edge);3678 background: var(--hover);3679 color: var(--text-headings);3680}36813682.stat-pill--release {3683 border-color: var(--accent-edge);3684 background: color-mix(in oklab, var(--accent) 14%, var(--box));3685 color: var(--accent-bright);3686 font-family: var(--mono);3687 font-weight: 500;3688}36893690a.stat-pill--release:hover {3691 color: var(--accent-bright);3692 background: color-mix(in oklab, var(--accent) 22%, var(--box));3693}36943695.stat-pill.ci--success { border-color: color-mix(in oklab, var(--add) 45%, var(--rule)); }3696.stat-pill.ci--failure,3697.stat-pill.ci--error { border-color: color-mix(in oklab, var(--del) 45%, var(--rule)); }36983699/* commit log: one box per day under a sticky day header */3700.log-summary {3701 display: flex;3702 flex-wrap: wrap;3703 align-items: center;3704 gap: 0.5rem;3705 margin: 0 0 0.25rem;3706 color: var(--text-secondary);3707 font-size: 0.875rem;3708}37093710.log-group > .box {3711 margin: 0 0 1rem;3712 padding: 0;3713 list-style: none;3714}37153716.log-day {3717 position: sticky;3718 top: 0;3719 z-index: 2;3720 display: flex;3721 align-items: center;3722 gap: 0.5rem;3723 margin: 0;3724 padding: 0.6rem 0 0.5rem;3725 background: var(--page);3726 color: var(--text-secondary);3727 font-family: var(--ui);3728 font-size: 0.85rem;3729 font-weight: 600;3730}37313732.commit-item .diffstat {3733 margin-left: 0;3734 white-space: nowrap;3735}37363737/* phones: stats, checks and hash drop to a second line under the subject */3738@media (max-width: 600px) {3739 .commit-item {3740 flex-wrap: wrap;3741 row-gap: 0.35rem;3742 }37433744 .commit-item .row-main {3745 flex-basis: calc(100% - 2rem);3746 }37473748 .commit-item .row-main + * {3749 margin-left: 2rem;3750 }3751}37523753/* empty states: an icon, one line, a muted hint */3754.empty-state {3755 display: grid;3756 justify-items: center;3757 gap: 0.4rem;3758 padding: 2.5rem 1.5rem;3759 text-align: center;3760}37613762.empty-state .copyfield {3763 width: min(100%, 30rem);3764 margin-top: 0.5rem;3765}37663767.empty-icon {3768 display: inline-grid;3769 place-items: center;3770 width: 2.75rem;3771 height: 2.75rem;3772 margin-bottom: 0.25rem;3773 border: 1px solid var(--rule);3774 border-radius: 50%;3775 background: var(--box-head);3776 color: var(--text-secondary);3777}37783779.empty-icon .icon {3780 width: 20px;3781 height: 20px;3782}37833784.empty-title {3785 margin: 0;3786 color: var(--text-headings);3787 font-weight: 600;3788}37893790.empty-hint {3791 max-width: 30rem;3792 margin: 0;3793 color: var(--text-secondary);3794 font-size: 0.875rem;3795}37963797.empty-inline {3798 display: flex;3799 align-items: center;3800 gap: 0.5rem;3801}38023803/* hover: rows that weren't covered yet */3804.assets li,3805.platforms li,3806.tl-item {3807 transition: background 120ms ease;3808}38093810.assets li:hover {3811 background: var(--hover);3812}38133814/* focus rings inside boxes sit inside the edge, so the box can't clip them */3815.box :focus-visible {3816 outline-offset: -2px;3817}38183819/* the code box lets the clone menu overflow; its first child and the last3820 file row take the rounded corners instead */3821.box--code {3822 overflow: visible;3823}38243825.box--code > :first-child {3826 border-top-left-radius: calc(var(--radius) - 1px);3827 border-top-right-radius: calc(var(--radius) - 1px);3828}38293830.box--code .files {3831 border-collapse: separate;3832 border-spacing: 0;3833}38343835.box--code .files tr:last-child td:first-child {3836 border-bottom-left-radius: calc(var(--radius) - 1px);3837}38383839.box--code .files tr:last-child td:last-child {3840 border-bottom-right-radius: calc(var(--radius) - 1px);3841}38423843/* footer: theme.js unhides the button. The theme is shared with3844 danieldaum.net. */3845.theme-button[hidden] {3846 display: none;3847}