- Timestamp:
- Mar 9, 2020 3:14:25 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/css/reset.inc.css
r635 r720 1 /* http://meyerweb.com/eric/tools/css/reset/ 2 v2.0 | 20110126 3 License: none (public domain) 4 */ 5 6 html, body, div, span, applet, object, iframe, 7 h1, h2, h3, h4, h5, h6, p, blockquote, pre, 8 a, abbr, acronym, address, big, cite, code, 9 del, dfn, em, img, ins, kbd, q, s, samp, 10 small, strike, strong, sub, sup, tt, var, 11 b, u, i, center, 12 dl, dt, dd, ol, ul, li, 13 fieldset, form, label, legend, 14 table, caption, tbody, tfoot, thead, tr, th, td, 15 article, aside, canvas, details, embed, 16 figure, figcaption, footer, header, hgroup, 17 menu, nav, output, ruby, section, summary, 18 time, mark, audio, video { 19 margin: 0; 20 padding: 0; 21 border: 0; 22 font-size: 100%; 23 font: inherit; 24 vertical-align: baseline; 1 /* https://github.com/hankchizljaw/modern-css-reset */ 2 *,*::before,*::after { 3 box-sizing: border-box 25 4 } 26 /* HTML5 display-role reset for older browsers */ 27 article, aside, details, figcaption, figure, 28 footer, header, hgroup, menu, nav, section { 29 display: block; 5 ul[class],ol[class] { 6 padding: 0 7 } 8 body,h1,h2,h3,h4,p,ul[class],ol[class],figure,blockquote,dl,dd { 9 margin: 0 30 10 } 31 11 body { 32 line-height: 1; 12 /* min-height: 100vh; */ 13 scroll-behavior: smooth; 14 text-rendering: optimizeSpeed; 15 line-height: 1.4 33 16 } 34 ol, ul{35 list-style: none; 17 ul[class],ol[class] { 18 list-style: none 36 19 } 37 blockquote, q{38 quotes: none; 20 a:not([class]) { 21 text-decoration-skip-ink: auto 39 22 } 40 blockquote:before, blockquote:after, 41 q:before, q:after { 42 content: ''; 43 content: none; 23 img:not([class]) { 24 max-width: 100%; 25 display: block 26 } 27 article>*+* { 28 margin-top: 1em 44 29 } 45 30 table { … … 47 32 border-spacing: 0; 48 33 } 34 input,button,textarea,select { 35 font: inherit 36 } 37 @media(prefers-reduced-motion:reduce) { 38 * { 39 animation-duration: .01ms !important; 40 animation-iteration-count: 1 !important; 41 transition-duration: .01ms !important; 42 scroll-behavior: auto !important 43 } 44 }
Note: See TracChangeset
for help on using the changeset viewer.