aboutsummaryrefslogtreecommitdiffstats
path: root/styles/global.scss
blob: 0b63e98d80c8c2c9d5cb4a87e49d1076fd743047 (plain) (blame)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
@import "global/reset";
@import "global/themes";
@import "global/window";

html,
body {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  overscroll-behavior-y: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, Noto Sans, sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

textarea, input {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, Noto Sans, sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

.container {
  height: 100%;
  width: 100%;
  flex-grow: 1;
  margin: 1.5rem auto;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: hidden;
}

.fixed {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.hide {
  display: none;
}

.noHeader {
  height: 100%;
}

.mobile-only {
  display: none!important;

  @media(max-width: 40em) {
    display: inline-block!important;
  }
}

.desktop-only {
  @media(max-width: 40em) {
    display: none!important;
  }
}

.active {
  color: var(--color-text-alt)!important;
  font-weight: 600;
}