aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/pages/partials/_article-headings.scss
blob: 7a273e4f7e0471fcdd5e5602de73b852e14935c6 (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
@use "../../abstracts/placeholders";

@mixin styles {
  h1 {
    @extend %h1;
  }

  h2 {
    @extend %h2;
  }

  h3 {
    @extend %h3;
  }

  h4 {
    @extend %h4;
  }

  h5 {
    @extend %h5;
  }

  h6 {
    @extend %h6;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    &:not(:first-child) {
      margin-block: var(--spacing-sm);
    }
  }
}