summaryrefslogtreecommitdiff
path: root/crates/gipfel-web/www/style.css
blob: 5ea080dac6d939be799024564b69a6b3cd512368 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  font-family: system-ui, sans-serif;
}
.app {
  display: flex;
  height: 100vh;
  background: #101014;
  color: #e8e8ea;
}
.sidebar {
  width: 300px;
  padding: 16px;
  background: #1a1a20;
  border-right: 1px solid #2c2c34;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.sidebar h1 {
  margin: 0;
  font-size: 22px;
}
.tag {
  margin: 0 0 12px;
  color: #8a8a94;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sidebar button {
  padding: 8px 12px;
  background: #3b6fd4;
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}
.sidebar button:hover {
  background: #4a7ee4;
}
.status {
  font-size: 13px;
  color: #c8c8d0;
  word-break: break-word;
}
.hint {
  font-size: 12px;
  color: #8a8a94;
}
.dim {
  opacity: 0.6;
}
.hidden-file {
  display: none;
}
.main {
  flex: 1;
  position: relative;
  min-width: 0;
}
canvas.viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}