-
Notifications
You must be signed in to change notification settings - Fork 247
/
Copy pathtype.scss
168 lines (149 loc) · 4.83 KB
/
type.scss
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
@import "vars";
@import "mixins";
/* generated by https://google-webfonts-helper.herokuapp.com/ */
/* inter-regular - latin-ext_latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
src: url('/fonts/inter-v2-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
src: local(''),
url('/fonts/inter-v2-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fonts/inter-v2-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('/fonts/inter-v2-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
url('/fonts/inter-v2-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('/fonts/inter-v2-latin-ext_latin-regular.svg#Inter') format('svg'); /* Legacy iOS */
}
/* inter-500 - latin-ext_latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 500;
src: url('/fonts/inter-v2-latin-ext_latin-500.eot'); /* IE9 Compat Modes */
src: local(''),
url('/fonts/inter-v2-latin-ext_latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fonts/inter-v2-latin-ext_latin-500.woff2') format('woff2'), /* Super Modern Browsers */
url('/fonts/inter-v2-latin-ext_latin-500.woff') format('woff'), /* Modern Browsers */
url('/fonts/inter-v2-latin-ext_latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
url('/fonts/inter-v2-latin-ext_latin-500.svg#Inter') format('svg'); /* Legacy iOS */
}
/* inter-600 - latin-ext_latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 600;
src: url('/fonts/inter-v2-latin-ext_latin-600.eot'); /* IE9 Compat Modes */
src: local(''),
url('/fonts/inter-v2-latin-ext_latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fonts/inter-v2-latin-ext_latin-600.woff2') format('woff2'), /* Super Modern Browsers */
url('/fonts/inter-v2-latin-ext_latin-600.woff') format('woff'), /* Modern Browsers */
url('/fonts/inter-v2-latin-ext_latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
url('/fonts/inter-v2-latin-ext_latin-600.svg#Inter') format('svg'); /* Legacy iOS */
}
/* inter-900 - latin-ext_latin */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 900;
src: url('/fonts/inter-v2-latin-ext_latin-900.eot'); /* IE9 Compat Modes */
src: local(''),
url('/fonts/inter-v2-latin-ext_latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fonts/inter-v2-latin-ext_latin-900.woff2') format('woff2'), /* Super Modern Browsers */
url('/fonts/inter-v2-latin-ext_latin-900.woff') format('woff'), /* Modern Browsers */
url('/fonts/inter-v2-latin-ext_latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
url('/fonts/inter-v2-latin-ext_latin-900.svg#Inter') format('svg'); /* Legacy iOS */
}
body {
background-color: $light;
color: $medium;
font-weight: 300;
font-weight: 400;
font-family: $main-font, sans-serif;
font-weight: 300;
font-size: 15px;
line-height: 1.6;
}
hr {
margin: auto;
// margin-top: ($line-height*2)-1;
// margin-bottom: $line-height*2;
width: auto;
border: none;
border-top: 2px solid rgba(0,0,0,0.025);
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
color: inherit;
font-family: inherit;
font-weight: 900;
line-height: 1.3;
margin-top: 0px;
margin-bottom: 1em;
// font-family: $main-font;
display: block;
&:last-child { margin-bottom: 0px; }
}
h1, .h1 { font-size: 54px; }
h2, .h2 {font-size: 40px; }
h3, .h3 {font-size: 30px; }
h4, .h4 {font-size: 20px; }
h5, .h5 {font-size: 16px; }
h6, .h6 {font-size: 14px; }
strong {font-weight: 500; }
small {font-size: 75%; }
a {
color: black;
}
dl {
background-color: rgba(0,0,0,0.05);
color: rgba(136,136,136,1);
border-radius: $radius;
display: inline-block;
margin-right: 5px;
padding: 15px 25px;
dt {
font-weight: bold;
}
dd {
padding: 0px;
margin: 0px;
}
}
ol, ul, p {
font-size: 20px;
line-height: 1.6;
margin: 0px;
margin-bottom: 1em;
/*&:last-child {
margin-bottom: 0px;
}*/
small {
font-size: 80%;
line-height: 170%;
display: inline-block;
}
a {
-ms-word-break: break-all;
word-break: break-all;
/* Non standard for webkit */
word-break: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
b {
font-weight: 700;
}
&.lead {
font-weight: 200;
font-size: 22px !important;
line-height: 1.4;
&.lead-lg { $font-size: 20px*1.5 !important; }
&.lead-xl { font-size: 40px !important; }
&.lead-xxl { font-size: 60px !important; }
small { font-size: 60%; }
b { font-weight: 600; }
}
}
// ol, ul {padding-left: 20px; }
// ol.lead {padding-left: 29px; }
// ul.lead {padding-left: 23px; }