_typography.scss 2.83 KB
Newer Older
1
2
3
4
5
h1, h2, h3, h4, h5, h6 {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: bold;
}

6
7
8
9
10
h1 {
	font-size: 44px;
	line-height: 38px;
}

11
12
13
14
15
16
17
18
19
20
h2 {
	font-size: 36px;
	line-height: 36px;
}

h3 {
	font-size: 32px;
	line-height: 36px;
}

Benthe Kuijpers's avatar
Benthe Kuijpers committed
21
22
h4 {
	font-size: 22px;
alain's avatar
alain committed
23
	line-height: 24px;
Benthe Kuijpers's avatar
Benthe Kuijpers committed
24
25
}

26
27
p, ul, ol {
	font-family: 'IBM Plex Sans', sans-serif;
28
	font-size: 18px;
29
	line-height: 32px;
30
31
32
33
	margin: 0 0 20px;
	color: black;
}

34
35
36
37
38
39
40
41
42
43
44
p.small {
	font-size: 14px;
	line-height: 22px;
}

p.introduction {
	font-size: 24px;
	line-height: 38px;
	font-family: $font-header;
}

45
46
47
48
a {
	color: black;
}

Benthe Kuijpers's avatar
Benthe Kuijpers committed
49
50
51
52
53
54
55
span.descender {
	position: relative;

	&:after {
		z-index: -1;
		background: white;
		content: " ";
56
		bottom: -4px;
Benthe Kuijpers's avatar
Benthe Kuijpers committed
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
		left: -2px;
		right: -2px;
		top: 10px;
		position: absolute;
		display: block; 
	}
	&--p:after {
		right: 40%;
	}

	&--q:after {
		left: 40%;
	}
	
	&--j:after {
		left: -5px;
	}
}
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

// Importing webfonts
@font-face {
	font-family: 'IBM Plex Sans';
	src: url('../fonts/ibm-plex-sans-latin_greek-300.woff2') format('woff2'),
	    url('../fonts/ibm-plex-sans-latin_greek-300.woff') format('woff');	
	font-style: normal;
	font-weight: 300;
}

@font-face {
	font-family: 'IBM Plex Sans';
	src: url('../fonts/ibm-plex-sans-latin_greek-300italic.woff2') format('woff2'),
	    url('../fonts/ibm-plex-sans-latin_greek-300italic.woff') format('woff');
	font-style: italic;
	font-weight: 300;
}

@font-face {
	font-family: 'IBM Plex Sans';
	src: url('../fonts/ibm-plex-sans-latin_greek-600.woff2') format('woff2'),
	    url('../fonts/ibm-plex-sans-latin_greek-600.woff') format('woff');	
	font-style: normal;
	font-weight: 600;
}

@font-face {
	font-family: 'IBM Plex Sans';
	src: url('../fonts/ibm-plex-sans-latin_greek-600italic.woff2') format('woff2'),
	    url('../fonts/ibm-plex-sans-latin_greek-600italic.woff') format('woff');
	font-style: italic;
	font-weight: 600;
}

@font-face {
	font-family:'Space Grotesk';
	src: url('../fonts/SpaceGrotesk-Bold.woff2') format('woff2'),
	    url('../fonts/SpaceGrotesk-Bold.woff') format('woff');
	font-style: normal;
	font-weight: bold;
	font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-Regular.woff2') format('woff2'),
      url('../fonts/SpaceGrotesk-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-Medium.woff2') format('woff2'),
      url('../fonts/SpaceGrotesk-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-SemiBold.woff2') format('woff2'),
      url('../fonts/SpaceGrotesk-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
alain's avatar
alain committed
143
144
145
146
}

::-moz-selection { background: $bg-yellow; }
     ::selection { background: $bg-yellow; }