summaryrefslogtreecommitdiffstats
path: root/src/styles/base/_base.scss
blob: e786b170aa9fd866ba5f34b40e0b9bfd623ffa8f (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
53
54
55
56
@use "@styles/abstracts/functions" as fun;
@use "@styles/abstracts/mixins" as mix;

audio,
button,
figure,
form,
img,
input,
optgroup,
pre,
select,
table,
textarea,
video {
  max-width: 100%;
}

audio,
img,
video {
  height: auto;
  vertical-align: middle;
}

button,
label,
summary {
  cursor: pointer;
}

body {
  display: flex;
  flex-flow: column nowrap;
  min-height: 100vh;
  background: var(--color-bg);
  border-top: max(0.4vw, fun.convert-px(6)) solid;
  border-bottom: max(0.4vw, fun.convert-px(6)) solid;
  border-image: radial-gradient(
      ellipse at top,
      var(--color-primary-lighter) 20%,
      var(--color-primary) 100%
    )
    1;
  color: var(--color-fg);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-md);
  line-height: var(--line-height);
}

#__next {
  flex: 1;
  display: flex;
  flex-flow: column nowrap;
  height: 100%;
}