|
| 1 | +.changelog code[class*=language-], .changelog pre[class*=language-] { |
| 2 | + color: #333; |
| 3 | + background: transparent; |
| 4 | + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; |
| 5 | + text-align: left; |
| 6 | + white-space: pre; |
| 7 | + word-spacing: normal; |
| 8 | + word-break: normal; |
| 9 | + word-wrap: normal; |
| 10 | + line-height: 1.4; |
| 11 | + -moz-tab-size: 8; |
| 12 | + -o-tab-size: 8; |
| 13 | + tab-size: 8; |
| 14 | + -webkit-hyphens: none; |
| 15 | + -moz-hyphens: none; |
| 16 | + -ms-hyphens: none; |
| 17 | + hyphens: none; |
| 18 | +} |
| 19 | + |
| 20 | +.changelog pre[class*=language-] { |
| 21 | + padding: 0.8em; |
| 22 | + overflow: auto; |
| 23 | + border-radius: 3px; |
| 24 | + background: #f5f5f5; |
| 25 | +} |
| 26 | + |
| 27 | +.changelog :not(pre) > code[class*=language-] { |
| 28 | + padding: 0.1em; |
| 29 | + border-radius: 0.3em; |
| 30 | + white-space: normal; |
| 31 | + background: #f5f5f5; |
| 32 | +} |
| 33 | + |
| 34 | +.changelog .token.blockquote, |
| 35 | +.changelog .token.comment { |
| 36 | + color: #969896; |
| 37 | +} |
| 38 | + |
| 39 | +.changelog .token.cdata { |
| 40 | + color: #183691; |
| 41 | +} |
| 42 | + |
| 43 | +.changelog .token.doctype, |
| 44 | +.changelog .token.macro.property, |
| 45 | +.changelog .token.punctuation, |
| 46 | +.changelog .token.variable { |
| 47 | + color: #333; |
| 48 | +} |
| 49 | + |
| 50 | +.changelog .token.builtin, |
| 51 | +.changelog .token.important, |
| 52 | +.changelog .token.keyword, |
| 53 | +.changelog .token.operator, |
| 54 | +.changelog .token.rule { |
| 55 | + color: #a71d5d; |
| 56 | +} |
| 57 | + |
| 58 | +.changelog .token.attr-value, |
| 59 | +.changelog .token.regex, |
| 60 | +.changelog .token.string, |
| 61 | +.changelog .token.url { |
| 62 | + color: #183691; |
| 63 | +} |
| 64 | + |
| 65 | +.changelog .token.atrule, |
| 66 | +.changelog .token.boolean, |
| 67 | +.changelog .token.code, |
| 68 | +.changelog .token.command, |
| 69 | +.changelog .token.constant, |
| 70 | +.changelog .token.entity, |
| 71 | +.changelog .token.number, |
| 72 | +.changelog .token.property, |
| 73 | +.changelog .token.symbol { |
| 74 | + color: #0086b3; |
| 75 | +} |
| 76 | + |
| 77 | +.changelog .token.prolog, |
| 78 | +.changelog .token.selector, |
| 79 | +.changelog .token.tag { |
| 80 | + color: #63a35c; |
| 81 | +} |
| 82 | + |
| 83 | +.changelog .token.attr-name, |
| 84 | +.changelog .token.class, |
| 85 | +.changelog .token.class-name, |
| 86 | +.changelog .token.function, |
| 87 | +.changelog .token.id, |
| 88 | +.changelog .token.namespace, |
| 89 | +.changelog .token.pseudo-class, |
| 90 | +.changelog .token.pseudo-element, |
| 91 | +.changelog .token.url-reference .token.variable { |
| 92 | + color: #795da3; |
| 93 | +} |
| 94 | + |
| 95 | +.changelog .token.entity { |
| 96 | + cursor: help; |
| 97 | +} |
| 98 | + |
| 99 | +.changelog .token.title, |
| 100 | +.changelog .token.title .token.punctuation { |
| 101 | + font-weight: 700; |
| 102 | + color: #1d3e81; |
| 103 | +} |
| 104 | + |
| 105 | +.changelog .token.list { |
| 106 | + color: #ed6a43; |
| 107 | +} |
| 108 | + |
| 109 | +.changelog .token.inserted { |
| 110 | + background-color: #eaffea; |
| 111 | + color: #55a532; |
| 112 | +} |
| 113 | + |
| 114 | +.changelog .token.deleted { |
| 115 | + background-color: #ffecec; |
| 116 | + color: #bd2c00; |
| 117 | +} |
| 118 | + |
| 119 | +.changelog .token.bold { |
| 120 | + font-weight: 700; |
| 121 | +} |
| 122 | + |
| 123 | +.changelog .token.italic { |
| 124 | + font-style: italic; |
| 125 | +} |
| 126 | + |
| 127 | +.changelog .language-json .token.property { |
| 128 | + color: #183691; |
| 129 | +} |
| 130 | + |
| 131 | +.changelog .language-markup .token.tag .token.punctuation { |
| 132 | + color: #333; |
| 133 | +} |
| 134 | + |
| 135 | +.changelog .language-css .token.function, |
| 136 | +.changelog code.language-css { |
| 137 | + color: #0086b3; |
| 138 | +} |
| 139 | + |
| 140 | +.changelog .language-yaml .token.atrule { |
| 141 | + color: #63a35c; |
| 142 | +} |
| 143 | + |
| 144 | +.changelog code.language-yaml { |
| 145 | + color: #183691; |
| 146 | +} |
| 147 | + |
| 148 | +.changelog .language-ruby .token.function { |
| 149 | + color: #333; |
| 150 | +} |
| 151 | + |
| 152 | +.changelog .language-markdown .token.url { |
| 153 | + color: #795da3; |
| 154 | +} |
| 155 | + |
| 156 | +.changelog .language-makefile .token.symbol { |
| 157 | + color: #795da3; |
| 158 | +} |
| 159 | + |
| 160 | +.changelog .language-makefile .token.variable { |
| 161 | + color: #183691; |
| 162 | +} |
| 163 | + |
| 164 | +.changelog .language-makefile .token.builtin { |
| 165 | + color: #0086b3; |
| 166 | +} |
| 167 | + |
| 168 | +.changelog .language-bash .token.keyword { |
| 169 | + color: #0086b3; |
| 170 | +} |
| 171 | + |
| 172 | +.changelog pre[data-line] { |
| 173 | + position: relative; |
| 174 | + padding: 1em 0 1em 3em; |
| 175 | +} |
| 176 | + |
| 177 | +.changelog pre[data-line] .line-highlight-wrapper { |
| 178 | + position: absolute; |
| 179 | + top: 0; |
| 180 | + left: 0; |
| 181 | + background-color: transparent; |
| 182 | + display: block; |
| 183 | + width: 100%; |
| 184 | +} |
| 185 | + |
| 186 | +.changelog pre[data-line] .line-highlight { |
| 187 | + position: absolute; |
| 188 | + left: 0; |
| 189 | + right: 0; |
| 190 | + padding: inherit 0; |
| 191 | + margin-top: 1em; |
| 192 | + background: hsla(24, 20%, 50%, 0.08); |
| 193 | + background: linear-gradient(to right, hsla(24, 20%, 50%, 0.1) 70%, hsla(24, 20%, 50%, 0)); |
| 194 | + pointer-events: none; |
| 195 | + line-height: inherit; |
| 196 | + white-space: pre; |
| 197 | +} |
| 198 | + |
| 199 | +.changelog pre[data-line] .line-highlight:before, |
| 200 | +.changelog pre[data-line] .line-highlight[data-end]:after { |
| 201 | + content: attr(data-start); |
| 202 | + position: absolute; |
| 203 | + top: 0.4em; |
| 204 | + left: 0.6em; |
| 205 | + min-width: 1em; |
| 206 | + padding: 0 0.5em; |
| 207 | + background-color: hsla(24, 20%, 50%, 0.4); |
| 208 | + color: #f4f1ef; |
| 209 | + font: bold 65%/1.5 sans-serif; |
| 210 | + text-align: center; |
| 211 | + vertical-align: 0.3em; |
| 212 | + border-radius: 999px; |
| 213 | + text-shadow: none; |
| 214 | + box-shadow: 0 1px #fff; |
| 215 | +} |
| 216 | + |
| 217 | +.changelog pre[data-line] .line-highlight[data-end]:after { |
| 218 | + content: attr(data-end); |
| 219 | + top: auto; |
| 220 | + bottom: 0.4em; |
| 221 | +} |
| 222 | + |
| 223 | +/* General HTML and body styles */ |
| 224 | +.changelog { |
| 225 | + font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; |
| 226 | + font-size: 16px; |
| 227 | + line-height: 1.6; |
| 228 | + color: #333; |
| 229 | + background-color: #fff; |
| 230 | + overflow: initial; |
| 231 | + box-sizing: border-box; |
| 232 | + word-wrap: break-word; |
| 233 | +} |
| 234 | + |
| 235 | +.changelog > :first-child { |
| 236 | + margin-top: 0; |
| 237 | +} |
| 238 | + |
| 239 | +.changelog h1, |
| 240 | +.changelog h2, |
| 241 | +.changelog h3, |
| 242 | +.changelog h4, |
| 243 | +.changelog h5, |
| 244 | +.changelog h6 { |
| 245 | + line-height: 1.2; |
| 246 | + margin-top: 1em; |
| 247 | + margin-bottom: 16px; |
| 248 | + color: #000; |
| 249 | +} |
| 250 | + |
| 251 | +.changelog h1 { |
| 252 | + font-size: 2.25em; |
| 253 | + font-weight: 300; |
| 254 | + padding-bottom: 0.3em; |
| 255 | +} |
0 commit comments