-
Notifications
You must be signed in to change notification settings - Fork 0
/
GlobalStyles.ts
94 lines (79 loc) · 1.63 KB
/
GlobalStyles.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
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
import { createGlobalStyle } from "styled-components";
const GlobalStyles = createGlobalStyle`
:root {
${"" /* it appears this was making the base font-size 16px before */}
font-size: 10px;
--rust: #A34815;
--black: #111111;
--char: #3D3D3D;
--lh: 1.8rem;
--max-lines: 3;
--max-lines-news: 6;
}
html, body {
margin: 0 !important;
font-family: 'porpora', Tahoma, Geneva, sans-serif;
font-size: 10px;
background: #004c45;
background: #173e3a;
}
html {
height: 100%;
}
body {
height: 100%;
margin: 0;
background-repeat: no-repeat;
background-attachment: fixed;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
select {
font-family: helvetica;
padding: 2rem 0;
font-size: 1.3rem;
}
h1, h2, h3, h4, h5, h6, h7, p, a, ul, li, button, input {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
/* Do we need this?? */
input, button {
&:focus {
outline: none;
}
}
button, input[type="submit"], input[type="reset"] {
background: none;
color: inherit;
border: none;
padding: 0;
font: inherit;
cursor: pointer;
outline: inherit;
}
.container {
padding: 0 5%;
z-index: 1;
position: relative;
}
h1, h2, h3 {
font-weight: 100;
color: white;
}
.button {
border: 2px solid white;
padding: 1rem 0.8rem;
color: white;
font-size: 1.6rem;
text-decoration: none;
border-radius: 5px;
text-align: center;
text-weight: 200;
}
`;
export default GlobalStyles;