summaryrefslogtreecommitdiff
path: root/css/reset.css
diff options
context:
space:
mode:
Diffstat (limited to 'css/reset.css')
-rw-r--r--css/reset.css70
1 files changed, 70 insertions, 0 deletions
diff --git a/css/reset.css b/css/reset.css
new file mode 100644
index 00000000..1d63f714
--- /dev/null
+++ b/css/reset.css
@@ -0,0 +1,70 @@
+@charset "utf-8";
+
+*,
+*::before,
+*::after
+{
+ box-sizing: border-box;
+}
+
+body,
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+p,
+figure,
+blockquote,
+dl,
+dd
+{
+ margin: 0;
+}
+
+ul,
+ol
+{
+ list-style: none;
+}
+
+ul
+{
+ padding-inline-start: 0;
+}
+
+html,
+body
+{
+ scroll-behavior: smooth;
+}
+
+a:not([class])
+{
+ text-decoration-skip-ink: auto;
+}
+
+img,
+picture
+{
+ width: auto;
+ max-width: 100%;
+ display: block;
+}
+
+input,
+button,
+textarea,
+select
+{
+ font: inherit;
+}
+
+@media (prefers-reduced-motion: reduce)
+{
+ html:focus-within
+ {
+ scroll-behavior: auto;
+ }
+} \ No newline at end of file