go.charczuk.com@v0.0.0-20240327042549-bc490516bd1a/projects/chirp/pkg/static/_static/css/normalize.css (about) 1 /* 2 * Copyright (c) 2023 - Present. Will Charczuk. All rights reserved. 3 * Use of this source code is governed by a MIT license that can be found in the LICENSE file at the root of the repository. 4 */ 5 /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */ 6 7 /* Document 8 ========================================================================== */ 9 10 /** 11 * 1. Correct the line height in all browsers. 12 * 2. Prevent adjustments of font size after orientation changes in 13 * IE on Windows Phone and in iOS. 14 */ 15 16 html { 17 line-height: 1.15; 18 /* 1 */ 19 -ms-text-size-adjust: 100%; 20 /* 2 */ 21 -webkit-text-size-adjust: 100%; 22 /* 2 */ 23 } 24 25 /* Sections 26 ========================================================================== */ 27 28 /** 29 * Remove the margin in all browsers (opinionated). 30 */ 31 32 body { 33 margin: 0; 34 } 35 36 /** 37 * Add the correct display in IE 9-. 38 */ 39 40 article, 41 aside, 42 footer, 43 header, 44 nav, 45 section { 46 display: block; 47 } 48 49 /** 50 * Correct the font size and margin on `h1` elements within `section` and 51 * `article` contexts in Chrome, Firefox, and Safari. 52 */ 53 54 h1 { 55 font-size: 2em; 56 margin: 0.67em 0; 57 } 58 59 /* Grouping content 60 ========================================================================== */ 61 62 /** 63 * Add the correct display in IE 9-. 64 * 1. Add the correct display in IE. 65 */ 66 67 figcaption, 68 figure, 69 main { 70 /* 1 */ 71 display: block; 72 } 73 74 /** 75 * Add the correct margin in IE 8. 76 */ 77 78 figure { 79 margin: 1em 40px; 80 } 81 82 /** 83 * 1. Add the correct box sizing in Firefox. 84 * 2. Show the overflow in Edge and IE. 85 */ 86 87 hr { 88 box-sizing: content-box; 89 /* 1 */ 90 height: 0; 91 /* 1 */ 92 overflow: visible; 93 /* 2 */ 94 } 95 96 /** 97 * 1. Correct the inheritance and scaling of font size in all browsers. 98 * 2. Correct the odd `em` font sizing in all browsers. 99 */ 100 101 pre { 102 font-family: monospace, monospace; 103 /* 1 */ 104 font-size: 1em; 105 /* 2 */ 106 } 107 108 /* Text-level semantics 109 ========================================================================== */ 110 111 /** 112 * 1. Remove the gray background on active links in IE 10. 113 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. 114 */ 115 116 a { 117 background-color: transparent; 118 /* 1 */ 119 -webkit-text-decoration-skip: objects; 120 /* 2 */ 121 } 122 123 /** 124 * 1. Remove the bottom border in Chrome 57- and Firefox 39-. 125 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. 126 */ 127 128 abbr[title] { 129 border-bottom: none; 130 /* 1 */ 131 text-decoration: underline; 132 /* 2 */ 133 text-decoration: underline dotted; 134 /* 2 */ 135 } 136 137 /** 138 * Prevent the duplicate application of `bolder` by the next rule in Safari 6. 139 */ 140 141 b, 142 strong { 143 font-weight: inherit; 144 } 145 146 /** 147 * Add the correct font weight in Chrome, Edge, and Safari. 148 */ 149 150 b, 151 strong { 152 font-weight: bolder; 153 } 154 155 /** 156 * 1. Correct the inheritance and scaling of font size in all browsers. 157 * 2. Correct the odd `em` font sizing in all browsers. 158 */ 159 160 code, 161 kbd, 162 samp { 163 font-family: monospace, monospace; 164 /* 1 */ 165 font-size: 1em; 166 /* 2 */ 167 } 168 169 /** 170 * Add the correct font style in Android 4.3-. 171 */ 172 173 dfn { 174 font-style: italic; 175 } 176 177 /** 178 * Add the correct background and color in IE 9-. 179 */ 180 181 mark { 182 background-color: #ff0; 183 color: #000; 184 } 185 186 /** 187 * Add the correct font size in all browsers. 188 */ 189 190 small { 191 font-size: 80%; 192 } 193 194 /** 195 * Prevent `sub` and `sup` elements from affecting the line height in 196 * all browsers. 197 */ 198 199 sub, 200 sup { 201 font-size: 75%; 202 line-height: 0; 203 position: relative; 204 vertical-align: baseline; 205 } 206 207 sub { 208 bottom: -0.25em; 209 } 210 211 sup { 212 top: -0.5em; 213 } 214 215 /* Embedded content 216 ========================================================================== */ 217 218 /** 219 * Add the correct display in IE 9-. 220 */ 221 222 audio, 223 video { 224 display: inline-block; 225 } 226 227 /** 228 * Add the correct display in iOS 4-7. 229 */ 230 231 audio:not([controls]) { 232 display: none; 233 height: 0; 234 } 235 236 /** 237 * Remove the border on images inside links in IE 10-. 238 */ 239 240 img { 241 border-style: none; 242 } 243 244 /** 245 * Hide the overflow in IE. 246 */ 247 248 svg:not(:root) { 249 overflow: hidden; 250 } 251 252 /* Forms 253 ========================================================================== */ 254 255 /** 256 * 1. Change the font styles in all browsers (opinionated). 257 * 2. Remove the margin in Firefox and Safari. 258 */ 259 260 button, 261 input, 262 optgroup, 263 select, 264 textarea { 265 font-family: sans-serif; 266 /* 1 */ 267 font-size: 100%; 268 /* 1 */ 269 line-height: 1.15; 270 /* 1 */ 271 margin: 0; 272 /* 2 */ 273 } 274 275 /** 276 * Show the overflow in IE. 277 * 1. Show the overflow in Edge. 278 */ 279 280 button, 281 input { 282 /* 1 */ 283 overflow: visible; 284 } 285 286 /** 287 * Remove the inheritance of text transform in Edge, Firefox, and IE. 288 * 1. Remove the inheritance of text transform in Firefox. 289 */ 290 291 button, 292 select { 293 /* 1 */ 294 text-transform: none; 295 } 296 297 /** 298 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` 299 * controls in Android 4. 300 * 2. Correct the inability to style clickable types in iOS and Safari. 301 */ 302 303 button, 304 html [type="button"], 305 /* 1 */ 306 [type="reset"], 307 [type="submit"] { 308 -webkit-appearance: button; 309 /* 2 */ 310 } 311 312 /** 313 * Remove the inner border and padding in Firefox. 314 */ 315 316 button::-moz-focus-inner, 317 [type="button"]::-moz-focus-inner, 318 [type="reset"]::-moz-focus-inner, 319 [type="submit"]::-moz-focus-inner { 320 border-style: none; 321 padding: 0; 322 } 323 324 /** 325 * Restore the focus styles unset by the previous rule. 326 */ 327 328 button:-moz-focusring, 329 [type="button"]:-moz-focusring, 330 [type="reset"]:-moz-focusring, 331 [type="submit"]:-moz-focusring { 332 outline: 1px dotted ButtonText; 333 } 334 335 /** 336 * Correct the padding in Firefox. 337 */ 338 339 fieldset { 340 padding: 0.35em 0.75em 0.625em; 341 } 342 343 /** 344 * 1. Correct the text wrapping in Edge and IE. 345 * 2. Correct the color inheritance from `fieldset` elements in IE. 346 * 3. Remove the padding so developers are not caught out when they zero out 347 * `fieldset` elements in all browsers. 348 */ 349 350 legend { 351 box-sizing: border-box; 352 /* 1 */ 353 color: inherit; 354 /* 2 */ 355 display: table; 356 /* 1 */ 357 max-width: 100%; 358 /* 1 */ 359 padding: 0; 360 /* 3 */ 361 white-space: normal; 362 /* 1 */ 363 } 364 365 /** 366 * 1. Add the correct display in IE 9-. 367 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera. 368 */ 369 370 progress { 371 display: inline-block; 372 /* 1 */ 373 vertical-align: baseline; 374 /* 2 */ 375 } 376 377 /** 378 * Remove the default vertical scrollbar in IE. 379 */ 380 381 textarea { 382 overflow: auto; 383 } 384 385 /** 386 * 1. Add the correct box sizing in IE 10-. 387 * 2. Remove the padding in IE 10-. 388 */ 389 390 [type="checkbox"], 391 [type="radio"] { 392 box-sizing: border-box; 393 /* 1 */ 394 padding: 0; 395 /* 2 */ 396 } 397 398 /** 399 * Correct the cursor style of increment and decrement buttons in Chrome. 400 */ 401 402 [type="number"]::-webkit-inner-spin-button, 403 [type="number"]::-webkit-outer-spin-button { 404 height: auto; 405 } 406 407 /** 408 * 1. Correct the odd appearance in Chrome and Safari. 409 * 2. Correct the outline style in Safari. 410 */ 411 412 [type="search"] { 413 -webkit-appearance: textfield; 414 /* 1 */ 415 outline-offset: -2px; 416 /* 2 */ 417 } 418 419 /** 420 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS. 421 */ 422 423 [type="search"]::-webkit-search-cancel-button, 424 [type="search"]::-webkit-search-decoration { 425 -webkit-appearance: none; 426 } 427 428 /** 429 * 1. Correct the inability to style clickable types in iOS and Safari. 430 * 2. Change font properties to `inherit` in Safari. 431 */ 432 433 ::-webkit-file-upload-button { 434 -webkit-appearance: button; 435 /* 1 */ 436 font: inherit; 437 /* 2 */ 438 } 439 440 /* Interactive 441 ========================================================================== */ 442 443 /* 444 * Add the correct display in IE 9-. 445 * 1. Add the correct display in Edge, IE, and Firefox. 446 */ 447 448 details, 449 /* 1 */ 450 menu { 451 display: block; 452 } 453 454 /* 455 * Add the correct display in all browsers. 456 */ 457 458 summary { 459 display: list-item; 460 } 461 462 /* Scripting 463 ========================================================================== */ 464 465 /** 466 * Add the correct display in IE 9-. 467 */ 468 469 canvas { 470 display: inline-block; 471 } 472 473 /** 474 * Add the correct display in IE. 475 */ 476 477 template { 478 display: none; 479 } 480 481 /* Hidden 482 ========================================================================== */ 483 484 /** 485 * Add the correct display in IE 10-. 486 */ 487 488 [hidden] { 489 display: none; 490 }