1 * { 2 overflow-y: unset; 3 } 4 5 /* Avoid showing the background of the scrollbar when the content is small enough */ 6 html { 7 margin-left: calc(100vw - 100%); 8 margin-right: 0; 9 } 10 11 body { 12 color: #000; 13 background-color: #fff; 14 font-family: inconsolata, monospace; 15 font-size: 14px; 16 max-width: 65em; 17 margin-left: auto; 18 margin-right: auto; 19 margin-bottom: 10em; 20 margin-top: 1em; 21 } 22 23 footer { 24 color: grey; 25 padding: 2em; 26 text-align: center; 27 } 28 29 h1, h2, h3, h4, h5, h6 { 30 font-size: 1em; 31 margin: 0; 32 } 33 34 img, h1, h2 { 35 vertical-align: middle; 36 } 37 38 img { 39 border: 0; 40 } 41 42 ul { 43 padding-left: 1em; 44 } 45 46 a:target { 47 background-color: #ccc; 48 } 49 50 a.d, a.h, a.i, a.line { 51 text-decoration: none; 52 } 53 54 #entry { 55 cursor: pointer; 56 } 57 58 #last-commit { 59 white-space: nowrap; 60 text-align: right; 61 } 62 63 #index, 64 #log, 65 #refs, 66 #commit-summary, 67 #commit-diff { 68 width: 100%; 69 border: 1px dashed #505050; 70 padding: 1em; 71 border-radius: .5em; 72 margin-top: 1em; 73 } 74 75 #refs h2, 76 #refs td { 77 padding: 0 0.4em; 78 } 79 80 #files { 81 min-width: 100%; 82 border: 1px dashed #505050; 83 padding: 1em 1.4em 1em 1.4em; 84 border-radius: .5em; 85 } 86 87 #dir-files { 88 min-width: 100%; 89 border: 1px dashed #505050; 90 padding: 1em; 91 margin-top: 0em; 92 border-radius: .5em; 93 border-top-left-radius: 0; 94 border-top-right-radius: 0; 95 border-top: none; 96 } 97 98 #file-mode { 99 width: 120px; 100 } 101 102 #readme { 103 border: 1px dashed #505050; 104 padding: 2em; 105 margin-top: 1em; 106 border-radius: .5em; 107 } 108 109 #readme p { 110 line-height: 1.25; 111 } 112 113 #readme-hr, #owner { 114 display: none; 115 } 116 117 #name { 118 font-weight: bold; 119 } 120 121 #repo-name { 122 font-size: 1.75em; 123 } 124 125 #repo-header-table { 126 padding: .25em 2em .75em 2em; 127 } 128 129 #main-name { 130 font-size: 1.75em; 131 color: crimson; 132 padding-bottom: .25em; 133 } 134 135 #dir-name { 136 font-weight: bolder; 137 } 138 139 #dir-title { 140 border: 1px dashed #505050; 141 padding: 1em 1.48em; 142 margin-bottom: 0; 143 border-top-left-radius: .5em; 144 border-top-right-radius: .5em; 145 } 146 147 #binary-file { 148 border: 1px dashed #505050; 149 padding: 1em; 150 margin-top: 0; 151 border-radius: .5em; 152 border-top-left-radius: 0; 153 border-top-right-radius: 0; 154 } 155 156 #repo-top-buttons { 157 padding: .5em 2em 1em 2em; 158 font-weight: bold; 159 } 160 161 #log-date, 162 #log-author { 163 white-space: nowrap; 164 } 165 166 #legends td { 167 padding: 0 0.4em; 168 } 169 170 #main-header-table { 171 display: flex; 172 justify-content: center; 173 padding-bottom: .5em; 174 td { 175 text-align: center; 176 } 177 } 178 179 #main-header-logo, #repo-logo { 180 display: none; 181 } 182 183 #main-header-table tbody { 184 display: flex; 185 justify-content: center; 186 } 187 188 #blob { 189 border: 1px dashed #505050; 190 padding: .5em; 191 margin-top: 0; 192 border-radius: .5em; 193 border-top-left-radius: 0; 194 border-top-right-radius: 0; 195 } 196 197 #blob a { 198 color: #555; 199 } 200 201 a { 202 color: #a04a00; 203 text-decoration: none; 204 } 205 206 a:hover { 207 color: crimson; 208 text-decoration: underline; 209 } 210 211 #dir-size a, #dir-size a:hover { 212 display: block; 213 color: #fff; 214 text-decoration: none; 215 } 216 217 #name a, 218 #dir-name a, 219 #file-name a, 220 .dir, .dir:hover, 221 #log-summary a { 222 display: block; 223 text-decoration: none; 224 padding: 2em 2.4em; 225 margin: -2em; 226 color: #a04a00; 227 } 228 229 230 #file-size a, 231 #file-mode a, 232 #description a, 233 #last-commit a, 234 #owner a, 235 #log-date a, 236 #log-author a, 237 #log-files a { 238 display: block; 239 text-decoration: none; 240 padding: 2em 2.4em; 241 margin: -2em; 242 color: #000; 243 } 244 245 #file-mode a:hover , 246 #description a:hover, 247 #last-commit a:hover, 248 #owner a:hover, 249 #log-date a, 250 #log-author a, 251 #log-files a { 252 text-decoration: none; 253 color: #000; 254 } 255 256 #blob a:hover { 257 color: #a04a00; 258 text-decoration: none; 259 } 260 261 table thead td { 262 font-weight: bold; 263 } 264 265 #content table td { 266 vertical-align: top; 267 /* white-space: nowrap; */ 268 } 269 270 td { 271 overflow: hidden; 272 } 273 274 #branches tr:hover td, 275 #tags tr:hover td, 276 #index tr:hover td, 277 #log tr:hover td, 278 #files tr:hover td, 279 #dir-files tr:hover td { 280 background-color: #eee; 281 } 282 283 #legends tr:hover td { 284 background-color: #fff; 285 } 286 287 #index tr td:nth-child(2), 288 #tags tr td:nth-child(3), 289 #branches tr td:nth-child(3), 290 #log tr td:nth-child(2) { 291 white-space: normal; 292 } 293 294 td.num { 295 text-align: right; 296 } 297 298 .desc { 299 color: #555; 300 } 301 302 .main-desc { 303 color: #555; 304 font-size: 1.25em; 305 } 306 307 hr { 308 border: 0; 309 border-top: 1px dashed #505050; 310 height: 1px; 311 margin: 1em 0; 312 } 313 314 pre { 315 font-family: monospace; 316 overflow-x: auto; 317 padding-bottom: 2em; 318 } 319 320 pre a.h { 321 color: #00a; 322 } 323 324 .A, span.i, pre a.i { 325 color: #070; 326 } 327 328 .D, span.d, pre a.d { 329 color: #e00; 330 } 331 332 pre a.h:hover, pre a.i:hover, pre a.d:hover { 333 text-decoration: none; 334 } 335 336 #open-file-header { 337 padding: 0 0.4em; 338 border: 1px dashed #505050; 339 padding: 1em; 340 border-top-left-radius: .5em; 341 border-top-right-radius: .5em; 342 border-bottom: none; 343 margin-bottom: 0; 344 345 display: flex; 346 flex-wrap: wrap; 347 justify-content: space-between; 348 align-items: center; 349 white-space: initial; 350 } 351 352 #open-file-name { 353 font-weight: bold; 354 } 355 356 .line { 357 display: inline; 358 margin-left: -.5em; 359 } 360 361 #line-checkbox { 362 margin-right: .5em; 363 } 364 365 #line-checkbox-div { 366 padding-right: 1em; 367 margin-left: auto; 368 } 369 370 #file-parent-path { 371 font-weight: bold; 372 display: inline; 373 padding: 0; 374 margin: 0; 375 } 376 377 #file-raw a { 378 padding: .5em; 379 border: 1px solid #505050; 380 border-radius: .5em; 381 } 382 383 #file-raw a:hover{ 384 text-decoration: none; 385 background: #505050; 386 color: white; 387 } 388 389 #readme h1 { 390 font-size: 1.75em; 391 } 392 393 #readme h2 { 394 font-size: 1.5em; 395 padding: .5em 0em; 396 } 397 398 #readme h3 { 399 font-size: 1.25em; 400 text-align: left; 401 402 padding-top: .5em; 403 padding-bottom: .5em; 404 } 405 406 #readme h4 { 407 padding-top: .5em; 408 text-align: left; 409 } 410 411 #readme h5 { 412 padding-bottom: .25em; 413 font-size: 1em; 414 } 415 416 #readme code { 417 font-family: "Ubuntu Mono", monospace; 418 background-color: rgba(110,118,129,0.2); 419 padding: .1em .4em; 420 margin: 0; 421 border-radius: 6px; 422 white-space: nowrap; 423 } 424 425 #readme pre { 426 text-align: left; 427 428 padding-top: .5em; 429 padding-bottom: .5em; 430 padding-left: .75em; 431 padding-right: .75em; 432 border-radius: .2em; 433 background-color: rgba(110,118,129,0.2); 434 width: auto; 435 display: block; 436 margin-left: auto; 437 margin-right: auto; 438 margin-top: .25em; 439 margin-bottom: 1.25em; 440 overflow: auto; 441 } 442 443 #readme pre code { 444 background: rgba(0,0,0,0); 445 padding: 0; 446 margin: 0; 447 border-radius: 0; 448 white-space: inherit; 449 } 450 451 #readme img { 452 max-width: 100%; 453 display: block; 454 margin-left: auto; 455 margin-right: auto; 456 border-radius: .25em; 457 padding: 1em 0em; 458 } 459 460 @media (prefers-color-scheme: dark) { 461 body { 462 background-color: #141414; 463 /* color: #bdbdbd; */ 464 color: antiquewhite; 465 width: 100%; 466 } 467 468 a { 469 color: peru; 470 } 471 472 #dir-size a, 473 #dir-size a:hover { 474 color: #141414; 475 } 476 477 #file-mode a, 478 #file-size a, 479 #description a, 480 #last-commit a, 481 #owner a, 482 #log-date a, 483 #log-author a, 484 #log-files a { 485 /* color: #bdbdbd; */ 486 color: antiquewhite; 487 } 488 489 #file-mode a:hover, 490 #file-size a:hover, 491 #description a:hover, 492 #last-commit a:hover, 493 #owner a:hover, 494 #log-date a:hover, 495 #log-author a:hover, 496 #log-files a:hover { 497 /* color: #bdbdbd; */ 498 color: antiquewhite; 499 text-decoration: none; 500 } 501 a:target { 502 background-color: #222; 503 } 504 .desc { 505 color: antiquewhite; 506 } 507 #blob a { 508 color: #555; 509 } 510 #blob a:target { 511 color: #eee; 512 } 513 #blob a:hover { 514 color: peru; 515 } 516 pre a.h { 517 color: #00cdcd; 518 } 519 .A, 520 span.i, 521 pre a.i { 522 color: #00cd00; 523 } 524 .D, 525 span.d, 526 pre a.d { 527 color: #cd0000; 528 } 529 #branches tr:hover td, 530 #tags tr:hover td, 531 #index tr:hover td, 532 #log tr:hover td, 533 #files tr:hover td, 534 #dir-files tr:hover td { 535 background-color: #000; 536 } 537 538 #legends tr:hover td { 539 background: #141414; 540 } 541 542 #name a, 543 #dir-name a, 544 #file-name a, 545 .dir, .dir:hover, 546 #log-summary a { 547 color: peru; 548 } 549 } 550 551 @media (max-width: 800px) { 552 body { 553 font-size: 16px; 554 max-width: 97%; 555 } 556 #owner { 557 display: none; 558 } 559 #content table td { 560 padding-left: 0; 561 white-space: break-spaces; 562 vertical-align: bottom; 563 } 564 #name { 565 display: block; 566 font-size: 1.25em; 567 font-weight: bold; 568 } 569 #description { 570 display: block; 571 width: 100%; 572 padding: 0; 573 } 574 #last-commit { 575 display: block; 576 padding: .25em 0 1em 0; 577 padding-left: 0px; 578 font-size: .85em; 579 color: gray; 580 text-align: left; 581 } 582 #last-commit a { 583 color: gray; 584 } 585 #index #legends { 586 display: none; 587 } 588 a { 589 text-decoration: none; 590 overflow-wrap: break-word; 591 } 592 #name a { 593 display: block; 594 font-weight: bold; 595 text-decoration: none; 596 } 597 598 #name a, 599 #dir-name a, 600 #file-name a, 601 #log-summary a { 602 padding: 0; 603 margin: 0; 604 } 605 606 #file-mode a, 607 #file-size a, 608 #description a, 609 #last-commit a, 610 #owner a, 611 #log-date a, 612 #log-author a, 613 #log-files a { 614 padding: 0; 615 margin: 0; 616 } 617 618 #index, 619 #refs, 620 #files, 621 #dir-files, 622 #log, 623 #commit-summary, 624 #commit-diff { 625 padding: .5em; 626 } 627 628 #files #file-mode, #dir-files #file-mode { 629 display: none; 630 } 631 #files td, #dir-files td { 632 padding: 0; 633 } 634 #repo-top-buttons { 635 font-size: 20px; 636 } 637 #repo-name { 638 font-size: 1.5em; 639 } 640 #dir-name { 641 padding-left: 0; 642 padding-right: 0; 643 } 644 .desc { 645 font-size: 16px; 646 } 647 .main-desc { 648 font-size: 1.25em; 649 } 650 #log-author a { 651 color: gray; 652 } 653 #last-commit a::before { 654 content: "last commit "; 655 } 656 #log-author a::before { 657 content: "author "; 658 } 659 #blob { 660 font-size: 16px; 661 overflow: scroll; 662 } 663 664 #open-file-name, #dir-title { 665 padding: .75em; 666 margin-right: auto; 667 } 668 669 #log thead, 670 #log-files { 671 display: none; 672 } 673 #log-summary, 674 #log-date, 675 #readme-hr { 676 display: block; 677 } 678 #log-author { 679 display: block; 680 padding-bottom: 1em; 681 } 682 #commit-summary { 683 white-space: break-spaces; 684 } 685 #commit-diff { 686 overflow-x: scroll; 687 } 688 #readme { 689 padding: 1em; 690 } 691 #readme img { 692 max-width: 100%; 693 padding: 0; 694 } 695 #readme ul { 696 padding-left: 1em; 697 } 698 #readme h1 { 699 padding-top: .25em; 700 } 701 702 #branches tr:hover td, 703 #tags tr:hover td, 704 #index tr:hover td, 705 #log tr:hover td, 706 #files tr:hover td { 707 background-color: #fff; 708 } 709 710 #repo-top-buttons { 711 padding: .5em .50em 1em .50em; 712 } 713 714 #repo-header-table { 715 padding: .25em .50em .75em .50em; 716 } 717 718 #open-file-header { 719 padding: .5em; 720 } 721 722 #file-raw a { 723 margin-right: .5em; 724 } 725 726 a:hover { 727 color: #a04a00; 728 } 729 730 #line-checkbox-div { 731 text-align: center; 732 width: min-content; 733 white-space: nowrap; 734 } 735 736 @media (prefers-color-scheme: dark) { 737 #branches tr:hover td, 738 #tags tr:hover td, 739 #index tr:hover td, 740 #log tr:hover td, 741 #files tr:hover td { 742 background: #141414; 743 } 744 745 a:hover { 746 color: peru; 747 } 748 } 749 }
