-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathglobal.ts
60 lines (48 loc) · 902 Bytes
/
global.ts
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
import { createGlobalStyle } from 'styled-components';
export default createGlobalStyle`
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
::-webkit-scrollbar {
width: 0px;
}
body {
background-color: ${(props) => props.theme.colors.secondary};
color: ${(props) => props.theme.colors.text};
}
body,
input,
textarea,
button {
font: 400 1rem "inter", sans-serif;
}
button {
cursor: pointer;
}
a {
color: inherit; /* herda a cor do container dos links */
text-decoration: none;
}
@media (max-width: 1000px) {
html {
font-size: 93.75%;
}
}
@media (max-width: 720px) {
html {
font-size: 87.5%;
}
}
`;
// export const GlobalContainer = styled.div`
// /* margin-left: calc(1024px / 15); */
// display: flex;
// align-items: center;
// justify-content: center;
// height: 100vh;
// @media (max-width: 720px) {
// margin: 0 auto;
// }
// `;