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