forked from zhw2590582/SubPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGlobalStyle.js
More file actions
38 lines (31 loc) · 748 Bytes
/
GlobalStyle.js
File metadata and controls
38 lines (31 loc) · 748 Bytes
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
import { createGlobalStyle } from 'styled-components';
export default createGlobalStyle`
html,
body,
#root {
height: 100%;
}
body {
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
line-height: 1.5;
overflow: hidden;
}
*, *::before, *::after {
box-sizing: border-box;
}
#root {
display: flex;
font-size: 14px;
color: #ccc;
background-color: rgb(0 0 0 / 90%);
}
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-thumb {
background-color: #999;
}
::-webkit-scrollbar-thumb:hover {
background-color: #ccc;
}
`;