summaryrefslogtreecommitdiffhomepage
path: root/cloud/web/src/ui/style/index.css
blob: 117f596d0c151f5613be69627ba89609209b6e6a (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
/* tokens */
@import "./token/color.css";
@import "./token/reset.css";
@import "./token/animation.css";
@import "./token/font.css";
@import "./token/space.css";

/* components */
@import "./component/label.css";
@import "./component/input.css";
@import "./component/button.css";
@import "./component/dialog.css";
@import "./component/title-bar.css";

body {
  font-family: var(--font-mono);
  line-height: 1;
  color: var(--color-text);
  background-color: var(--color-bg);
  cursor: default;
  user-select: none;
  text-underline-offset: 0.1875rem;
}

a {
  text-decoration: underline;
  &:active {
    color: var(--color-text-accent);
  }
}

::selection {
  background-color: var(--color-text-accent-invert);
}

/* Responsive utilities */
[data-max-width] {
  width: 100%;

  & > * {
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  &[data-max-width-64] > * {
    max-width: 64rem;
  }
}