blob: 9d7df4184eda95f108cd8adec110c459eea5fc90 (
plain)
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
|
////
/// Typography
////
html {
color: $base;
font-size: $fontSize;
font-variant-ligatures: common-ligatures;
text-rendering: optimizeLegibility;
}
.template {
font-size: $fontSize * 1.25;
}
.headline__title {
color: $contrast;
display: inline-block;
font-family: $fontFamily;
font-size: $fontSize * 1.5;
font-weight: bold;
margin: 0;
padding: .5em 0;
}
h1, h3, h5 {
font-family: $fontFamilyAlternative;
line-height: $baseline - .3;
color: $contrast;
}
h2, h4, h6 {
font-family: $fontFamily;
line-height: $baseline - .3;
color: $light;
}
// Medium breakpoint
@media screen and (min-width: 40em) {
h1 { font-size: $fontSize * 3; }
h2 { font-size: $fontSize * 2.5; }
h3 { font-size: $fontSize * 2; }
h4 { font-size: $fontSize * 1.75; }
h5 { font-size: $fontSize * 1.25; }
h6 { font-size: $fontSize * 1; }
}
// Desktop breakpoint
@media screen and (min-width: 60em) {
h1 { font-size: $fontSize * 4.5; }
h2 { font-size: $fontSize * 3; }
h3 { font-size: $fontSize * 2.5; }
h4 { font-size: $fontSize * 2; }
h5 { font-size: $fontSize * 1.5; }
h6 { font-size: $fontSize * 1; }
}
|