summaryrefslogtreecommitdiff
path: root/src/scss/_mixins.scss
blob: bcb795dcf4d89ec9a399b9cf03ce1a0e7df83a47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@mixin font-face($name) {
  @font-face {
    font-family: $name;
    src: url("../font/" + $name + ".woff2") format("woff2"),
       url("../font/" + $name + ".woff") format("woff"),
       url("../font/" + $name + ".ttf") format("truetype"),
       url("../font/" + $name + ".otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
}

@mixin row {
  display: flex;
  flex-direction: row;
}

@mixin column {
  display: flex;
  flex-direction: column;
}