summaryrefslogtreecommitdiff
path: root/assets/css/reset.css
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/reset.css')
-rw-r--r--assets/css/reset.css117
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
7html {
8 -webkit-tap-highlight-color: transparent;
9 overflow-y: scroll;
10 -webkit-text-size-adjust: 100%;
11 text-size-adjust: 100%;
12}
13
14a,
15button,
16body,
17h1,
18h2,
19h3,
20h4,
21h5,
22h6 {
23 color: var(--primary);
24}
25
26body {
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
34article,
35aside,
36figcaption,
37figure,
38header,
39hgroup,
40main,
41nav,
42section,
43table {
44 display: block;
45}
46
47h1,
48h2,
49h3,
50h4,
51h5,
52h6 {
53 line-height: 1.2;
54}
55
56h1,
57h2,
58h3,
59h4,
60h5,
61h6,
62p {
63 margin-top: 0;
64 margin-bottom: 0;
65}
66
67ul {
68 padding: 0;
69}
70
71a {
72 text-decoration: none;
73}
74
75body,
76figure,
77ul {
78 margin: 0;
79}
80
81table {
82 width: 100%;
83 border-collapse: collapse;
84 border-spacing: 0;
85 overflow-x: auto;
86 word-break: keep-all;
87}
88
89button,
90input,
91textarea {
92 padding: 0;
93 font: inherit;
94 background: 0 0;
95 border: 0;
96}
97
98input,
99textarea {
100 outline: 0;
101}
102
103button,
104input[type=button],
105input[type=submit] {
106 cursor: pointer;
107}
108
109input:-webkit-autofill,
110textarea:-webkit-autofill {
111 box-shadow: 0 0 0 50px var(--theme) inset;
112}
113
114img {
115 display: block;
116 max-width: 100%;
117} \ No newline at end of file