|
| 1 | +html, body { |
| 2 | + color: #333; |
| 3 | + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Helvetica, Arial, sans-serif, "Segoe UI Symbol", "Apple Color Emoji"; |
| 4 | + font-size: 17px; |
| 5 | + -webkit-font-smoothing: antialiased; |
| 6 | + height: 100%; |
| 7 | + line-height: 1.55; |
| 8 | + margin: 0; |
| 9 | + scrollbar-track-color: Whitesmoke; |
| 10 | + scrollbar-arrow-color: silver; |
| 11 | + scrollbar-base-color: #ddd; |
| 12 | + scrollbar-face-color: #ddd; |
| 13 | + -ms-overflow-style: -ms-autohiding-scrollbar !important; |
| 14 | +} |
| 15 | + |
| 16 | +#MainContent { |
| 17 | + margin: 20px 20px 20px 30px; |
| 18 | +} |
| 19 | + |
| 20 | + |
| 21 | +h1, h2, h3, h4, h5, h6, .byline, .content-title { |
| 22 | + color: #555; |
| 23 | + font-weight: bold; |
| 24 | + font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans'; |
| 25 | + margin-top: 1.2em; |
| 26 | + margin-bottom: 0.4em; |
| 27 | +} |
| 28 | + |
| 29 | +h1 { |
| 30 | + font-size: 1.9em; |
| 31 | + padding-bottom: 10px; |
| 32 | + border-bottom: 1px solid #eee; |
| 33 | +} |
| 34 | + |
| 35 | +h2 { |
| 36 | + font-size: 1.55em; |
| 37 | +} |
| 38 | + |
| 39 | +h3 { |
| 40 | + font-size: 1.35em; |
| 41 | +} |
| 42 | + |
| 43 | +h4 { |
| 44 | + font-size: 1.18em; |
| 45 | +} |
| 46 | + |
| 47 | +h5, h6 { |
| 48 | + color: #656565; |
| 49 | + font-size: 1.09em; |
| 50 | +} |
| 51 | + |
| 52 | +h6 { |
| 53 | + color: #777; |
| 54 | + font-size: 1.03em; |
| 55 | +} |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | +p { |
| 60 | + margin: 0.5rem 0 1rem 0; |
| 61 | +} |
| 62 | + |
| 63 | +a { |
| 64 | + font-weight: 600; |
| 65 | + color: #337ab7; |
| 66 | + text-decoration: none; |
| 67 | +} |
| 68 | + |
| 69 | + a:hover { |
| 70 | + text-decoration: underline; |
| 71 | + } |
| 72 | + |
| 73 | +img { |
| 74 | + max-width: 100%; |
| 75 | +} |
| 76 | + |
| 77 | +ul, ol { |
| 78 | + margin: 1.1em 0; |
| 79 | +} |
| 80 | + |
| 81 | +li { |
| 82 | + margin: 0.6em 0.2em 0.6em 1em; |
| 83 | +} |
| 84 | + |
| 85 | +ul > li > ul > li > ul > li { |
| 86 | + list-style: disc; |
| 87 | +} |
| 88 | + |
| 89 | +ul > li > ul > li { |
| 90 | + list-style: square; |
| 91 | +} |
| 92 | + |
| 93 | +.task-list-item { |
| 94 | + list-style: none; |
| 95 | + margin-left: -2em; |
| 96 | +} |
| 97 | +/* definition lists can be toggled*/ |
| 98 | +dt { |
| 99 | + font-size: 1.08em; |
| 100 | + font-weight: bold; |
| 101 | + text-decoration: underline; |
| 102 | + padding-top: 0.5em; |
| 103 | + cursor: pointer; |
| 104 | +} |
| 105 | + |
| 106 | +dd { |
| 107 | + margin: 0; |
| 108 | + padding: 0 0 0.2em 1em; |
| 109 | + display: none; |
| 110 | +} |
| 111 | + |
| 112 | +b, strong { |
| 113 | + font-weight: 600; |
| 114 | +} |
| 115 | + |
| 116 | +dt { |
| 117 | + font-size: 1.08em; |
| 118 | + font-weight: bold; |
| 119 | + text-decoration: underline; |
| 120 | + padding-top: 0.5em; |
| 121 | +} |
| 122 | + |
| 123 | +dd { |
| 124 | + margin: 0; |
| 125 | + padding: 0 0 0.2em 1em; |
| 126 | +} |
| 127 | + |
| 128 | + |
| 129 | +/* hidden display, but still part of document flow */ |
| 130 | +.hidden { |
| 131 | + display: none; |
| 132 | +} |
| 133 | + |
| 134 | +.hidden-nowidth { |
| 135 | + width: 0; |
| 136 | +} |
| 137 | + |
| 138 | +.visually-hidden { |
| 139 | + border: 0; |
| 140 | + clip: rect(0 0 0 0); |
| 141 | + height: 1px; |
| 142 | + margin: -1px; |
| 143 | + overflow: hidden; |
| 144 | + padding: 0; |
| 145 | + position: absolute; |
| 146 | + width: 1px; |
| 147 | +} |
| 148 | + |
| 149 | + |
| 150 | +@media(min-width: 1080px) { |
| 151 | + html, body { |
| 152 | + font-size: 1.06em; |
| 153 | + } |
| 154 | +} |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | +blockquote { |
| 159 | + background: #f5f5f5; |
| 160 | + color: #656565; |
| 161 | + border-left: 8px #aaa solid; |
| 162 | + border-radius: 4px; |
| 163 | + padding: 10px 20px; |
| 164 | + margin: 30px 20px; |
| 165 | + font-size: 1.03em; |
| 166 | +} |
| 167 | + |
| 168 | + blockquote *:first-child { |
| 169 | + margin-top: 0; |
| 170 | + } |
| 171 | + |
| 172 | + blockquote *:last-child { |
| 173 | + margin-bottom: 0; |
| 174 | + } |
| 175 | + |
| 176 | +hr { |
| 177 | + margin: 12px 0; |
| 178 | +} |
| 179 | + |
| 180 | +.figure .caption, figure figcaption { |
| 181 | + font-size: 0.8em; |
| 182 | + font-style: italic; |
| 183 | + margin-top: 0; |
| 184 | +} |
| 185 | + |
| 186 | +code { |
| 187 | + padding: 2px 5px; |
| 188 | + font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace; |
| 189 | + border-radius: 3px; |
| 190 | + font-weight: 600; |
| 191 | + background: #eee; |
| 192 | + color: #555; |
| 193 | +} |
| 194 | + |
| 195 | +pre { |
| 196 | + font-family: menlo,consolas,monospace; |
| 197 | + font-weight: normal; |
| 198 | + font-size: 87%; |
| 199 | + line-height: 1.40; |
| 200 | + margin: 7px 0; |
| 201 | + padding: 0; |
| 202 | + border: 1px solid silver; |
| 203 | + border-radius: 5px; |
| 204 | + overflow-x: auto; |
| 205 | + max-width: 98%; |
| 206 | + white-space: pre; |
| 207 | + word-break: normal; |
| 208 | + word-wrap: normal; |
| 209 | + |
| 210 | + |
| 211 | + /* handles non-formatted code snippets, but won't work with light syntax */ |
| 212 | + /* background: #252525; |
| 213 | + color: #eee; */ |
| 214 | +} |
| 215 | + |
| 216 | + pre > code { |
| 217 | + white-space: pre; |
| 218 | + padding: 0.8em !important; |
| 219 | + display: block; |
| 220 | + font-weight: normal; |
| 221 | + |
| 222 | + /* handles non-formatted code snippets, but won't work with light syntax */ |
| 223 | + /* background: transparent; |
| 224 | + color: #f5f5f5 !important; */ |
| 225 | + } |
| 226 | + pre > code::-webkit-scrollbar { |
| 227 | + width: 8px; |
| 228 | + height: 8px; |
| 229 | + background: #444; |
| 230 | + } |
| 231 | + |
| 232 | + pre > code::-webkit-scrollbar-thumb { |
| 233 | + background: #999; |
| 234 | + } |
| 235 | +table { |
| 236 | + width: 100%; |
| 237 | + overflow: auto; |
| 238 | + border-spacing: 0; |
| 239 | + border-collapse: collapse; |
| 240 | + margin: 15px 0; |
| 241 | + border-color: gray; |
| 242 | +} |
| 243 | + |
| 244 | +td, th { |
| 245 | + border: 1px solid #ddd; |
| 246 | + padding: 6px 13px; |
| 247 | + display: table-cell; |
| 248 | + vertical-align: top; |
| 249 | +} |
| 250 | + |
| 251 | +th { |
| 252 | + font-weight: bold; |
| 253 | + color: white; |
| 254 | + background: #555; |
| 255 | +} |
| 256 | + |
| 257 | +tbody > tr:nth-child(even) { |
| 258 | + background: #eee; |
| 259 | +} |
| 260 | + |
| 261 | +.line-highlight { |
| 262 | + background: #e9f5ff !important; |
| 263 | +} |
| 264 | + |
| 265 | +p.line-highlight, h1.line-highlight, h2.line-highlight, h3.line-highlight, h4.line-highlight { |
| 266 | + border-radius: 4px; |
| 267 | + margin-left: -10px; |
| 268 | + margin-right: -10px; |
| 269 | + padding-left: 10px; |
| 270 | + padding-right: 10px; |
| 271 | +} |
| 272 | + |
| 273 | +code.line-highlight { |
| 274 | + background: #555 !important; |
| 275 | +} |
| 276 | + |
| 277 | + |
| 278 | + |
| 279 | +/* hidden display, but still part of document flow */ |
| 280 | +.hidden { |
| 281 | + display: none; |
| 282 | +} |
| 283 | + |
| 284 | +.hidden-nowidth { |
| 285 | + width: 0; |
| 286 | +} |
| 287 | + |
| 288 | +.visually-hidden { |
| 289 | + border: 0; |
| 290 | + clip: rect(0 0 0 0); |
| 291 | + height: 1px; |
| 292 | + margin: -1px; |
| 293 | + overflow: hidden; |
| 294 | + padding: 0; |
| 295 | + position: absolute; |
| 296 | + width: 1px; |
| 297 | +} |
| 298 | + |
| 299 | +.line-highlight { |
| 300 | + background: #f5f5f5; |
| 301 | + border-radius: 3px; |
| 302 | +} |
| 303 | + |
| 304 | + |
| 305 | +/* DocFx Styles*/ |
| 306 | +.CAUTION, .IMPORTANT, .INFO, .TIP, .NOTE, .WARNING { |
| 307 | + padding: 0.1px 20px; |
| 308 | + margin: 15px 0; |
| 309 | + border-radius: 4px; |
| 310 | +} |
| 311 | + |
| 312 | +.CAUTION > h5, .IMPORTANT > h5, .INFO > h5, .TIP > h5, .NOTE > h5, .WARNING > h5 { |
| 313 | + color: inherit; |
| 314 | +} |
| 315 | + |
| 316 | +.CAUTION, .IMPORTANT { |
| 317 | + color: #a94442; |
| 318 | + background-color: #f2dede; |
| 319 | + border-color: #ebccd1; |
| 320 | +} |
| 321 | + |
| 322 | +.WARNING { |
| 323 | + color: #8a6d3b; |
| 324 | + background-color: #fcf8e3; |
| 325 | + border-color: #faebcc; |
| 326 | +} |
| 327 | + |
| 328 | +.INFO, .TIP, .NOTE { |
| 329 | + color: #31708f; |
| 330 | + background-color: #d9edf7; |
| 331 | + border-color: #bce8f1; |
| 332 | +} |
| 333 | + |
| 334 | +.NOTE h5:before, .TIP h5:before { |
| 335 | + content: "\f05a"; |
| 336 | + font-family: FontAwesome; |
| 337 | + padding-right: 6px; |
| 338 | +} |
| 339 | + |
| 340 | +.WARNING h5:before, .CAUTION h5:before { |
| 341 | + content: "\f071"; |
| 342 | + font-family: FontAwesome; |
| 343 | + padding-right: 6px; |
| 344 | +} |
| 345 | + |
| 346 | +.IMPORTANT h5:before { |
| 347 | + content: "\f06a"; |
| 348 | + font-family: FontAwesome; |
| 349 | + padding-right: 6px; |
| 350 | +} |
| 351 | + |
| 352 | +xref { |
| 353 | + display: block; |
| 354 | +} |
| 355 | + |
| 356 | + |
| 357 | + |
| 358 | +.hljs { |
| 359 | + font-size: 1em; |
| 360 | +} |
| 361 | + |
| 362 | +@media(min-width: 1080px) { |
| 363 | + html, body { |
| 364 | + font-size: 1.06em; |
| 365 | + } |
| 366 | +} |
| 367 | + |
| 368 | +@media print { |
| 369 | + pre { |
| 370 | + white-space: pre-wrap; |
| 371 | + word-break: normal; |
| 372 | + word-wrap: normal; |
| 373 | + } |
| 374 | + |
| 375 | + pre > code { |
| 376 | + white-space: pre-wrap; |
| 377 | + padding: 1em !important; |
| 378 | + } |
| 379 | +} |
0 commit comments