-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
globals.css
101 lines (88 loc) · 2.27 KB
/
globals.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
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
97
98
99
100
101
body {
overscroll-behavior-y: none;
text-rendering: optimizeLegibility;
}
a {
text-decoration: none;
}
.custom-scrollbar {
scrollbar-color: rgb(128, 128, 128, 0.5) rgb(0, 0, 0, 0);
scrollbar-width: auto;
}
.custom-scrollbar::-webkit-scrollbar {
width: 15px;
transition: 0.15s;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: rgb(0, 0, 0, 0);
border-style: solid;
border-left-color: var(--theme-ui-colors-muted);
border-right-color: rgb(0, 0, 0, 0);
border-width: 0px;
border-left-width: 1px;
border-right-width: 1px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: rgb(128, 128, 128, 0.5);
border-top-right-radius: 7px;
border-bottom-right-radius: 7px;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
border-style: solid;
border-color: rgba(0, 0, 0, 0);
border-width: 4px;
border-left-width: 5px;
background-clip: padding-box;
-webkit-border-top-right-radius: 7px;
-webkit-border-bottom-right-radius: 7px;
-webkit-border-top-left-radius: 8px;
-webkit-border-bottom-left-radius: 8px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: rgb(128, 128, 128, 0.8);
border-top-right-radius: 7px;
border-bottom-right-radius: 7px;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
border-style: solid;
border-color: rgba(0, 0, 0, 0);
border-width: 4px;
border-left-width: 5px;
background-clip: padding-box;
-webkit-border-top-right-radius: 7px;
-webkit-border-bottom-right-radius: 7px;
-webkit-border-top-left-radius: 8px;
-webkit-border-bottom-left-radius: 8px;
}
.custom-scrollbar::-webkit-scrollbar-corner {
background: rgb(0, 0, 0, 0);
}
.no-focus-outline a:focus,
.no-focus-outline button:focus,
.no-focus-outline input:focus,
.no-focus-outline select:focus {
outline: none;
}
.no-focus-outline a:focus-visible,
.no-focus-outline button:focus-visible,
.no-focus-outline input:focus-visible,
.no-focus-outline select:focus-visible {
outline: dashed 1px rgb(110, 110, 110, 0.625);
background: rgb(110, 110, 110, 0.625);
}
::selection {
background: rgb(110, 110, 110, 0.575);
}
::-moz-selection {
background: rgb(110, 110, 110, 0.575);
}
sup,
sub {
vertical-align: baseline;
position: relative;
top: -0.4em;
}
sub {
top: 0.4em;
font-size: small;
}