-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.css
53 lines (44 loc) · 977 Bytes
/
tailwind.css
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
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
/* Allow changing font family via CMS */
html {
scroll-behavior: smooth;
font-family: var(--font-family);
overflow-x: hidden;
}
/** Remove default styles from input[type=number] */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number] {
-moz-appearance: textfield;
appearance: textfield;
}
}
@layer components {
/** Prevent scroll when modal is open */
.no-scroll {
overflow: hidden;
height: 100vh;
}
[data-dot].current div .dot {
background-color: black;
}
[data-dot] div .dot {
background-color: #E4E4E7;
}
}
@layer utilities {
/** Remove scrollbar from overflow-auto */
.scrollbar-none {
scrollbar-width: none;
-ms-overflow-style: none;
}
.scrollbar-none::-webkit-scrollbar {
display: none;
}
}