-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathglobal.js
121 lines (114 loc) · 3.5 KB
/
global.js
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
111
112
113
114
115
116
117
118
119
120
121
import React from 'react'
import { injectGlobal } from 'styled-components'
injectGlobal`
@font-face {
font-family: 'iconi_mia';
src: url("/src/fonts/iconi_mia.eot");
src: url("/src/fonts/iconi_mia.eot?#iefix") format('embedded-opentype'),
url("/src/fonts/iconi_mia.woff") format('woff'),
url("/src/fonts/iconi_mia.ttf") format('truetype'),
url("/src/fonts/iconi_mia.svg") format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Mia Light";
src: url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Light.eot");
src: url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Light.eot?#iefix") format('embedded-opentype'),
url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Light.woff") format('woff'),
url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Light.ttf") format('truetype'),
url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Light.svg") format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Mia Regular";
src: url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Regular.eot");
src: url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Regular.eot?#iefix") format('embedded-opentype'),
url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Regular.woff") format('woff'),
url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Regular.ttf") format('truetype'),
url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Regular.svg") format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Mia Bold";
src: url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Bold.eot");
src: url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Bold.eot?#iefix") format('embedded-opentype'),
url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Bold.woff") format('woff'),
url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Bold.ttf") format('truetype'),
url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Bold.svg") format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Mia Black";
src: url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Black.eot");
src: url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Black.eot?#iefix") format('embedded-opentype'),
url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Black.woff") format('woff'),
url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Black.ttf") format('truetype'),
url("https://mia-grotesk.s3.amazonaws.com/MiaGrotesk-Black.svg") format('svg');
font-weight: normal;
font-style: normal;
}
html {
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
blockquote,
figure,
table {
margin: 0 0 1rem 0;
}
ul, ol {
padding-left: 1.5rem;
}
ol li{
padding-left: .25rem;
}
li {
margin: 0 0 0.25rem 0;
}
html, body {
height: 100%;
}
html {
position: relative;
min-height: 100%;
}
body {
color: #231f20;
font-family: "Helvetica Neue", Helvetica, san-serif;
background: #fff;
/* Flexbox in use for sticky footer */
display: flex;
flex-direction: column;
margin: 0;
}
img {
/* width: 100%; */
height: auto;
max-width: 100%;
}
a img {
transition: all .4s ease-in-out
}
a img:hover {
opacity: 0.8;
}
`