|
27 | 27 | } |
28 | 28 | table { |
29 | 29 | margin: 0 auto; |
30 | | -} |
31 | | -table thead td { |
32 | | - font-weight: 700; |
| 30 | + border-collapse: collapse; |
33 | 31 | } |
34 | 32 | table td { |
35 | 33 | padding: 3px 20px; |
| 34 | + border: 1px solid; |
| 35 | +} |
| 36 | +table thead td { |
| 37 | + font-weight: 700; |
36 | 38 | } |
37 | 39 | .sidebar { |
38 | 40 | position: absolute; |
@@ -296,14 +298,6 @@ table td { |
296 | 298 | .light { |
297 | 299 | color: #333; |
298 | 300 | background-color: #fff; |
299 | | -/* |
300 | | - table { |
301 | | - thead td { |
302 | | - color: $table-header-fg; |
303 | | - backrgound: $table-header-bg; |
304 | | - } |
305 | | - } |
306 | | - */ |
307 | 301 | /* Inline code */ |
308 | 302 | } |
309 | 303 | .light .content .header:link, |
@@ -375,6 +369,21 @@ table td { |
375 | 369 | border-top: 0.1em solid #e1edf1; |
376 | 370 | border-bottom: 0.1em solid #e1edf1; |
377 | 371 | } |
| 372 | +.light table td { |
| 373 | + border-color: #f2f2f2; |
| 374 | +} |
| 375 | +.light table tbody tr:nth-child(2n) { |
| 376 | + background: #f7f7f7; |
| 377 | +} |
| 378 | +.light table thead { |
| 379 | + background: #ccc; |
| 380 | +} |
| 381 | +.light table thead td { |
| 382 | + border: none; |
| 383 | +} |
| 384 | +.light table thead tr { |
| 385 | + border: 1px #ccc solid; |
| 386 | +} |
378 | 387 | .light :not(pre) > .hljs { |
379 | 388 | display: inline-block; |
380 | 389 | vertical-align: middle; |
@@ -404,14 +413,6 @@ table td { |
404 | 413 | .coal { |
405 | 414 | color: #98a3ad; |
406 | 415 | background-color: #141617; |
407 | | -/* |
408 | | - table { |
409 | | - thead td { |
410 | | - color: $table-header-fg; |
411 | | - backrgound: $table-header-bg; |
412 | | - } |
413 | | - } |
414 | | - */ |
415 | 416 | /* Inline code */ |
416 | 417 | } |
417 | 418 | .coal .content .header:link, |
@@ -483,6 +484,21 @@ table td { |
483 | 484 | border-top: 0.1em solid #2c2f44; |
484 | 485 | border-bottom: 0.1em solid #2c2f44; |
485 | 486 | } |
| 487 | +.coal table td { |
| 488 | + border-color: #1f2223; |
| 489 | +} |
| 490 | +.coal table tbody tr:nth-child(2n) { |
| 491 | + background: #1b1d1e; |
| 492 | +} |
| 493 | +.coal table thead { |
| 494 | + background: #3f4649; |
| 495 | +} |
| 496 | +.coal table thead td { |
| 497 | + border: none; |
| 498 | +} |
| 499 | +.coal table thead tr { |
| 500 | + border: 1px #3f4649 solid; |
| 501 | +} |
486 | 502 | .coal :not(pre) > .hljs { |
487 | 503 | display: inline-block; |
488 | 504 | vertical-align: middle; |
@@ -512,14 +528,6 @@ table td { |
512 | 528 | .navy { |
513 | 529 | color: #bcbdd0; |
514 | 530 | background-color: #161923; |
515 | | -/* |
516 | | - table { |
517 | | - thead td { |
518 | | - color: $table-header-fg; |
519 | | - backrgound: $table-header-bg; |
520 | | - } |
521 | | - } |
522 | | - */ |
523 | 531 | /* Inline code */ |
524 | 532 | } |
525 | 533 | .navy .content .header:link, |
@@ -591,6 +599,21 @@ table td { |
591 | 599 | border-top: 0.1em solid #2f333f; |
592 | 600 | border-bottom: 0.1em solid #2f333f; |
593 | 601 | } |
| 602 | +.navy table td { |
| 603 | + border-color: #1f2331; |
| 604 | +} |
| 605 | +.navy table tbody tr:nth-child(2n) { |
| 606 | + background: #1b1f2b; |
| 607 | +} |
| 608 | +.navy table thead { |
| 609 | + background: #39415b; |
| 610 | +} |
| 611 | +.navy table thead td { |
| 612 | + border: none; |
| 613 | +} |
| 614 | +.navy table thead tr { |
| 615 | + border: 1px #39415b solid; |
| 616 | +} |
594 | 617 | .navy :not(pre) > .hljs { |
595 | 618 | display: inline-block; |
596 | 619 | vertical-align: middle; |
@@ -620,14 +643,6 @@ table td { |
620 | 643 | .rust { |
621 | 644 | color: #262625; |
622 | 645 | background-color: #e1e1db; |
623 | | -/* |
624 | | - table { |
625 | | - thead td { |
626 | | - color: $table-header-fg; |
627 | | - backrgound: $table-header-bg; |
628 | | - } |
629 | | - } |
630 | | - */ |
631 | 646 | /* Inline code */ |
632 | 647 | } |
633 | 648 | .rust .content .header:link, |
@@ -699,6 +714,21 @@ table td { |
699 | 714 | border-top: 0.1em solid #b8b8b1; |
700 | 715 | border-bottom: 0.1em solid #b8b8b1; |
701 | 716 | } |
| 717 | +.rust table td { |
| 718 | + border-color: #d7d7cf; |
| 719 | +} |
| 720 | +.rust table tbody tr:nth-child(2n) { |
| 721 | + background: #dbdbd4; |
| 722 | +} |
| 723 | +.rust table thead { |
| 724 | + background: #b3a497; |
| 725 | +} |
| 726 | +.rust table thead td { |
| 727 | + border: none; |
| 728 | +} |
| 729 | +.rust table thead tr { |
| 730 | + border: 1px #b3a497 solid; |
| 731 | +} |
702 | 732 | .rust :not(pre) > .hljs { |
703 | 733 | display: inline-block; |
704 | 734 | vertical-align: middle; |
|
0 commit comments