-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.scss
62 lines (54 loc) · 956 Bytes
/
common.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
@layer base {
kbd {
@apply min-w-6;
@apply px-1.5 rounded;
@apply inline-flex justify-center items-center;
@apply font-arial text-sm bg-zinc-700 text-zinc-200;
}
}
@layer utilities {
.font-arial {
font-family: 'Arial', sans-serif;
}
.color-scheme-dark {
color-scheme: dark;
}
.rendering-contrast {
image-rendering: -webkit-optimize-contrast;
}
.scrollbar-auto {
scrollbar-width: auto;
}
.scrollbar-thin {
scrollbar-width: thin;
}
.scrollbar-none {
scrollbar-width: none;
}
.scrollbar-gutter-auto {
scrollbar-gutter: auto;
}
.scrollbar-gutter-stable {
scrollbar-gutter: stable;
}
.scrollbar-overlay {
&::-webkit-scrollbar {
appearance: none;
width: 12px;
height: 12px;
@apply bg-transparent;
}
&:hover {
&::-webkit-scrollbar-thumb {
display: unset;
}
}
&::-webkit-scrollbar-thumb {
display: none;
@apply bg-zinc-700;
&:hover {
@apply bg-zinc-500;
}
}
}
}