-
Notifications
You must be signed in to change notification settings - Fork 0
/
reset.scss
96 lines (82 loc) · 1.25 KB
/
reset.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
body {
min-height: 100vh;
scroll-behavior: smooth;
}
* {
&:focus {
outline: none;
}
box-sizing: border-box;
scrollbar-width: thin;
&::before,
&::after {
box-sizing: border-box;
scrollbar-width: thin;
}
}
ul.reset,
ol.reset {
padding: 0;
list-style-type: none;
}
body,
h1,
h2,
h3,
h4,
p,
ul.reset,
ol.reset,
li,
figure,
figcaption,
blockquote,
dl,
dd {
margin: 0;
}
img {
max-width: 100%;
display: block;
}
a {
text-decoration: none;
cursor: pointer;
}
input,
textarea,
button {
border: none;
font-size: inherit;
color: inherit;
font-family: inherit;
}
button {
background: none;
}
/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
// Scrollbars
::-webkit-scrollbar {
background-color: transparent;
width: 5px;
height: 5px;
}
::-webkit-scrollbar-thumb {
background-color: #bfbfbf;
width: 5px;
height: 5px;
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-track-piece {
background-color: transparent;
}