this repo has no description
1/* Box sizing rules */
2*,
3*::before,
4*::after {
5 box-sizing: border-box;
6}
7
8/* Remove default margin */
9body,
10h1,
11h2,
12h3,
13h4,
14p,
15figure,
16blockquote,
17dl,
18dd {
19 margin: 0;
20}
21
22/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
23ul[role="list"],
24ol[role="list"] {
25 list-style: none;
26}
27
28/* Set core root defaults */
29html:focus-within {
30 scroll-behavior: smooth;
31}
32
33/* Set core body defaults */
34body {
35 min-height: 100vh;
36 text-rendering: optimizeSpeed;
37 line-height: 1.5;
38}
39
40/* A elements that don't have a class get default styles */
41a:not([class]) {
42 text-decoration-skip-ink: auto;
43}
44
45/* Make images easier to work with */
46img,
47picture {
48 max-width: 100%;
49 display: block;
50}
51
52/* Inherit fonts for inputs and buttons */
53input,
54button,
55textarea,
56select {
57 font: inherit;
58}
59
60/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
61@media (prefers-reduced-motion: reduce) {
62 html:focus-within {
63 scroll-behavior: auto;
64 }
65
66 *,
67 *::before,
68 *::after {
69 animation-duration: 0.01ms !important;
70 animation-iteration-count: 1 !important;
71 transition-duration: 0.01ms !important;
72 scroll-behavior: auto !important;
73 }
74}