-
-
Notifications
You must be signed in to change notification settings - Fork 268
Expand file tree
/
Copy pathglobalStyles.css
More file actions
110 lines (94 loc) · 1.63 KB
/
globalStyles.css
File metadata and controls
110 lines (94 loc) · 1.63 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/* Do not attempt to change values in themeMap - only change in ./variables.css */
@import "./variables.css";
/* Global Styles */
@font-face {
font-family: "PF Din Display";
font-weight: normal;
/* prettier-ignore */
src:
url("/static/fonts/PFDinDisplayPro-Reg.ttf") format("truetype"),
url("/static/fonts/PFDinDisplayPro-Reg.woff2") format("woff2"),
url("/static/fonts/PFDinDisplayPro-Reg.woff") format("woff)");
}
html {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
font-family: "Noto Serif", serif;
font-size: 16px;
font-weight: normal;
color: #47566b;
}
body {
line-height: 1.5;
hyphens: none;
margin: 0;
min-width: 300px;
}
h1,
h2,
h3,
h4,
h5,
h6,
button,
footer a {
font-family: "PF Din Display", Arial, sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
padding: 0;
}
#root {
min-height: 100%;
}
/* Custom font scaling formula https://blog.envylabs.com/responsive-typographic-scales-in-css-b9f60431d1c4 */
h1 {
/*
40px (2.5 * 16) on Desktops
37.5px (2.5 * 15) on Tablets
32.5px (2.5 * 13) on Mobiles
*/
font-size: 2.5rem;
}
h2 {
font-size: 2.3rem;
}
h3 {
font-size: 2.1rem;
}
h4 {
font-size: 1.9rem;
}
h5 {
font-size: 1.7rem;
}
h6 {
font-size: 1.5rem;
}
@media screen and (max-width: 480px) {
html {
font-size: 13px !important;
}
}
@media screen and (min-width: 481px) and (max-width: 960px) {
html {
font-size: 15px !important;
}
}
/* React Scroll Button styles */
.ScrollUpButton {
position: fixed;
bottom: 50px;
right: 30px;
cursor: pointer;
transition-duration: 0.2s;
transition-timing-function: linear;
transition-delay: 0s;
}