​wit / style.css
236 commits
30-11-2026
2621 lines 45 kB
   1*,
   2::before,
   3::after {
   4  box-sizing: border-box;
   5}
   6
   7@font-face {
   8  font-family: Recursive;
   9  font-style: normal;
  10  font-weight: 300 1000;
  11  font-display: swap;
  12  src: url(fonts/recursive-latin.woff2) format("woff2");
  13  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;
  14}
  15
  16@font-face {
  17  font-family: "New Computer Modern Math";
  18  font-display: swap;
  19  src: url(fonts/new-computer-modern-math.woff2) format("woff2");
  20}
  21
  22@font-face {
  23  font-family: Recursive;
  24  font-style: normal;
  25  font-weight: 300 1000;
  26  font-display: swap;
  27  src: url(fonts/recursive-latin-ext.woff2) format("woff2");
  28  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  29}
  30
  31:root {
  32  color-scheme: light dark;
  33  --font-ui: Recursive, system-ui, sans-serif;
  34  --font-mono: Recursive, ui-monospace, monospace;
  35  --text-xs: 0.8125rem;
  36  --text-sm: 0.875rem;
  37  --text-base: 1rem;
  38  --text-lg: 1.125rem;
  39  --text-xl: 1.375rem;
  40  --text-2xl: 1.75rem;
  41  --radius: 6px;
  42  --radius-inner: calc(var(--radius) - 1px);
  43  --radius-sm: 4px;
  44  --bg: #f2f2ef;
  45  --surface: #ffffff;
  46  --fg: #24262b;
  47  --line: #cdcfd2;
  48  --line-soft: #e6e7e9;
  49  --muted: #5f636b;
  50  --hover: #f4f4f1;
  51  --active: #e7e7e3;
  52  --active-hover: #dcdcd7;
  53  --current: #24262b;
  54  --current-fg: #ffffff;
  55  --current-hover: #3a3d44;
  56  --green: #1e7a3c;
  57  --red: #b42318;
  58  --orange: #a35a00;
  59  --stripe: #f7f7f5;
  60  --quote: #5f636b;
  61  --code: #efefec;
  62  --gutter: #f7f7f5;
  63  --line-no: #62666d;
  64  --target: #fff0a8;
  65  --del: #fdecea;
  66  --ins: #e7f5e9;
  67  --del-ln: #fae2de;
  68  --ins-ln: #d6efdb;
  69  --hunk-bg: #efeff2;
  70  --note: #2459c9;
  71  --tip: #1e7a3c;
  72  --important: #7445c4;
  73  --warning: #8a5a00;
  74  --caution: #b42318;
  75  --folder: #b07d12;
  76  --stuck-shadow: 0 6px 12px -6px rgb(0 0 0 / 0.22);
  77  --menu-shadow: 0 6px 18px rgb(0 0 0 / 0.1);
  78  --switch-w: clamp(9.25rem, 100vw - 14rem, 12rem);
  79  --switch-h: 1.5625rem;
  80  --bar-h: 2.65rem;
  81  --measure: 40rem;
  82}
  83
  84@media (prefers-color-scheme: dark) {
  85  :root {
  86    --bg: #1c1d20;
  87    --surface: #24262a;
  88    --fg: #e8e8e4;
  89    --line: #45474d;
  90    --line-soft: #34363b;
  91    --muted: #a4a7ae;
  92    --hover: #2c2e33;
  93    --active: #383a40;
  94    --active-hover: #43464c;
  95    --current: #e8e8e4;
  96    --current-fg: #1c1d20;
  97    --current-hover: #cfd0cb;
  98    --green: #6fc483;
  99    --red: #f2877c;
 100    --orange: #e3a457;
 101    --stripe: #292b2f;
 102    --quote: #a4a7ae;
 103    --code: #303237;
 104    --gutter: #212226;
 105    --line-no: #a2a5ab;
 106    --target: #4d4420;
 107    --del: #3e2624;
 108    --ins: #213426;
 109    --del-ln: #4a2c29;
 110    --ins-ln: #263d2c;
 111    --hunk-bg: #2c2e34;
 112    --note: #7ea6f5;
 113    --tip: #6fc483;
 114    --important: #b597f2;
 115    --warning: #dcae4f;
 116    --caution: #f2877c;
 117    --folder: #d9ab4e;
 118    --stuck-shadow: 0 6px 12px -6px rgb(0 0 0 / 0.55);
 119    --menu-shadow: 0 6px 18px rgb(0 0 0 / 0.4);
 120  }
 121}
 122
 123html {
 124  background-color: var(--bg);
 125  color: var(--fg);
 126  font-size: 100%;
 127  line-height: 1.3;
 128  font-family: var(--font-ui);
 129  -webkit-text-size-adjust: 100%;
 130  tab-size: 4;
 131  scroll-padding-top: calc(var(--bar-h) + 0.85rem);
 132}
 133
 134body {
 135  margin: 0 auto;
 136  padding: 0 1rem;
 137  max-width: 86rem;
 138  min-height: 100vh;
 139  min-height: 100dvh;
 140}
 141
 142.vh {
 143  position: absolute !important;
 144  width: 1px;
 145  height: 1px;
 146  margin: -1px;
 147  padding: 0;
 148  overflow: hidden;
 149  clip-path: inset(50%);
 150  white-space: nowrap;
 151  border: 0;
 152}
 153
 154input.vh[type="radio"] {
 155  position: fixed !important;
 156  top: 50%;
 157  left: 0;
 158}
 159
 160sup,
 161sub {
 162  line-height: 0;
 163}
 164
 165img {
 166  display: block;
 167  margin: 0 auto;
 168  max-width: 100%;
 169  height: auto;
 170}
 171
 172code,
 173pre,
 174kbd,
 175.rel-sum,
 176.commit-id,
 177.commit-parent a {
 178  font-family: var(--font-mono);
 179  font-style: normal;
 180  font-variation-settings: "MONO" 1;
 181}
 182
 183.chip code,
 184.rel-sum-label,
 185.commit-title > .commit-id::after {
 186  font-family: var(--font-ui);
 187  font-variation-settings: "MONO" 0;
 188}
 189
 190kbd {
 191  font-size: 0.875em;
 192}
 193
 194code {
 195  font-size: 0.875em;
 196  padding: 0.025rem 0.3rem;
 197  border-radius: var(--radius-sm);
 198  background-color: var(--code);
 199}
 200
 201pre {
 202  font-size: var(--text-sm);
 203  line-height: 1.5;
 204  border: 1px solid var(--line);
 205  border-radius: var(--radius);
 206  padding: 0.65rem;
 207  overflow-x: auto;
 208  background-color: var(--surface);
 209}
 210
 211pre > code {
 212  font-size: inherit;
 213  padding: 0;
 214  border-radius: 0;
 215  background-color: transparent;
 216}
 217
 218code svg {
 219  width: 16px;
 220  height: 16px;
 221  margin-right: 0.3em;
 222  vertical-align: -0.25em;
 223  color: var(--muted);
 224}
 225
 226.ref-menu {
 227  position: relative;
 228}
 229
 230.ref-btn,
 231label {
 232  cursor: pointer;
 233}
 234
 235.ref-btn {
 236  display: inline-flex;
 237  align-items: center;
 238  max-width: 100%;
 239  vertical-align: top;
 240  margin: -0.2rem 0;
 241  padding: 0.2rem 0.55rem;
 242  border: 0;
 243  border-radius: var(--radius-sm);
 244  font: inherit;
 245  font-size: var(--text-base);
 246  color: inherit;
 247  background-color: var(--code);
 248  --fit-bg: var(--code);
 249}
 250
 251.ref-btn svg {
 252  flex-shrink: 0;
 253  width: 16px;
 254  height: 16px;
 255  margin-right: 0.3em;
 256  color: var(--muted);
 257}
 258
 259.ref-more > .ref-btn {
 260  display: block;
 261  margin: 0;
 262  padding: 0.025rem 0.3rem;
 263  font-size: var(--text-xs);
 264  color: var(--fg);
 265}
 266
 267.ref-more > .ref-btn svg {
 268  vertical-align: -0.25em;
 269}
 270
 271.chip code {
 272  display: block;
 273  align-content: center;
 274  max-width: 12rem;
 275  font-size: var(--text-xs);
 276  color: var(--fg);
 277}
 278
 279.ref-btn:hover,
 280.ref-menu:has(> :popover-open) > .ref-btn {
 281  background-color: var(--active);
 282  --fit-bg: var(--active);
 283}
 284
 285.ref-btn svg:nth-last-child(-n + 2) {
 286  margin: 0 0 0 0.3em;
 287}
 288
 289.ref-btn svg:last-child,
 290.ref-menu:has(> :popover-open) .ref-btn svg:nth-last-child(2) {
 291  display: none;
 292}
 293
 294.ref-menu:has(> :popover-open) .ref-btn svg:last-child {
 295  display: inline;
 296}
 297
 298h1,
 299h2,
 300h3,
 301h4,
 302h5,
 303h6 {
 304  font-size: var(--text-base);
 305  font-weight: 600;
 306  margin: 0 0 0.5rem 0;
 307}
 308
 309path {
 310  fill: currentColor;
 311}
 312
 313a {
 314  text-decoration: none;
 315  color: var(--link, var(--fg));
 316}
 317
 318a:hover {
 319  color: var(--fg);
 320  text-decoration: underline;
 321}
 322
 323a,
 324.buttons label,
 325.ref-btn,
 326.row {
 327  transition:
 328    background-color 0.12s,
 329    border-color 0.12s,
 330    color 0.12s;
 331}
 332
 333:focus-visible {
 334  outline: 2px solid var(--muted);
 335  outline-offset: 2px;
 336}
 337
 338#header,
 339#site_path {
 340  display: flex;
 341  align-items: baseline;
 342}
 343
 344#header {
 345  flex-basis: 100%;
 346}
 347
 348a.brand {
 349  font-size: var(--text-xl);
 350  font-weight: 300;
 351  font-variation-settings: "MONO" 1;
 352  --link: var(--muted);
 353}
 354
 355a.brand[aria-current] {
 356  font-size: var(--text-2xl);
 357}
 358
 359:is(a.brand, #site_path a):hover {
 360  text-decoration: none;
 361}
 362
 363#site_path {
 364  margin: 0;
 365  font-size: var(--text-2xl);
 366  font-weight: 800;
 367  letter-spacing: -0.01em;
 368}
 369
 370#site_path::before {
 371  content: "/";
 372  margin: 0 0.45rem 0 0.35rem;
 373  font-size: var(--text-xl);
 374  color: var(--muted);
 375  font-weight: 300;
 376}
 377
 378main {
 379  margin: 0 0 3rem;
 380  timeline-scope: --switch;
 381}
 382
 383.site-footer {
 384  position: sticky;
 385  top: 100vh;
 386  padding: 1rem 0 1.5rem;
 387  border-top: 1px solid var(--line);
 388  text-align: center;
 389}
 390
 391.text-xs {
 392  font-size: var(--text-xs);
 393  color: var(--muted);
 394}
 395
 396.flex {
 397  display: flex;
 398}
 399
 400.flex-wrap {
 401  flex-wrap: wrap;
 402}
 403
 404.flex-1 {
 405  flex: 1;
 406}
 407
 408.flex-2 {
 409  flex: 2;
 410}
 411
 412.items-center {
 413  align-items: center;
 414}
 415
 416.gap {
 417  gap: 0.65rem;
 418}
 419
 420.gap-2 {
 421  gap: 1.3rem;
 422}
 423
 424.ml-auto {
 425  margin-left: auto;
 426}
 427
 428.color-green {
 429  color: var(--green);
 430}
 431
 432.color-red {
 433  color: var(--red);
 434}
 435
 436.color-orange {
 437  color: var(--orange);
 438}
 439
 440.log {
 441  display: flex;
 442  flex-direction: column;
 443  gap: 0.8rem;
 444}
 445
 446.px {
 447  padding-left: 0.75rem;
 448  padding-right: 0.75rem;
 449}
 450
 451.box {
 452  margin: 1rem 0;
 453  padding: 0.65rem 0.75rem;
 454  border: 1px solid var(--line);
 455  border-radius: var(--radius);
 456  background-color: var(--surface);
 457}
 458
 459:has(> .sticky) {
 460  view-timeline: --stuck block;
 461  view-timeline-inset: 0px;
 462}
 463
 464.sticky {
 465  position: sticky;
 466  top: 0;
 467  z-index: 2;
 468}
 469
 470.summary-tree .ref-bar {
 471  position: static;
 472  margin-top: 0;
 473}
 474
 475.mt-0 {
 476  margin-top: 0;
 477}
 478
 479.joined {
 480  margin-top: 0;
 481  border-top: 0;
 482  border-top-left-radius: 0;
 483  border-top-right-radius: 0;
 484}
 485
 486:is(.box, pre):has(+ .joined) {
 487  margin-bottom: 0;
 488  border-bottom-left-radius: 0;
 489  border-bottom-right-radius: 0;
 490  border-bottom-color: var(--line-soft);
 491}
 492
 493.chroma.joined {
 494  padding-top: 0;
 495  padding-bottom: 0;
 496}
 497
 498.m-0 {
 499  margin: 0;
 500}
 501
 502.p-0 {
 503  padding: 0;
 504}
 505
 506.p-0 > :first-child {
 507  border-top-left-radius: var(--radius-inner);
 508  border-top-right-radius: var(--radius-inner);
 509}
 510
 511.p-0 > :last-child {
 512  border-bottom-left-radius: var(--radius-inner);
 513  border-bottom-right-radius: var(--radius-inner);
 514}
 515
 516.white-space-bs {
 517  white-space: break-spaces;
 518}
 519
 520.border-b {
 521  border-bottom: 1px solid var(--line-soft);
 522}
 523
 524.border-b:last-child {
 525  border-bottom: 0;
 526}
 527
 528.font-bold {
 529  font-weight: 600;
 530}
 531
 532.buttons a,
 533.buttons label,
 534.pager > span,
 535.file-size {
 536  padding: 0.15rem 0.65rem;
 537  border: 1px solid var(--line);
 538  background-color: var(--surface);
 539}
 540
 541.buttons a + a,
 542.buttons label + label,
 543.buttons.pager > * + * {
 544  border-left: 0;
 545}
 546
 547.pager-gap {
 548  color: var(--muted);
 549}
 550
 551.buttons a:hover,
 552.buttons label:hover {
 553  text-decoration: none;
 554  background-color: var(--hover);
 555}
 556
 557.buttons [aria-current] {
 558  color: var(--current-fg);
 559  background-color: var(--current);
 560  border-color: var(--current);
 561}
 562
 563.buttons > :has(+ [aria-current]) {
 564  border-right-color: var(--current);
 565}
 566
 567.buttons a[aria-current]:hover {
 568  color: var(--current-fg);
 569  background-color: var(--current-hover);
 570}
 571
 572.buttons > :first-child {
 573  border-top-left-radius: var(--radius);
 574  border-bottom-left-radius: var(--radius);
 575}
 576
 577.buttons > :last-child {
 578  border-top-right-radius: var(--radius);
 579  border-bottom-right-radius: var(--radius);
 580}
 581
 582.file-size {
 583  border-radius: var(--radius) var(--radius) 0 0;
 584}
 585
 586.file-head {
 587  position: relative;
 588  margin-bottom: -1px;
 589}
 590
 591.file-head ~ * {
 592  margin-top: 0;
 593  border-top-left-radius: 0;
 594  border-top-right-radius: 0;
 595}
 596
 597.file-sizes {
 598  display: grid;
 599  grid-template-columns: minmax(0, 1fr);
 600  min-width: 0;
 601}
 602
 603.fs-layer {
 604  display: flex;
 605  flex-wrap: wrap;
 606  grid-area: 1 / 1;
 607  align-content: flex-start;
 608  min-width: 0;
 609  height: calc(1lh + 0.3rem + 2px);
 610  row-gap: 2rem;
 611  overflow: clip;
 612  font-size: var(--text-sm);
 613}
 614
 615.fs-strut {
 616  width: 0;
 617  height: 100%;
 618}
 619
 620.fs-layer > .file-size {
 621  flex: none;
 622  box-sizing: border-box;
 623  height: 100%;
 624  white-space: nowrap;
 625}
 626
 627.view-switch {
 628  position: sticky;
 629  top: 0;
 630  width: var(--switch-w);
 631  height: var(--switch-h);
 632  margin-left: auto;
 633  border-radius: 0 0 var(--radius) var(--radius);
 634}
 635
 636.view-switch label {
 637  width: calc(var(--switch-w) / 2);
 638  padding-inline: 0.2rem;
 639  text-align: center;
 640  font-size: var(--text-sm);
 641}
 642
 643.action-code .view-switch {
 644  top: var(--bar-h);
 645}
 646
 647.view-switch + .file-head {
 648  margin-top: calc(-1 * var(--switch-h));
 649  margin-right: var(--switch-w);
 650  view-timeline: --switch block;
 651  view-timeline-inset: 0px;
 652}
 653
 654.action-code .view-switch + .file-head {
 655  view-timeline-inset: var(--bar-h) 0px;
 656}
 657
 658.view-switch + .file-head > .file-sizes {
 659  margin-right: 0.3rem;
 660}
 661
 662.view-switch > :first-child {
 663  border-radius: var(--radius) 0 0 0;
 664}
 665
 666.view-switch > :last-child {
 667  border-radius: 0 var(--radius) 0 0;
 668}
 669
 670@supports (animation-timeline: view()) {
 671  .sticky {
 672    animation: stuck-top linear both;
 673    animation-timeline: --stuck;
 674    animation-range: exit-crossing -1px exit-crossing 0%;
 675  }
 676
 677  .action-code .ref-bar {
 678    animation:
 679      stuck-top linear both,
 680      switch-under linear both;
 681    animation-timeline: --stuck, --switch;
 682    animation-range:
 683      exit-crossing -1px exit-crossing 0%,
 684      exit-crossing -1px exit-crossing 0%;
 685  }
 686
 687  .view-switch {
 688    animation: switch-shadow linear both;
 689    animation-timeline: --switch;
 690    animation-range: exit-crossing -1px exit-crossing 0%;
 691  }
 692
 693  .view-switch > :first-child,
 694  .view-switch > :last-child {
 695    animation-timeline: --switch;
 696    animation-range: exit-crossing -1px exit-crossing 0%;
 697    animation-fill-mode: both;
 698    animation-timing-function: linear;
 699  }
 700
 701  .view-switch > :first-child {
 702    animation-name: switch-left;
 703  }
 704
 705  .view-switch > :last-child {
 706    animation-name: switch-right;
 707  }
 708}
 709
 710@keyframes stuck-top {
 711  to {
 712    border-top-left-radius: 0;
 713    border-top-right-radius: 0;
 714    border-bottom-color: var(--line);
 715    box-shadow: var(--stuck-shadow);
 716  }
 717}
 718
 719@keyframes switch-under {
 720  to {
 721    border-bottom-right-radius: 0;
 722    clip-path: polygon(
 723      -100vw -100vh,
 724      calc(100% + 100vw) -100vh,
 725      calc(100% + 100vw) 100%,
 726      calc(100% - var(--switch-w)) 100%,
 727      calc(100% - var(--switch-w)) calc(100% + 100vh),
 728      -100vw calc(100% + 100vh)
 729    );
 730  }
 731}
 732
 733@keyframes switch-shadow {
 734  to {
 735    box-shadow: var(--stuck-shadow);
 736  }
 737}
 738
 739@keyframes switch-left {
 740  to {
 741    border-top-left-radius: 0;
 742    border-bottom-left-radius: var(--radius);
 743    border-bottom-width: 1px;
 744    padding-bottom: 0.15rem;
 745  }
 746}
 747
 748@keyframes switch-right {
 749  to {
 750    border-top-right-radius: 0;
 751    border-bottom-right-radius: var(--radius);
 752    border-bottom-width: 1px;
 753    padding-bottom: 0.15rem;
 754  }
 755}
 756
 757#view-source:checked ~ .box,
 758#view-rendered:checked ~ .chroma {
 759  display: none;
 760}
 761
 762.ref-menu-list {
 763  inset: auto;
 764  flex-direction: column;
 765  max-width: 20rem;
 766  margin: 0.3rem 0 0;
 767  padding: 0;
 768  overflow: visible;
 769  white-space: nowrap;
 770  color: var(--fg);
 771  border: 1px solid var(--line);
 772  border-radius: var(--radius);
 773  background-color: var(--surface);
 774  box-shadow: var(--menu-shadow);
 775  position-area: bottom span-right;
 776  position-try-fallbacks: flip-block;
 777}
 778
 779.ref-menu-list:popover-open {
 780  display: flex;
 781}
 782
 783.ref-menu:not(.ref-more) > .ref-menu-list {
 784  width: max-content;
 785  min-width: anchor-size(width);
 786  margin-top: 0.45rem;
 787}
 788
 789.ref-more .ref-menu-list {
 790  font-size: var(--text-base);
 791  position-area: bottom span-left;
 792}
 793
 794#ref-branches:checked ~ .ref-tags,
 795#ref-tags:checked ~ .ref-branches {
 796  visibility: hidden;
 797  height: 0;
 798  overflow: hidden;
 799}
 800
 801.ref-kinds {
 802  display: grid;
 803  grid-template-columns: 1fr 1fr;
 804}
 805
 806.ref-kinds label {
 807  border: 0;
 808  border-bottom: 1px solid var(--line);
 809  text-align: center;
 810  font-size: var(--text-sm);
 811}
 812
 813.ref-kinds label + label {
 814  border-left: 1px solid var(--line);
 815}
 816
 817#ref-branches:checked ~ .ref-kinds [for="ref-branches"],
 818#ref-tags:checked ~ .ref-kinds [for="ref-tags"],
 819#view-source:checked ~ .view-switch [for="view-source"],
 820#view-rendered:checked ~ .view-switch [for="view-rendered"] {
 821  background-color: var(--active);
 822  font-weight: 600;
 823}
 824
 825#ref-branches:checked ~ .ref-kinds [for="ref-branches"],
 826#ref-tags:checked ~ .ref-kinds [for="ref-tags"] {
 827  font-weight: 800;
 828}
 829
 830#ref-branches:focus-visible ~ .ref-kinds [for="ref-branches"],
 831#ref-tags:focus-visible ~ .ref-kinds [for="ref-tags"],
 832#view-source:focus-visible ~ .view-switch [for="view-source"],
 833#view-rendered:focus-visible ~ .view-switch [for="view-rendered"] {
 834  outline: 2px solid var(--muted);
 835  outline-offset: -2px;
 836}
 837
 838#ref-branches:checked ~ .ref-kinds [for="ref-branches"]:hover,
 839#ref-tags:checked ~ .ref-kinds [for="ref-tags"]:hover,
 840#view-source:checked ~ .view-switch [for="view-source"]:hover,
 841#view-rendered:checked ~ .view-switch [for="view-rendered"]:hover {
 842  background-color: var(--active-hover);
 843}
 844
 845.file-size,
 846#ref-branches:checked ~ .ref-kinds [for="ref-branches"],
 847#ref-tags:checked ~ .ref-kinds [for="ref-tags"],
 848#view-source:checked ~ .view-switch [for="view-source"],
 849#view-rendered:checked ~ .view-switch [for="view-rendered"] {
 850  border-bottom-width: 0;
 851  padding-bottom: calc(0.15rem + 1px);
 852}
 853
 854.ref-branches,
 855.ref-tags {
 856  display: flex;
 857  flex-direction: column;
 858  max-height: min(30rem, max(7rem, 100dvh - 17rem));
 859  overflow-y: auto;
 860  border-bottom-left-radius: var(--radius-inner);
 861  border-bottom-right-radius: var(--radius-inner);
 862}
 863
 864.ref-menu-list .long {
 865  scrollbar-gutter: stable;
 866}
 867
 868.ref-menu-list a {
 869  display: block;
 870  flex-shrink: 0;
 871  padding: 0.55rem 0.75rem;
 872  border: 0;
 873  color: var(--fg);
 874}
 875
 876.ref-menu-list a:hover {
 877  text-decoration: none;
 878  background-color: var(--hover);
 879}
 880
 881.ref-menu-list a[aria-current] {
 882  border-color: var(--line-soft);
 883  font-weight: 800;
 884  color: var(--fg);
 885  background-color: var(--active);
 886}
 887
 888.ref-menu-list a[aria-current]:hover {
 889  color: var(--fg);
 890  background-color: var(--active-hover);
 891}
 892
 893.ref-menu-list a svg {
 894  margin-right: 0.3em;
 895}
 896
 897.ref-menu-list a svg,
 898.commit-title > .commit-id > svg {
 899  vertical-align: calc(-0.15em - 1px);
 900}
 901
 902.ref-menu-list a + a {
 903  border-top: 1px solid var(--line-soft);
 904}
 905
 906.ref-menu-list.buttons > *,
 907.ref-menu-list .buttons > * {
 908  border-radius: 0;
 909}
 910
 911.ref-kinds > :first-child {
 912  border-top-left-radius: var(--radius-inner);
 913}
 914
 915.ref-kinds > :last-child {
 916  border-top-right-radius: var(--radius-inner);
 917}
 918
 919:is(.ref-menu-list.buttons, .ref-menu-list > :first-child) > :first-child,
 920.ref-menu-list > .long:first-child {
 921  border-top-left-radius: var(--radius-inner);
 922  border-top-right-radius: var(--radius-inner);
 923}
 924
 925:is(.ref-branches, .ref-tags, .ref-menu-list.buttons) > :last-child {
 926  border-bottom-left-radius: var(--radius-inner);
 927  border-bottom-right-radius: var(--radius-inner);
 928}
 929
 930.ref-menu-list a:not([aria-current]) svg {
 931  color: var(--muted);
 932}
 933
 934.ref-menu-list a.missing,
 935.ref-menu-list a.missing svg {
 936  color: color-mix(in srgb, var(--muted) 55%, var(--surface));
 937}
 938
 939.pager {
 940  align-self: center;
 941  max-width: 50%;
 942}
 943
 944.pager > :is(a, [aria-current]) {
 945  display: flex;
 946  align-items: center;
 947}
 948
 949.pager svg {
 950  margin: 0 -4px;
 951}
 952
 953.pager svg + svg {
 954  margin-left: -3px;
 955}
 956
 957.tree-date {
 958  width: 5.75rem;
 959  flex-shrink: 0;
 960  white-space: nowrap;
 961  text-align: right;
 962}
 963
 964:is(.last-commit, .rel-head) .tree-date {
 965  width: auto;
 966}
 967
 968.tree-commit,
 969.tree-date,
 970.rel-size,
 971.branch-log,
 972.ref-bar-commits,
 973.rel-sum,
 974.summary-meta-key,
 975.doc-link,
 976.file-size,
 977.site-footer {
 978  font-size: var(--text-sm);
 979  color: var(--muted);
 980  --link: var(--muted);
 981}
 982
 983.commit-stat {
 984  display: flex;
 985  flex-wrap: wrap;
 986  justify-content: flex-end;
 987  height: 1lh;
 988  overflow: hidden;
 989}
 990
 991.commit-stat::before {
 992  content: "";
 993  height: 100%;
 994}
 995
 996.truncate,
 997.chip code,
 998.ref-menu-list a {
 999  overflow: hidden;
1000  text-overflow: ellipsis;
1001  white-space: nowrap;
1002}
1003
1004.summary-meta-val,
1005.repo-desc,
1006.commit-title,
1007.commit-body,
1008.commit-meta,
1009.commit-files a,
1010.diff-head a {
1011  overflow-wrap: anywhere;
1012}
1013
1014.row:hover {
1015  background-color: var(--hover);
1016}
1017
1018.commit-row:has(:is(.chip, .ref-more):hover) {
1019  background-color: var(--surface);
1020}
1021
1022.row,
1023.repo-row {
1024  position: relative;
1025}
1026
1027.row-link::after {
1028  content: "";
1029  position: absolute;
1030  inset: 0;
1031}
1032
1033:is(.row, .repo-row) :is(a:not(.row-link), .ref-more, .repo-links, .rel-sum) {
1034  position: relative;
1035  z-index: 1;
1036}
1037
1038.row:hover:not(:has(:is(a:not(.row-link), .ref-more):hover)) :is(.row-link, .commit-summary) {
1039  --link: var(--fg);
1040  text-decoration: underline;
1041}
1042
1043.commit-row {
1044  display: flex;
1045  flex-direction: column;
1046  gap: 0.3rem;
1047}
1048
1049.commit-line {
1050  order: -1;
1051  timeline-scope: --cl;
1052}
1053
1054.commit-summary a {
1055  font-weight: 500;
1056}
1057
1058.commit-row :is(code, .ref-btn):hover {
1059  background-color: var(--active);
1060}
1061
1062.commit-row .chip:hover {
1063  text-decoration: none;
1064}
1065
1066#header,
1067#site_path,
1068.tree-path,
1069.tree-commit,
1070.commit-summary,
1071.commit-by,
1072.branch-name,
1073.rel-name,
1074.release-id,
1075.ref-menu {
1076  min-width: 0;
1077}
1078
1079:is(.tree-path, .branch-name, .rel-name) svg {
1080  flex-shrink: 0;
1081  color: var(--muted);
1082}
1083
1084.tree-path svg:has(use[href="#icon.file-directory"]) {
1085  color: var(--folder);
1086}
1087
1088.markdown-body {
1089  padding: 2rem max(2rem, calc((100% - var(--measure)) / 2));
1090  line-height: 1.5;
1091  overflow-wrap: break-word;
1092}
1093
1094@media only screen and (max-width: 600px) {
1095  .markdown-body {
1096    padding: 1.25rem 1rem;
1097  }
1098}
1099
1100.action-releases .markdown-body {
1101  padding: 0.4rem 0.75rem 0.6rem;
1102}
1103
1104.markdown-body > :first-child,
1105.markdown-body > .markdown-heading:first-child > :first-child {
1106  margin-top: 0;
1107}
1108
1109.markdown-body > :last-child,
1110.markdown-body > .markdown-heading:last-child > :first-child {
1111  margin-bottom: 0;
1112}
1113
1114.markdown-body :is(p, ul, ol, pre, blockquote, details) {
1115  margin-top: 0;
1116  margin-bottom: 1rem;
1117}
1118
1119.markdown-body :is(h2, h3, h4, h5, h6) {
1120  margin: 1.75rem 0 0.75rem;
1121  font-weight: 700;
1122  line-height: 1.25;
1123}
1124
1125.markdown-body :is(h2, h3) {
1126  font-weight: 800;
1127  letter-spacing: -0.01em;
1128}
1129
1130.markdown-body a {
1131  text-decoration: underline;
1132  text-decoration-color: var(--line);
1133  text-underline-offset: 0.15em;
1134}
1135
1136.markdown-body a:hover {
1137  text-decoration-color: currentColor;
1138}
1139
1140.markdown-heading,
1141.markdown-body summary:has(> .anchor) {
1142  position: relative;
1143}
1144
1145.anchor {
1146  position: absolute;
1147  top: 50%;
1148  left: -20px;
1149  display: flex;
1150  padding-right: 4px;
1151  translate: 0 -50%;
1152  --link: var(--muted);
1153}
1154
1155.markdown-body a.anchor {
1156  text-decoration: none;
1157}
1158
1159.anchor svg {
1160  visibility: hidden;
1161}
1162
1163:is(.markdown-heading, summary):hover > .anchor svg,
1164.anchor:focus-visible svg {
1165  visibility: visible;
1166}
1167
1168.markdown-body h2 {
1169  font-size: var(--text-2xl);
1170}
1171
1172.markdown-body h3 {
1173  font-size: var(--text-xl);
1174}
1175
1176.markdown-body h4 {
1177  font-size: var(--text-lg);
1178}
1179
1180.markdown-body h6 {
1181  font-size: var(--text-sm);
1182}
1183
1184.markdown-body table {
1185  border-collapse: collapse;
1186  display: block;
1187  margin: 0 0 1rem;
1188  width: max-content;
1189  max-width: 100%;
1190  overflow: auto;
1191}
1192
1193.markdown-body :is(th, td) {
1194  padding: 0.4rem 1.5rem 0.4rem 0;
1195  border-bottom: 1px solid var(--line-soft);
1196}
1197
1198.markdown-body th {
1199  font-weight: 600;
1200  text-align: left;
1201  border-bottom-color: var(--muted);
1202}
1203
1204.markdown-body img {
1205  display: inline;
1206}
1207
1208.markdown-body blockquote {
1209  margin-left: 0;
1210  margin-right: 0;
1211  padding: 0.75rem 1rem;
1212  color: var(--quote);
1213  border-radius: var(--radius);
1214  background-color: var(--stripe);
1215}
1216
1217.markdown-body .markdown-alert {
1218  color: inherit;
1219  background-color: color-mix(in srgb, var(--alert) 9%, var(--surface));
1220}
1221
1222.markdown-body blockquote > :last-child {
1223  margin-bottom: 0;
1224}
1225
1226.markdown-body .markdown-alert-title {
1227  display: flex;
1228  align-items: center;
1229  gap: 0.5rem;
1230  margin-bottom: 0.5rem;
1231  color: var(--alert);
1232  font-weight: 600;
1233}
1234
1235.markdown-alert-note {
1236  --alert: var(--note);
1237}
1238
1239.markdown-alert-tip {
1240  --alert: var(--tip);
1241}
1242
1243.markdown-alert-important {
1244  --alert: var(--important);
1245}
1246
1247.markdown-alert-warning {
1248  --alert: var(--warning);
1249}
1250
1251.markdown-alert-caution {
1252  --alert: var(--caution);
1253}
1254
1255.markdown-body hr {
1256  margin: 1.5rem 0;
1257  border: 0;
1258  border-top: 1px solid var(--line);
1259}
1260
1261.markdown-body pre {
1262  padding: 1rem;
1263  border: 0;
1264  background-color: var(--code);
1265  line-height: 1.45;
1266}
1267
1268.markdown-body :not(pre) > code {
1269  padding: 0.2em 0.4em;
1270}
1271
1272.markdown-body li:has(> input[type="checkbox"]) {
1273  list-style-type: none;
1274}
1275
1276.markdown-body li > input[type="checkbox"] {
1277  margin: 0 0.2em 0.25em -1.4em;
1278  vertical-align: middle;
1279}
1280
1281.markdown-body li + li {
1282  margin-top: 0.25em;
1283}
1284
1285.markdown-body summary {
1286  cursor: pointer;
1287}
1288
1289.markdown-body summary :is(h1, h2, h3, h4, h5, h6) {
1290  display: inline-block;
1291  margin: 0;
1292  border: 0;
1293}
1294
1295.footnotes {
1296  border-top: 1px solid var(--line);
1297  font-size: var(--text-sm);
1298}
1299
1300.footnotes ol {
1301  padding-left: 0;
1302  list-style-position: inside;
1303}
1304
1305.footnotes li > p:first-child {
1306  display: inline;
1307}
1308
1309.chroma .ln {
1310  display: inline-block;
1311  -webkit-user-select: none;
1312  user-select: none;
1313  margin-right: 0.9em;
1314  padding: 0 0.6em 0 0;
1315  color: var(--line-no);
1316  text-decoration: none;
1317}
1318
1319.chroma .ln:focus-visible {
1320  outline-offset: -2px;
1321}
1322
1323pre.chroma[style] {
1324  background-image: linear-gradient(
1325    to right,
1326    var(--gutter) calc(0.65rem + var(--ln) + 0.6em),
1327    var(--line-soft) 0 calc(0.65rem + var(--ln) + 0.6em + 1px),
1328    transparent 0
1329  );
1330  background-attachment: local;
1331}
1332
1333.chroma .cl {
1334  display: inline-block;
1335  white-space: pre-wrap;
1336  overflow-wrap: anywhere;
1337}
1338
1339pre.chroma[style] .cl {
1340  max-width: calc(100% - var(--ln) - 1.5em);
1341  vertical-align: top;
1342}
1343
1344.chroma .ln:target {
1345  color: var(--fg);
1346  font-weight: 700;
1347  background-color: var(--target);
1348}
1349
1350.chroma code {
1351  display: block;
1352}
1353
1354.diff-stat {
1355  flex-shrink: 0;
1356  width: 100px;
1357  text-align: right;
1358}
1359
1360.commit-meta {
1361  display: grid;
1362  grid-template-columns: max-content 1fr max-content max-content;
1363  column-gap: 0.65rem;
1364  padding: 0.6rem 0.75rem;
1365  border-top: 1px solid var(--line-soft);
1366  font-size: var(--text-sm);
1367  color: var(--muted);
1368}
1369
1370.commit-meta > :nth-child(2n) {
1371  color: var(--fg);
1372}
1373
1374.commit-meta > :nth-child(odd):not(.commit-parent) {
1375  grid-column: 1;
1376}
1377
1378.commit-parent {
1379  display: grid;
1380  align-self: end;
1381  grid-column: span 2;
1382  grid-template-columns: subgrid;
1383  column-gap: 0.3em;
1384}
1385
1386.commit-head {
1387  padding: 0;
1388}
1389
1390.commit-msg {
1391  padding: 0.45rem 0.75rem 0.7rem;
1392  font-size: var(--text-sm);
1393  line-height: 1.45;
1394}
1395
1396.commit-changes {
1397  float: right;
1398  margin: 0.33rem 0 0 0.65rem;
1399}
1400
1401.commit-title {
1402  font-size: var(--text-lg);
1403  font-weight: 600;
1404}
1405
1406.commit-title > .commit-id {
1407  white-space: nowrap;
1408  font-size: var(--text-sm);
1409  font-weight: 400;
1410  color: var(--muted);
1411}
1412
1413.commit-body {
1414  margin-top: 0.35rem;
1415}
1416
1417.long-word {
1418  word-break: break-all;
1419}
1420
1421.summary-meta-box {
1422  padding: 0;
1423}
1424
1425.summary-meta-row {
1426  display: flex;
1427  gap: 0.75rem;
1428  padding: 0.5rem 0.75rem;
1429}
1430
1431.summary-meta-row:not(:last-child) {
1432  flex-wrap: wrap;
1433  row-gap: 0.2rem;
1434}
1435
1436.summary-meta-key {
1437  width: 7rem;
1438  flex-shrink: 0;
1439}
1440
1441.summary-meta-val {
1442  min-width: 0;
1443}
1444
1445.summary-meta-val.truncate {
1446  flex: 1 1 8rem;
1447}
1448
1449.summary-meta-val:has(> .release-id) {
1450  flex: 1 1 11rem;
1451}
1452
1453.summary-meta-val:has(> :is(.commit-id, .release-id)) {
1454  display: flex;
1455  align-items: center;
1456  white-space: nowrap;
1457  font-size: var(--text-sm);
1458  color: var(--muted);
1459}
1460
1461.summary-meta-row:first-child {
1462  padding: 0.4rem 0.75rem;
1463  line-height: 1.5;
1464}
1465
1466.summary-meta-row:last-child {
1467  flex-direction: column;
1468  gap: 0.4rem;
1469  padding-bottom: 0.75rem;
1470}
1471
1472.summary-meta-row:last-child .summary-meta-val {
1473  padding: 0.35rem 0.5rem;
1474  font-family: var(--font-mono);
1475  font-variation-settings: "MONO" 1;
1476  font-size: var(--text-xs);
1477  background-color: var(--code);
1478  border-radius: var(--radius-sm);
1479  user-select: all;
1480}
1481
1482.empty {
1483  color: var(--muted);
1484  font-style: italic;
1485}
1486
1487.summary-layout {
1488  display: grid;
1489  grid-template-columns: minmax(0, 1fr);
1490  gap: 1.5rem;
1491  align-items: start;
1492}
1493
1494.summary-main,
1495.summary-side {
1496  display: flex;
1497  flex-direction: column;
1498  gap: 1.5rem;
1499  min-width: 0;
1500}
1501
1502.summary-tree .box,
1503.summary-readme > :is(.box, pre) {
1504  margin-bottom: 0;
1505}
1506
1507.action-code > .summary-readme {
1508  margin-top: 1.5rem;
1509}
1510
1511.summary-side .box {
1512  margin: 0;
1513}
1514
1515.summary-side .commit-by {
1516  flex: 1;
1517}
1518
1519.summary-side .commit-by > :nth-child(2) {
1520  display: none;
1521}
1522
1523.summary-side .commit-by > :last-child {
1524  margin-left: auto;
1525  padding-left: 0.65rem;
1526}
1527
1528.side-all a {
1529  font-size: var(--text-sm);
1530  --link: var(--muted);
1531}
1532
1533@media screen and (min-width: 1100px) {
1534  .summary-layout {
1535    grid-template-columns: minmax(0, 1fr) 24rem;
1536  }
1537}
1538
1539@media screen and (width < 1100px) {
1540  .summary-main,
1541  .summary-side {
1542    display: contents;
1543  }
1544
1545  .summary-main > *,
1546  .summary-side > * {
1547    min-width: 0;
1548  }
1549
1550  .summary-meta-box {
1551    order: -1;
1552  }
1553
1554  .summary-side > :not(.summary-meta-box) {
1555    order: 1;
1556  }
1557}
1558
1559.repo-list {
1560  display: grid;
1561  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
1562  gap: 0.8rem;
1563  margin: 0;
1564  padding: 0;
1565  list-style: none;
1566}
1567
1568.repo-row {
1569  display: grid;
1570  grid-template:
1571    "name date" auto
1572    "desc desc" 1fr
1573    "links links" auto / minmax(0, 1fr) auto;
1574  align-items: baseline;
1575  column-gap: 0.5rem;
1576  padding: 0.5rem 0.75rem 0;
1577  border: 1px solid var(--line);
1578  border-radius: var(--radius);
1579  background-color: var(--surface);
1580  container-type: inline-size;
1581}
1582
1583.repo-name {
1584  grid-area: name;
1585  margin: 0;
1586  font-size: var(--text-2xl);
1587  font-weight: 300;
1588  letter-spacing: -0.01em;
1589}
1590
1591.repo-row:hover .repo-name a,
1592.repo-name a:focus-visible {
1593  font-weight: 800;
1594  text-decoration: none;
1595}
1596
1597.repo-row:hover :is(.repo-date, .repo-desc),
1598.repo-row:has(.repo-name a:focus-visible) :is(.repo-date, .repo-desc) {
1599  color: var(--fg);
1600}
1601
1602.repo-name a:focus-visible {
1603  outline: none;
1604}
1605
1606.repo-row:has(.repo-name a:focus-visible) {
1607  outline: 2px solid var(--muted);
1608  outline-offset: 2px;
1609}
1610
1611.repo-desc {
1612  display: -webkit-box;
1613  grid-area: desc;
1614  min-height: calc(2lh);
1615  margin: 0.1rem 0 0;
1616  overflow: hidden;
1617  font-size: var(--text-base);
1618  line-height: 1.45;
1619  color: var(--muted);
1620  -webkit-box-orient: vertical;
1621  -webkit-line-clamp: 2;
1622}
1623
1624.repo-links {
1625  display: flex;
1626  grid-area: links;
1627  flex-wrap: wrap;
1628  column-gap: max(0.7rem, (100cqi - 22em) / 5);
1629  margin: 0.65rem -0.75rem 0;
1630  padding: 0.3rem 0.75rem 0.35rem;
1631  border-top: 1px solid var(--line-soft);
1632  font-size: var(--text-sm);
1633}
1634
1635.repo-links a {
1636  line-height: 1.5rem;
1637  --link: var(--muted);
1638}
1639
1640.repo-date {
1641  grid-area: date;
1642  margin: 0;
1643  text-align: right;
1644  font-size: var(--text-xs);
1645  color: var(--muted);
1646}
1647
1648@media only screen and (max-width: 700px) {
1649  .repo-name {
1650    font-size: var(--text-xl);
1651  }
1652}
1653
1654@media only screen and (max-width: 900px) {
1655  body {
1656    padding: 0 0.5rem;
1657  }
1658
1659  .tree-commit {
1660    display: none;
1661  }
1662
1663  :is(.last-commit, .rel-head) > .tree-commit,
1664  :is(.last-commit, .rel-head) .short-id {
1665    display: flex;
1666  }
1667
1668  .branch-row .branch-sha::after {
1669    content: none;
1670  }
1671
1672  .row.rel-file {
1673    display: grid;
1674    grid-template-columns: minmax(0, 1fr) max-content;
1675    gap: 0.15rem 0.65rem;
1676  }
1677
1678  .rel-file .rel-sum {
1679    grid-area: 2 / 1 / auto / -1;
1680    margin-left: calc(16px + 0.65rem);
1681    white-space: normal;
1682    overflow-wrap: anywhere;
1683  }
1684
1685  .rel-file .rel-size {
1686    grid-area: 1 / 2;
1687    width: auto;
1688  }
1689}
1690
1691@media (prefers-reduced-motion: reduce) {
1692  * {
1693    transition: none !important;
1694  }
1695}
1696
1697.ref-bar {
1698  flex-wrap: wrap;
1699  align-content: flex-start;
1700  height: 2.725rem;
1701  row-gap: 3rem;
1702  overflow: clip;
1703  white-space: nowrap;
1704  --fit-bg: var(--surface);
1705}
1706
1707.ref-bar,
1708.ref-main,
1709.ref-crumbs {
1710  column-gap: 0.5rem;
1711}
1712
1713.ref-main {
1714  display: flex;
1715  flex: 0 1 auto;
1716  align-items: center;
1717  min-width: 0;
1718}
1719
1720.ref-main > :is(a, span) {
1721  min-width: 0;
1722  overflow: hidden;
1723  text-overflow: ellipsis;
1724}
1725
1726:is(.ref-main, .ref-crumbs) > span:not([class]) {
1727  flex-shrink: 0;
1728  color: var(--muted);
1729}
1730
1731.ref-main > .ref-menu {
1732  flex: 0 1 auto;
1733  min-width: min-content;
1734  max-width: max(35%, 6.5rem, min(32rem, 100% - 20rem));
1735}
1736
1737.ref-main > a.ref-repo {
1738  flex: 0 1000000 auto;
1739  min-width: 1.2em;
1740}
1741
1742.ref-main > .ref-path {
1743  display: grid;
1744  flex: 0 1000000000000 auto;
1745  grid-template-columns: minmax(0, 1fr);
1746  min-width: 4.2rem;
1747}
1748
1749.ref-main > .font-bold {
1750  flex: 0 1000000000000 auto;
1751  min-width: 1.9em;
1752}
1753
1754.ref-layer {
1755  display: flex;
1756  flex-wrap: wrap;
1757  grid-area: 1 / 1;
1758  min-width: 0;
1759  height: 1lh;
1760  overflow: clip;
1761  pointer-events: none;
1762}
1763
1764.ref-strut {
1765  width: 0;
1766  height: 1lh;
1767}
1768
1769.ref-crumbs {
1770  display: flex;
1771  flex: 1 0 auto;
1772  height: 1lh;
1773  background: var(--surface);
1774  pointer-events: auto;
1775}
1776
1777.ref-layer.last {
1778  flex-wrap: nowrap;
1779}
1780
1781.ref-layer.last > .ref-crumbs {
1782  flex: 1 1 0;
1783  min-width: 0;
1784}
1785
1786.ref-layer.last > .ref-crumbs > .font-bold {
1787  min-width: 0;
1788  overflow: hidden;
1789  text-overflow: ellipsis;
1790}
1791
1792.ref-bar-commits {
1793  flex-shrink: 0;
1794  margin-left: auto;
1795}
1796
1797.fit-name {
1798  position: relative;
1799  display: grid;
1800  grid-template-columns: minmax(0, 1fr);
1801  min-width: 1.2em;
1802}
1803
1804.fit-full {
1805  position: relative;
1806  z-index: 1;
1807  display: flex;
1808  flex-wrap: wrap;
1809  align-items: baseline;
1810  grid-area: 1 / 1;
1811  min-width: 0;
1812  height: 1lh;
1813  overflow: clip;
1814}
1815
1816.fit-full > i {
1817  width: 0;
1818  height: 1lh;
1819  font-style: normal;
1820}
1821
1822.fit-full > span {
1823  flex: 1 0 auto;
1824  height: 1lh;
1825  white-space: nowrap;
1826  background-color: var(--fit-bg);
1827  transition: background-color 0.12s;
1828}
1829
1830.fit-cut {
1831  grid-area: 1 / 1;
1832  min-width: 0;
1833  height: 1lh;
1834  container-type: inline-size;
1835}
1836
1837.fit-cut > span {
1838  display: block;
1839  overflow: clip;
1840  text-overflow: ellipsis;
1841  white-space: nowrap;
1842}
1843
1844.fit-cut > .fit-dots {
1845  display: none;
1846}
1847
1848@container (width < 1.9em) {
1849  .fit-cut > .truncate {
1850    display: none;
1851  }
1852
1853  .fit-cut > .fit-dots {
1854    display: block;
1855  }
1856}
1857
1858.joined.p-0 > :first-child {
1859  border-top-left-radius: 0;
1860  border-top-right-radius: 0;
1861}
1862
1863.last-commit,
1864.rel-head {
1865  background-color: var(--stripe);
1866}
1867
1868.last-commit > .short-id + .tree-commit {
1869  margin-left: -0.65rem;
1870  color: var(--fg);
1871  --link: var(--fg);
1872}
1873
1874.last-commit > .short-id + .tree-commit a {
1875  font-weight: 500;
1876}
1877
1878.last-commit:hover > .short-id {
1879  text-decoration: underline var(--fg);
1880}
1881
1882.up-row .tree-path a {
1883  letter-spacing: 0.1em;
1884}
1885
1886.tree-row,
1887.side-all,
1888.last-commit,
1889.rel-head {
1890  padding-top: 0.5rem;
1891  padding-bottom: 0.5rem;
1892}
1893
1894.log-day {
1895  --date-gutter: 6.5rem;
1896  display: flow-root;
1897  padding-left: var(--date-gutter);
1898}
1899
1900.log-date {
1901  position: sticky;
1902  top: calc(var(--bar-h) + 1.1rem);
1903  float: left;
1904  width: var(--date-gutter);
1905  margin-left: calc(-1 * var(--date-gutter));
1906  padding: 0.7rem 0 0 calc(0.75rem + 1px);
1907  font-weight: 600;
1908}
1909
1910@media screen and (min-width: 1000px) {
1911  .action-commits .commit-row {
1912    display: grid;
1913    grid-template-columns: auto minmax(0, 1fr) 10rem 6.5rem 12rem;
1914    grid-template-areas: "id summary author time stat";
1915    column-gap: 1rem;
1916    align-items: center;
1917    padding-top: 0.55rem;
1918    padding-bottom: 0.55rem;
1919  }
1920
1921  .action-commits .commit-row > div,
1922  .action-commits .commit-row .commit-by {
1923    display: contents;
1924  }
1925
1926  .action-commits .commit-row .commit-by > :first-child {
1927    grid-area: author;
1928  }
1929
1930  .action-commits .commit-row .commit-by > :nth-child(2) {
1931    display: none;
1932  }
1933
1934  .action-commits .commit-row .commit-by > :last-child {
1935    grid-area: time;
1936  }
1937
1938  .action-commits .commit-row .commit-stat {
1939    grid-area: stat;
1940  }
1941
1942  .action-commits .commit-row .commit-id {
1943    grid-area: id;
1944    text-underline-offset: 0.3em;
1945  }
1946
1947  .action-commits .commit-row > .commit-line {
1948    display: flex;
1949    grid-area: summary;
1950    margin-left: -1rem;
1951  }
1952
1953  .action-commits .commit-row .commit-summary {
1954    align-items: baseline;
1955  }
1956
1957  .action-commits .commit-row .commit-summary::before {
1958    content: "\a0\b7\a0";
1959    font-size: var(--text-xs);
1960    color: var(--muted);
1961  }
1962
1963  .action-commits .commit-row .commit-by::before {
1964    content: none;
1965  }
1966}
1967
1968.commit-files {
1969  padding-top: 0.4rem;
1970  padding-bottom: 0.4rem;
1971  font-size: var(--text-sm);
1972}
1973
1974.commit-files > div {
1975  padding: 0.25rem 0;
1976}
1977
1978.commit-files .diff-stat {
1979  font-size: var(--text-xs);
1980}
1981
1982.diff-head {
1983  font-size: var(--text-sm);
1984}
1985
1986.diff-head + .box {
1987  color: var(--muted);
1988  font-size: var(--text-sm);
1989}
1990
1991.chroma.joined .line {
1992  display: flex;
1993  margin: 0 -0.65rem;
1994  padding: 0 0.65rem 0 0;
1995}
1996
1997.chroma.joined .gd {
1998  background-color: var(--del);
1999}
2000
2001.chroma.joined .gi {
2002  background-color: var(--ins);
2003}
2004
2005.chroma.joined .gu {
2006  color: var(--muted);
2007}
2008
2009.chroma.joined .ln {
2010  margin: 0;
2011  padding: 0 0.6em;
2012  background-color: var(--gutter);
2013}
2014
2015.chroma.joined .ln:first-child {
2016  padding-left: 0.75rem;
2017}
2018
2019.chroma.joined .ln + .ln {
2020  margin-right: 0.75em;
2021}
2022
2023.chroma.joined .gd .ln {
2024  background-color: var(--del-ln);
2025}
2026
2027.chroma.joined .gi .ln {
2028  background-color: var(--ins-ln);
2029}
2030
2031.chroma.joined .line:has(.gu),
2032.chroma.joined .line:has(.gu) .ln {
2033  background-color: var(--hunk-bg);
2034}
2035
2036header.subtitle h2 {
2037  font-size: var(--text-lg);
2038}
2039
2040header.subtitle h2 .count {
2041  margin-left: 0.25rem;
2042  font-weight: 400;
2043  color: var(--muted);
2044}
2045
2046.action-branches header.subtitle ~ header.subtitle {
2047  margin-top: 1.5rem;
2048}
2049
2050
2051.branch-sha {
2052  display: flex;
2053  align-items: center;
2054  flex-shrink: 0;
2055}
2056
2057.branch-log {
2058  flex-shrink: 0;
2059  width: 6.5rem;
2060  text-align: right;
2061}
2062
2063.topbar {
2064  display: flex;
2065  flex-wrap: wrap;
2066  align-items: baseline;
2067  gap: 0.25rem 0;
2068  margin-bottom: 2rem;
2069  padding-top: 2rem;
2070  --fit-bg: var(--bg);
2071}
2072
2073.topbar:has(> .repo-tabs) {
2074  margin-bottom: 1rem;
2075}
2076
2077#site_path > a {
2078  min-width: 0;
2079}
2080
2081.nav-only,
2082.nav-btn,
2083.nav-icons {
2084  display: none;
2085}
2086
2087.nav-menu > a:first-child {
2088  border-radius: var(--radius-inner) var(--radius-inner) 0 0;
2089}
2090
2091.nav-menu > a:last-child {
2092  border-radius: 0 0 var(--radius-inner) var(--radius-inner);
2093}
2094
2095.repo-docs {
2096  display: flex;
2097  gap: 1rem;
2098  margin-left: auto;
2099}
2100
2101.doc-link {
2102  display: flex;
2103  align-items: baseline;
2104  gap: 0.4rem;
2105}
2106
2107.doc-link svg {
2108  align-self: center;
2109  color: var(--muted);
2110}
2111
2112.doc-link:hover,
2113.tab:hover {
2114  text-decoration: none;
2115}
2116
2117.doc-link[aria-current] {
2118  font-weight: 600;
2119  color: var(--fg);
2120}
2121
2122.doc-link[aria-current] svg {
2123  color: var(--fg);
2124}
2125
2126.repo-tabs {
2127  display: flex;
2128  flex: 1 1 0;
2129  flex-wrap: wrap;
2130  gap: 0.25rem 1.1rem;
2131  margin-top: 1rem;
2132}
2133
2134.tab {
2135  display: flex;
2136  flex-shrink: 0;
2137  align-items: baseline;
2138  gap: 0.2rem;
2139  font-size: var(--text-2xl);
2140  font-weight: 300;
2141  letter-spacing: -0.01em;
2142  --link: var(--muted);
2143}
2144
2145a.brand,
2146.tab,
2147.repo-name a,
2148.repo-date,
2149.repo-desc {
2150  transition:
2151    color 0.12s,
2152    font-weight 0.12s;
2153}
2154
2155:is(a.brand, .tab):is([aria-current], :hover, :focus-visible) {
2156  --link: var(--fg);
2157  font-weight: 800;
2158}
2159
2160.tab-label {
2161  display: inline-flex;
2162  flex-direction: column;
2163}
2164
2165.tab-label::after {
2166  content: attr(data-label);
2167  height: 0;
2168  overflow: hidden;
2169  visibility: hidden;
2170  font-weight: 800;
2171  -webkit-user-select: none;
2172  user-select: none;
2173}
2174
2175.tab-count {
2176  font-size: var(--text-xs);
2177  font-weight: 500;
2178  line-height: 1.15rem;
2179  letter-spacing: 0;
2180  color: var(--muted);
2181}
2182
2183.rel {
2184  margin-bottom: 1.5rem;
2185}
2186
2187.rel-head .rel-name a {
2188  font-weight: 600;
2189}
2190
2191.rel-title {
2192  font-weight: 400;
2193}
2194
2195.rel-title::before {
2196  color: var(--muted);
2197}
2198
2199.rel-sum {
2200  min-width: 0;
2201}
2202
2203.rel-sum-label {
2204  user-select: none;
2205}
2206
2207.rel-size {
2208  width: 6rem;
2209  flex-shrink: 0;
2210  white-space: nowrap;
2211  text-align: right;
2212}
2213
2214.commit-by::before,
2215.short-id::after,
2216.rel-title::before,
2217.commit-title > .commit-id::after {
2218  content: "\a0\b7\a0";
2219}
2220
2221.commit-by {
2222  margin-left: -0.65rem;
2223}
2224
2225a:is(.commit-id, .release-id) {
2226  display: flex;
2227  align-items: center;
2228  --link: var(--muted);
2229}
2230
2231:is(.commit-id, .release-id) > svg {
2232  flex-shrink: 0;
2233  margin-right: 0.3em;
2234}
2235
2236.branch-sha + .tree-commit {
2237  margin-left: -1.3rem;
2238}
2239
2240.branch-row:has(> .tree-commit a:hover) > .tree-commit,
2241.branch-row:has(> .tree-commit a:hover) .commit-id {
2242  --link: var(--fg);
2243  text-decoration: underline var(--fg);
2244}
2245
2246.chips {
2247  display: flex;
2248  flex: 1 1 0;
2249  flex-wrap: wrap;
2250  justify-content: flex-end;
2251  min-width: 0;
2252  height: calc(1.35rem + 2px);
2253  overflow: hidden;
2254}
2255
2256.chips::before {
2257  content: "";
2258  height: 100%;
2259}
2260
2261.chips > .chip {
2262  margin-left: 0.65rem;
2263}
2264
2265.chips > :last-child {
2266  view-timeline: --cl block;
2267}
2268
2269.commit-row .commit-line .ref-more {
2270  flex: none;
2271  margin-left: 0.65rem;
2272  white-space: nowrap;
2273}
2274
2275@supports (animation-timeline: view()) {
2276  .commit-row .commit-line .ref-more:not(:has(.ref-menu-list > :nth-child(3))) {
2277    max-width: 0;
2278    margin-left: 0;
2279    overflow-x: clip;
2280    visibility: hidden;
2281    animation: more-needed linear both;
2282    animation-timeline: --cl;
2283  }
2284}
2285
2286@keyframes more-needed {
2287  0% {
2288    max-width: 10rem;
2289    margin-left: 0.65rem;
2290    overflow-x: visible;
2291    visibility: visible;
2292  }
2293
2294  1%,
2295  100% {
2296    max-width: 0;
2297    margin-left: 0;
2298    overflow-x: clip;
2299    visibility: hidden;
2300  }
2301}
2302
2303.tree-date,
2304.rel-size,
2305.commit-by > :last-child,
2306.summary-meta-val:has(> :is(.commit-id, .release-id)),
2307.log-date,
2308.repo-date,
2309.commit-meta {
2310  font-variant-numeric: tabular-nums;
2311}
2312
2313.summary-meta-val > .release-id {
2314  font-variant-numeric: normal;
2315}
2316
2317@media only screen and (max-width: 600px) {
2318  a.brand[aria-current] {
2319    font-size: var(--text-xl);
2320  }
2321
2322  .branch-row {
2323    display: grid;
2324    grid-template-columns: minmax(0, 1fr) max-content;
2325    gap: 0.15rem 0.65rem;
2326  }
2327
2328  .branch-row .branch-sha {
2329    margin-left: calc(16px + 0.65rem);
2330  }
2331
2332  .branch-row .tree-date {
2333    grid-area: 1 / 2;
2334    justify-self: end;
2335  }
2336
2337  .branch-row .branch-log {
2338    grid-area: 2 / 2;
2339  }
2340
2341  .log-day {
2342    padding-left: 0;
2343  }
2344
2345  .log-date {
2346    position: static;
2347    float: none;
2348    width: auto;
2349    margin: 0 0 0.5rem;
2350    padding-top: 0;
2351  }
2352}
2353
2354math {
2355  font-family: "New Computer Modern Math", math;
2356  font-feature-settings: "dtls" 0;
2357  font-size: 1.1em;
2358}
2359
2360math:not([display="block"]) {
2361  white-space: nowrap;
2362}
2363
2364.markdown-body :is(p, h1, h2, h3, h4, h5, h6):has(math),
2365.markdown-body :is(ul, ol):has(> li > math, > li > :not(ul, ol, p) > math),
2366.footnotes li:has(math) {
2367  overflow: auto hidden;
2368}
2369
2370mtext .math-core-sans-serif-font {
2371  font-family: sans-serif;
2372}
2373
2374.markdown-body mtext code {
2375  padding: 0;
2376  font-size: inherit;
2377  background-color: transparent;
2378}
2379
2380mtd {
2381    padding: 0.5ex 0.5em;
2382}
2383
2384mtr > mtd:first-child {
2385  padding-left: 0;
2386}
2387
2388mtr > mtd:last-child {
2389  padding-right: 0;
2390}
2391
2392@supports (not (-webkit-backdrop-filter: blur(1px))) and
2393  (not (-moz-appearance: none)) {
2394  menclose {
2395    position: relative;
2396    padding: 0.5ex 0;
2397  }
2398  menclose[notation~="box" i] {
2399    border: 0.04em solid;
2400    padding: 0.3rem;
2401  }
2402  menclose[notation~="actuarial" i] {
2403    padding: 0.03889rem 0.03889rem 0 0.03889rem;
2404    border-width: 0.08em 0.08em 0em 0em;
2405    border-style: solid;
2406    margin-right: 0.03889rem;
2407  }
2408  menclose[notation~="phasorangle" i] {
2409    border-bottom: 0.067em solid;
2410    padding: 0.2em 0.2em 0.1em 0.6em;
2411  }
2412  mrow.menclose-phasorangle {
2413    display: inline-block;
2414    position: absolute;
2415    left: 0.5px;
2416    bottom: -0.04em;
2417    height: 100%;
2418    aspect-ratio: 0.5;
2419    background-color: currentcolor;
2420    clip-path: polygon(
2421      0.05em 100%,
2422      0 calc(100% - 0.05em),
2423      calc(100% - 0.05em) 0,
2424      100% 0.05em
2425    );
2426  }
2427  mrow.menclose-updiagonalstrike,
2428  mrow.menclose-downdiagonalstrike {
2429    display: inline-block;
2430    position: absolute;
2431    left: 0.5px;
2432    bottom: 0;
2433    width: 100%;
2434    height: 100%;
2435    background-color: currentcolor;
2436  }
2437  mrow.menclose-updiagonalstrike {
2438    clip-path: polygon(
2439      0.05em 100%,
2440      0 calc(100% - 0.05em),
2441      calc(100% - 0.05em) 0,
2442      100% 0.05em
2443    );
2444  }
2445  mrow.menclose-downdiagonalstrike {
2446    clip-path: polygon(
2447      0em 0.05em,
2448      0.05em 0em,
2449      100% calc(100% - 0.05em),
2450      calc(100% - 0.05em) 100%
2451    );
2452  }
2453}
2454
2455@supports (not (-moz-appearance: none)) {
2456  mover[accent="true" i] > mo:nth-child(2) {
2457    margin-bottom: 0.15ex;
2458  }
2459}
2460
2461@media only screen and (width < 60em) {
2462  .topbar:has(> .repo-tabs) {
2463    padding-top: 1rem;
2464    margin-bottom: 1rem;
2465  }
2466
2467  .topbar:has(> .repo-tabs) > :is(.repo-tabs, .repo-docs) {
2468    display: none;
2469  }
2470
2471  .topbar:has(> .repo-tabs) #header {
2472    flex-wrap: nowrap;
2473    align-items: center;
2474    height: 2.1rem;
2475  }
2476
2477  .topbar #site_path {
2478    flex: 0 1 auto;
2479    min-width: 0;
2480    align-items: center;
2481  }
2482
2483  .topbar #site_path > a {
2484    display: flex;
2485  }
2486
2487  .topbar:has(> .repo-tabs) :is(#site_path, a.brand) {
2488    font-size: var(--text-base);
2489  }
2490
2491  .topbar:has(> .repo-tabs) #site_path::before,
2492  .topbar:has(> .repo-tabs) .nav-only {
2493    content: "/";
2494    display: block;
2495    flex-shrink: 0;
2496    margin: 0 0.25rem;
2497    font-family: var(--font-ui);
2498    font-size: var(--text-base);
2499    font-weight: 300;
2500    font-style: normal;
2501    font-variation-settings: "MONO" 0;
2502    letter-spacing: 0;
2503    line-height: 1.5;
2504    color: var(--muted);
2505  }
2506
2507  .nav-btn {
2508    display: flex;
2509    flex-shrink: 0;
2510    align-items: center;
2511    box-sizing: border-box;
2512    height: 2.1rem;
2513    gap: 0.25rem;
2514    padding: 0 0.35rem;
2515    font: inherit;
2516    font-size: var(--text-base);
2517    color: var(--fg);
2518    border: 1px solid var(--line);
2519    border-radius: var(--radius);
2520    background: var(--surface);
2521    cursor: pointer;
2522  }
2523
2524  .nav-menu.ref-menu-list {
2525    min-width: 13rem;
2526    position-area: bottom span-left;
2527  }
2528
2529  .nav-menu.ref-menu-list a {
2530    display: flex;
2531    gap: 1.5rem;
2532  }
2533
2534  .nav-menu a > span:last-child:not(:first-child) {
2535    margin-left: auto;
2536    font-family: var(--font-mono);
2537    font-variation-settings: "MONO" 1;
2538    color: var(--muted);
2539  }
2540
2541  .nav-icons {
2542    display: flex;
2543    flex: 1 1 0;
2544    justify-content: flex-end;
2545    column-gap: 0.45rem;
2546    min-width: 2.2rem;
2547    padding-left: 0.65rem;
2548    container-type: inline-size;
2549  }
2550
2551  .nav-icons.docs-2 {
2552    min-width: 4.15rem;
2553  }
2554
2555  .nav-icons a {
2556    display: flex;
2557    flex: none;
2558    align-items: center;
2559    box-sizing: border-box;
2560    height: 2.1rem;
2561    gap: 0.25rem;
2562    padding: 0 0.1rem;
2563    font-size: var(--text-sm);
2564    line-height: 1.25rem;
2565    --link: var(--muted);
2566  }
2567
2568  .nav-icons a > svg {
2569    flex-shrink: 0;
2570  }
2571
2572  @container (width < 5.15rem) {
2573    .docs-1 span {
2574      display: none;
2575    }
2576
2577    .docs-1 svg {
2578      width: 21px;
2579      height: 21px;
2580    }
2581  }
2582
2583  @container (width < 10.45rem) {
2584    .docs-2 span {
2585      display: none;
2586    }
2587
2588    .docs-2 svg {
2589      width: 21px;
2590      height: 21px;
2591    }
2592  }
2593
2594  .nav-icons a[aria-current] {
2595    --link: var(--fg);
2596    font-weight: 600;
2597  }
2598
2599  .nav-icons a[aria-current] > svg {
2600    color: var(--fg);
2601  }
2602
2603  .sticky,
2604  .view-switch,
2605  .action-code .view-switch {
2606    position: relative;
2607    top: 0;
2608  }
2609
2610  .log-date {
2611    position: static;
2612  }
2613
2614  .sticky,
2615  .action-code .ref-bar,
2616  .view-switch,
2617  .view-switch > :first-child,
2618  .view-switch > :last-child {
2619    animation: none;
2620  }
2621}