summaryrefslogtreecommitdiff
path: root/assets/style.css
blob: 4d12602faba3c55b5d2794ec9f95595e76e7845a (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
78
79
80
81
82
83
84
85
86
@font-face {
  font-family: vt323;
  src: url("./VT323.ttf");
}
#board-container {
  font-size: 80px;
  line-height: 48px;
  margin: 2vw;
  position: relative;
  top: 0px;
  left 0px;
}
#cursor-frame {
  position: absolute;
  top: 0px;
  left: 0px;
}

body {
  font-family: vt323, monospace;
  font-size: 20pt;
  background-color: black;
  color: white;
  margin: 0;
}
.unsel {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.cursor {
  font-size: 20pt;
  padding: 0;
  pointer-events: none;
  z-index: 1;
}
.cursor * {
  margin: 0 0;
}
.cursor-name {
  background-color: #000000c0;
  padding: 0 0.1em;
  line-height: initial;
}

a {
  text-decoration: none;
  color: #8b8be8;
}

#miscinfo {
  flex-grow: 1;
}

.statusline {
  display: flex;
  position: sticky;
  background-color: black;
  width: 96vw;
  padding: 0 2vw;
  bottom: 0px;
  left: 0px;
}
.statusline * {
  margin: 0.5em 2em 0 0;
}

/* i was today years old when i learned that css selector declaration order matters */
/* cent should come after statusline, so it overwrites statusline's props */
.cent {
  width: 80vw;
  margin: 0 auto;
}

span, h1, h4 {
  margin: 0 auto;
}

h4 { margin-left: 1em; }

a :visited {
  color: inherit;
}