aboutsummaryrefslogtreecommitdiff
path: root/styles/shared.scss
blob: 60780533efc6dfdce4ce22af416bb9483c02dc72 (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
@use "./variables" as *;
@use "./alert";

:root {
  font: 400 16px/1.65 $mainFontStack;
}

%heading {
  font-family: $titleFontStack;
  margin-block-start: 0.75em;
  margin-block-end: 0.25em;
}

h1 {
  @extend %heading;
  font-size: 3.55rem;
  line-height: 1.3;
}

h2 {
  @extend %heading;
  font-size: 2.75rem;
  line-height: 1.55;
}

h3 {
  @extend %heading;
  font-size: 2rem;
  line-height: 1.55;
}

h4 {
  @extend %heading;
  font-size: 1.25rem;
  line-height: 1.55;
}