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