diff options
Diffstat (limited to 'assets/css/reset.css')
| -rw-r--r-- | assets/css/reset.css | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/assets/css/reset.css b/assets/css/reset.css new file mode 100644 index 0000000..a2c9a46 --- /dev/null +++ b/assets/css/reset.css | |||
| @@ -0,0 +1,117 @@ | |||
| 1 | *, | ||
| 2 | ::after, | ||
| 3 | ::before { | ||
| 4 | box-sizing: border-box; | ||
| 5 | } | ||
| 6 | |||
| 7 | html { | ||
| 8 | -webkit-tap-highlight-color: transparent; | ||
| 9 | overflow-y: scroll; | ||
| 10 | -webkit-text-size-adjust: 100%; | ||
| 11 | text-size-adjust: 100%; | ||
| 12 | } | ||
| 13 | |||
| 14 | a, | ||
| 15 | button, | ||
| 16 | body, | ||
| 17 | h1, | ||
| 18 | h2, | ||
| 19 | h3, | ||
| 20 | h4, | ||
| 21 | h5, | ||
| 22 | h6 { | ||
| 23 | color: var(--primary); | ||
| 24 | } | ||
| 25 | |||
| 26 | body { | ||
| 27 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; | ||
| 28 | font-size: 18px; | ||
| 29 | line-height: 1.6; | ||
| 30 | word-break: break-word; | ||
| 31 | background: var(--theme); | ||
| 32 | } | ||
| 33 | |||
| 34 | article, | ||
| 35 | aside, | ||
| 36 | figcaption, | ||
| 37 | figure, | ||
| 38 | header, | ||
| 39 | hgroup, | ||
| 40 | main, | ||
| 41 | nav, | ||
| 42 | section, | ||
| 43 | table { | ||
| 44 | display: block; | ||
| 45 | } | ||
| 46 | |||
| 47 | h1, | ||
| 48 | h2, | ||
| 49 | h3, | ||
| 50 | h4, | ||
| 51 | h5, | ||
| 52 | h6 { | ||
| 53 | line-height: 1.2; | ||
| 54 | } | ||
| 55 | |||
| 56 | h1, | ||
| 57 | h2, | ||
| 58 | h3, | ||
| 59 | h4, | ||
| 60 | h5, | ||
| 61 | h6, | ||
| 62 | p { | ||
| 63 | margin-top: 0; | ||
| 64 | margin-bottom: 0; | ||
| 65 | } | ||
| 66 | |||
| 67 | ul { | ||
| 68 | padding: 0; | ||
| 69 | } | ||
| 70 | |||
| 71 | a { | ||
| 72 | text-decoration: none; | ||
| 73 | } | ||
| 74 | |||
| 75 | body, | ||
| 76 | figure, | ||
| 77 | ul { | ||
| 78 | margin: 0; | ||
| 79 | } | ||
| 80 | |||
| 81 | table { | ||
| 82 | width: 100%; | ||
| 83 | border-collapse: collapse; | ||
| 84 | border-spacing: 0; | ||
| 85 | overflow-x: auto; | ||
| 86 | word-break: keep-all; | ||
| 87 | } | ||
| 88 | |||
| 89 | button, | ||
| 90 | input, | ||
| 91 | textarea { | ||
| 92 | padding: 0; | ||
| 93 | font: inherit; | ||
| 94 | background: 0 0; | ||
| 95 | border: 0; | ||
| 96 | } | ||
| 97 | |||
| 98 | input, | ||
| 99 | textarea { | ||
| 100 | outline: 0; | ||
| 101 | } | ||
| 102 | |||
| 103 | button, | ||
| 104 | input[type=button], | ||
| 105 | input[type=submit] { | ||
| 106 | cursor: pointer; | ||
| 107 | } | ||
| 108 | |||
| 109 | input:-webkit-autofill, | ||
| 110 | textarea:-webkit-autofill { | ||
| 111 | box-shadow: 0 0 0 50px var(--theme) inset; | ||
| 112 | } | ||
| 113 | |||
| 114 | img { | ||
| 115 | display: block; | ||
| 116 | max-width: 100%; | ||
| 117 | } \ No newline at end of file | ||
