| 1 | .issue-header { |
| 2 | margin: 20px 0 16px; |
| 3 | } |
| 4 | |
| 5 | .issue-header__title { |
| 6 | font-size: 24px; |
| 7 | font-weight: 600; |
| 8 | line-height: 1.3; |
| 9 | margin: 0; |
| 10 | padding: 0; |
| 11 | word-wrap: break-word; |
| 12 | overflow-wrap: break-word; |
| 13 | } |
| 14 | |
| 15 | .issue-header__id { |
| 16 | color: #57606a; |
| 17 | font-weight: 400; |
| 18 | margin-left: 4px; |
| 19 | } |
| 20 | |
| 21 | .issue-post { |
| 22 | display: grid; |
| 23 | grid-template-columns: 40px 1fr; |
| 24 | gap: 14px; |
| 25 | padding: 14px 16px; |
| 26 | border: 1px solid #d0d7de; |
| 27 | border-radius: 6px; |
| 28 | margin-bottom: 14px; |
| 29 | background: #fff; |
| 30 | } |
| 31 | |
| 32 | .issue-post__avatar { |
| 33 | display: block; |
| 34 | |
| 35 | img { |
| 36 | width: 36px; |
| 37 | height: 36px; |
| 38 | border-radius: 50%; |
| 39 | border: 1px solid #d0d7de; |
| 40 | display: block; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | .issue-post__body { |
| 45 | min-width: 0; |
| 46 | } |
| 47 | |
| 48 | .issue-post__meta { |
| 49 | display: flex; |
| 50 | flex-wrap: wrap; |
| 51 | gap: 6px; |
| 52 | align-items: baseline; |
| 53 | font-size: 13px; |
| 54 | color: #57606a; |
| 55 | padding-bottom: 8px; |
| 56 | margin-bottom: 10px; |
| 57 | border-bottom: 1px solid #eaeef2; |
| 58 | } |
| 59 | |
| 60 | .issue-post__author { |
| 61 | font-weight: 600; |
| 62 | color: #24292f; |
| 63 | } |
| 64 | |
| 65 | .issue-post__time { |
| 66 | color: #57606a; |
| 67 | } |
| 68 | |
| 69 | .issue-post__content { |
| 70 | font-size: 14px; |
| 71 | line-height: 1.55; |
| 72 | color: #24292f; |
| 73 | word-wrap: break-word; |
| 74 | overflow-wrap: break-word; |
| 75 | |
| 76 | p { |
| 77 | margin: 0 0 12px; |
| 78 | } |
| 79 | |
| 80 | p:last-child { |
| 81 | margin-bottom: 0; |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | .markdown-body.issue-post__content, |
| 86 | .issue-post__content.markdown-body { |
| 87 | h1, h2, h3, h4 { |
| 88 | font-weight: 600; |
| 89 | margin: 18px 0 8px; |
| 90 | padding: 0; |
| 91 | line-height: 1.3; |
| 92 | } |
| 93 | |
| 94 | h1 { font-size: 18px; } |
| 95 | h2 { font-size: 16px; } |
| 96 | h3 { font-size: 15px; } |
| 97 | h4 { font-size: 14px; } |
| 98 | |
| 99 | > *:first-child { |
| 100 | margin-top: 0; |
| 101 | } |
| 102 | |
| 103 | ul, ol { |
| 104 | margin: 0 0 12px 22px; |
| 105 | padding: 0; |
| 106 | } |
| 107 | |
| 108 | li { |
| 109 | margin: 4px 0; |
| 110 | } |
| 111 | |
| 112 | a { |
| 113 | color: #0969da; |
| 114 | } |
| 115 | |
| 116 | code { |
| 117 | background: #f6f8fa; |
| 118 | padding: 1px 5px; |
| 119 | border-radius: 3px; |
| 120 | font-size: 90%; |
| 121 | } |
| 122 | |
| 123 | pre { |
| 124 | background: #f6f8fa; |
| 125 | padding: 12px; |
| 126 | border-radius: 6px; |
| 127 | overflow-x: auto; |
| 128 | } |
| 129 | |
| 130 | blockquote { |
| 131 | border-left: 3px solid #d0d7de; |
| 132 | padding: 0 12px; |
| 133 | color: #57606a; |
| 134 | margin: 0 0 12px; |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | .comment-form { |
| 139 | display: flex; |
| 140 | flex-direction: column; |
| 141 | gap: 8px; |
| 142 | margin-top: 18px; |
| 143 | } |
| 144 | |
| 145 | .comment-form__input { |
| 146 | box-sizing: border-box; |
| 147 | width: 100%; |
| 148 | min-height: 100px; |
| 149 | padding: 10px 12px; |
| 150 | font-size: 14px; |
| 151 | font-family: inherit; |
| 152 | line-height: 1.5; |
| 153 | resize: vertical; |
| 154 | } |
| 155 | |
| 156 | .comment-form__actions { |
| 157 | display: flex; |
| 158 | justify-content: flex-end; |
| 159 | } |
| 160 | |
| 161 | .comment-form__submit { |
| 162 | width: auto !important; |
| 163 | padding: 6px 16px; |
| 164 | background-color: #1f883d; |
| 165 | color: #fff; |
| 166 | border: 1px solid rgba(31, 136, 61, 0.6); |
| 167 | font-weight: 500; |
| 168 | |
| 169 | &:hover { |
| 170 | background-color: #1a7f37; |
| 171 | border-color: rgba(27, 31, 36, 0.15); |
| 172 | color: #fff; |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | .comment { |
| 177 | margin-left: 20px; |
| 178 | margin-top: 20px; |
| 179 | } |
| 180 | |