-
Notifications
You must be signed in to change notification settings - Fork 271
/
Copy pathstyle.css
85 lines (70 loc) · 1.3 KB
/
style.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
:root {
--c-bg: #f7f7f7;
--c-scrollbar: #eee;
--c-scrollbar-hover: #bbb;
--accent: 124, 58, 237;
--accent-gradient: linear-gradient(45deg, rgb(var(--accent)), #da62c4 30%, #f6c44f 60%);
transition: all .1s;
}
html {
background-color: var(--c-bg);
}
html.dark {
--c-bg: #121212;
--c-scrollbar: #111;
--c-scrollbar-hover: #222;
}
body {
/* background-color: var(--c-bg); */
margin: 0;
min-width: 320px;
min-height: 100vh;
}
.hide-scrollbar {
scrollbar-width: none;
-ms-overflow-style: none;
}
.hide-scrollbar::-webkit-scrollbar {
display: none;
}
/* scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar:horizontal {
height: 6px;
}
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
background: var(--c-bg);
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: var(--c-scrollbar);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--c-scrollbar-hover);
}
#app {
/* max-width: 1280px; */
margin: 0 auto;
height: 100vh;
/* padding: 1rem; */
/* text-align: center; */
}
/* @media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
code {
background-color: #f9f9f9;
}
} */