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
|
import { createGlobalStyle } from 'styled-components';
// NOTE : rem unit is used instead of px. But
// the UI is still dependant on px units, mostly
// because of some javascript calculations
export const GlobalStyle = createGlobalStyle`
::-webkit-scrollbar {
height: 0.2rem;
width: 0.4rem;
}
::-webkit-scrollbar-track {
background-color: rgb(5, 32, 58);
}
::-webkit-scrollbar-thumb {
background-color: rgb(31, 113, 145);
}
::placeholder {
text-transform: capitalize;
color: rgb(204, 204, 204);
opacity: 1;
}
* {
box-sizing: border-box;
outline: none;
}
body {
font-family: Arial, Helvetica, sans-serif;
background-color: rgb(5, 32, 58);
color: rgb(255, 255, 255);
font-size: 0.7rem;
font-weight: 100;
margin: 0;
}
button, svg {
cursor: pointer;
}
button {
transition: 150ms;
:active {
transform: translateY(0.125rem);
transition: 150ms;
}
}
`;
|