summaryrefslogtreecommitdiff
path: root/src/scss/_mixins.scss
blob: 9707093c6e7f7a2263b1fc5dacb1059c3b73b17e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@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;
}