all repos — felt @ 4f9ca53e1bfb24febbe981c746405c50194f9303

virtual tabletop for dungeons and dragons (and similar) using Go, MongoDB, and websockets

static/style.css (raw)

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
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  appearance: none;
  outline: none;
}

body {
  background: url('./bg.png');
  background-repeat: repeat;
}

nav, #table_modal, #admin_modal {
  color: #fff;
  background: #000;
  padding: 0.5em;
}

label {
  font-size: 80%;
}

input, select {
  background: #fff;
  color: #000;
  border: solid 1px gray;
  margin-right: 1ch;
}

input:active, input:focus, select:active, select:focus {
  border: solid 1px cyan;
}

button {
  padding: 0.5ch;
  background: #000;
  color: #fff;
  border: solid 2px lightseagreen;
  margin-right: 1ch;
}

button:hover {
  color: #000;
  background: lightseagreen;
}

#errWrapper {
  color: #fff;
  background: crimson;
  padding: 1em;
}
#closeErr {
  display: inline;
  border: dotted 1px #fff;
  color: #fff;
  background: crimson;
  padding: 0 1ch;
  margin-right: 1ch;
}
#errDiv {
  display: inline;
}

#dice_log {
  background: #fff;
  color: #000;
  height: 10em;
  max-height: 10em;
  display: block;
  overflow-y: auto;
}

#dice_log p {
  padding: 0.5ch;
}

#dice_log p:not(:last-child) {
  border-bottom: solid 1px gray;
}