aboutsummaryrefslogtreecommitdiffstats
path: root/styles/global.scss
blob: f72a66b12a1c2284921bbff0d020f4763d2cc7f5 (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
@import "global/reset";
@import "global/themes";
@import "global/window";

main {
  position: fixed;
  top: 2em;
  left: 0;
  bottom: 0;
  right: 0;
}

body {
  margin: 0;
  height: 100vh;
  overflow: hidden;

  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 {
  margin: 1.5rem auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

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

.mobile-only {
  display: none!important;

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

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