|
6 | 6 | justify-content: space-between; |
7 | 7 | padding: var(--row-gap-0) 0 var(--row-gap-1); |
8 | 8 |
|
9 | | - & > * { |
| 9 | + &>* { |
10 | 10 | grid-column: 2; |
11 | 11 | } |
12 | 12 | } |
|
35 | 35 | .content-footer { |
36 | 36 | position: relative; |
37 | 37 | color: var(--color-foreground); |
| 38 | + |
38 | 39 | & * { |
39 | 40 | list-style: none; |
40 | 41 | } |
| 42 | + |
41 | 43 | & details { |
42 | 44 | cursor: pointer; |
43 | 45 | } |
| 46 | + |
44 | 47 | & summary { |
45 | 48 | cursor: pointer; |
46 | 49 | text-decoration: underline; |
47 | 50 | padding-left: 10px; |
48 | 51 | } |
| 52 | + |
49 | 53 | & details[open] { |
50 | 54 | & summary { |
51 | 55 | padding-left: 0; |
52 | 56 | } |
| 57 | + |
53 | 58 | padding: 10px; |
54 | 59 | padding-top: 0; |
55 | 60 | border-radius: var(--border-radius); |
|
59 | 64 |
|
60 | 65 | /* Markdown CSS */ |
61 | 66 | .content-body { |
| 67 | + |
62 | 68 | /* Ref. github-markdown-css (MIT): https://github.com/sindresorhus/github-markdown-css */ |
63 | 69 | /* Tweaked by @uta8a */ |
64 | 70 | &:not(pre > code) { |
|
158 | 164 | padding: 0; |
159 | 165 | background-color: var(--color-border-default); |
160 | 166 | border: 0; |
| 167 | + margin: 1em 0; |
161 | 168 | } |
162 | 169 |
|
163 | 170 | & input { |
|
227 | 234 | cursor: pointer; |
228 | 235 | } |
229 | 236 |
|
230 | | - & details:not([open]) > *:not(summary) { |
| 237 | + & details:not([open])>*:not(summary) { |
231 | 238 | display: none !important; |
232 | 239 | } |
233 | 240 |
|
|
507 | 514 | content: ""; |
508 | 515 | } |
509 | 516 |
|
510 | | - & > *:first-child { |
| 517 | + &>*:first-child { |
511 | 518 | margin-top: 0 !important; |
512 | 519 | } |
513 | 520 |
|
514 | | - & > *:last-child { |
| 521 | + &>*:last-child { |
515 | 522 | margin-bottom: 0 !important; |
516 | 523 | } |
517 | 524 |
|
|
547 | 554 | margin-bottom: 16px; |
548 | 555 | } |
549 | 556 |
|
550 | | - & blockquote > :first-child { |
| 557 | + & blockquote> :first-child { |
551 | 558 | margin-top: 0; |
552 | 559 | } |
553 | 560 |
|
554 | | - & blockquote > :last-child { |
| 561 | + & blockquote> :last-child { |
555 | 562 | margin-bottom: 0; |
556 | 563 | } |
557 | 564 |
|
558 | | - & sup > a::before { |
| 565 | + & sup>a::before { |
559 | 566 | content: "["; |
560 | 567 | } |
561 | 568 |
|
562 | | - & sup > a::after { |
| 569 | + & sup>a::after { |
563 | 570 | content: "]"; |
564 | 571 | } |
565 | 572 |
|
|
606 | 613 | list-style-type: lower-roman; |
607 | 614 | } |
608 | 615 |
|
609 | | - & div > ol:not([type]) { |
| 616 | + & div>ol:not([type]) { |
610 | 617 | list-style-type: decimal; |
611 | 618 | } |
612 | 619 |
|
|
618 | 625 | margin-bottom: 0; |
619 | 626 | } |
620 | 627 |
|
621 | | - & li > p { |
| 628 | + & li>p { |
622 | 629 | margin-top: 16px; |
623 | 630 | } |
624 | 631 |
|
625 | | - & li + li { |
| 632 | + & li+li { |
626 | 633 | margin-top: 0.25em; |
627 | 634 | } |
628 | 635 |
|
|
684 | 691 | overflow: hidden; |
685 | 692 | } |
686 | 693 |
|
687 | | - & span.frame > span { |
| 694 | + & span.frame>span { |
688 | 695 | display: block; |
689 | 696 | float: left; |
690 | 697 | width: auto; |
|
712 | 719 | clear: both; |
713 | 720 | } |
714 | 721 |
|
715 | | - & span.align-center > span { |
| 722 | + & span.align-center>span { |
716 | 723 | display: block; |
717 | 724 | margin: 13px auto 0; |
718 | 725 | overflow: hidden; |
|
730 | 737 | clear: both; |
731 | 738 | } |
732 | 739 |
|
733 | | - & span.align-right > span { |
| 740 | + & span.align-right>span { |
734 | 741 | display: block; |
735 | 742 | margin: 13px 0 0; |
736 | 743 | overflow: hidden; |
|
760 | 767 | overflow: hidden; |
761 | 768 | } |
762 | 769 |
|
763 | | - & span.float-right > span { |
| 770 | + & span.float-right>span { |
764 | 771 | display: block; |
765 | 772 | margin: 13px auto 0; |
766 | 773 | overflow: hidden; |
|
788 | 795 | font-size: 100%; |
789 | 796 | } |
790 | 797 |
|
791 | | - & pre > code { |
| 798 | + & pre>code { |
792 | 799 | padding: 0; |
793 | 800 | margin: 0; |
794 | 801 | word-break: normal; |
|
900 | 907 | cursor: pointer; |
901 | 908 | } |
902 | 909 |
|
903 | | - & .task-list-item + .task-list-item { |
| 910 | + & .task-list-item+.task-list-item { |
904 | 911 | margin-top: 3px; |
905 | 912 | } |
906 | 913 |
|
|
929 | 936 | display: grid; |
930 | 937 | grid-template-columns: minmax(150px, 1.5fr) 8.5fr; |
931 | 938 | grid-template-areas: "title description" "body body"; |
932 | | - & > .content-table-title { |
| 939 | + |
| 940 | + &>.content-table-title { |
933 | 941 | grid-area: title; |
934 | 942 | font-weight: bold; |
935 | 943 | } |
936 | | - & > .content-table-description { |
| 944 | + |
| 945 | + &>.content-table-description { |
937 | 946 | grid-area: description; |
938 | 947 | overflow: hidden; |
939 | 948 | overflow-x: scroll; |
940 | 949 | word-wrap: normal; |
941 | 950 | white-space: nowrap; |
| 951 | + |
942 | 952 | &::-webkit-scrollbar { |
943 | | - display: none; /* only chrome */ |
| 953 | + display: none; |
| 954 | + /* only chrome */ |
944 | 955 | } |
945 | 956 | } |
946 | | - & > .content-table-body { |
| 957 | + |
| 958 | + &>.content-table-body { |
947 | 959 | grid-area: body; |
948 | 960 | margin: 0; |
949 | 961 | padding: 0; |
| 962 | + |
950 | 963 | & .row-name { |
951 | 964 | padding: 0; |
952 | 965 | } |
| 966 | + |
953 | 967 | & li { |
954 | 968 | margin: 0; |
955 | 969 | padding: 4px 0; |
956 | 970 | list-style: none; |
957 | 971 | display: grid; |
958 | 972 | grid-template-columns: 2fr 6fr 2fr 0.3fr; |
959 | 973 | grid-template-areas: "title description tags status"; |
960 | | - & > * { |
| 974 | + |
| 975 | + &>* { |
961 | 976 | overflow: hidden; |
962 | 977 | overflow-x: scroll; |
963 | 978 | word-wrap: normal; |
964 | 979 | white-space: nowrap; |
965 | 980 | margin-left: 5px; |
| 981 | + |
966 | 982 | &::-webkit-scrollbar { |
967 | | - display: none; /* only chrome */ |
| 983 | + display: none; |
| 984 | + /* only chrome */ |
968 | 985 | } |
969 | 986 | } |
| 987 | + |
970 | 988 | & .row-status { |
971 | 989 | grid-area: status; |
972 | 990 | } |
| 991 | + |
973 | 992 | & .row-title { |
974 | 993 | grid-area: title; |
975 | 994 | } |
| 995 | + |
976 | 996 | & .row-description { |
977 | 997 | grid-area: description; |
978 | 998 | } |
| 999 | + |
979 | 1000 | & .row-tags { |
980 | 1001 | grid-area: tags; |
981 | 1002 | display: flex; |
982 | 1003 | } |
| 1004 | + |
983 | 1005 | & .row-tag { |
984 | 1006 | padding-left: 2px; |
985 | 1007 | overflow: hidden; |
|
988 | 1010 | word-wrap: normal; |
989 | 1011 | grid-area: tags; |
990 | 1012 | flex-shrink: 0; |
| 1013 | + |
991 | 1014 | &::before { |
992 | 1015 | content: "#"; |
993 | 1016 | } |
994 | 1017 | } |
| 1018 | + |
995 | 1019 | @media (max-width: 600px) { |
996 | 1020 | grid-template-columns: 1fr 1fr 0.2fr; |
997 | 1021 | grid-template-areas: "title description status"; |
| 1022 | + |
998 | 1023 | & .row-tags { |
999 | 1024 | display: none; |
1000 | 1025 | } |
|
0 commit comments