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

@font-face {
  font-display: swap;
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 100 900;
  src: url('/fonts/robotoflex.woff2') format('woff2');
}

body {
  font-family: $mainFontStack;
  line-height: 1.65;
  color: #000000;
}

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

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

}

h2 {
  @extend %heading;
  font-size: 2.5rem;
  line-height: 1.55;
  font-variation-settings: "wdth" 87.5,"wght" 700,"GRAD" 150
}

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

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

p {
  font-variation-settings: "GRAD" -15,"wdth" 112.5;
}