aboutsummaryrefslogtreecommitdiff
path: root/public/style/master.css
blob: 0b9e205eef06ede764a1c1ebcc3cfb7df5742bef (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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
@import url("https://s.metamuffin.org/static/font-ubuntu/include.css");
@import url("./logger.css");

* {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  color: white;
  margin: 0px;
  padding: 0px;
}

:root {
  --bg: #263238;
  --bg-dark: #000a12;
  --bg-light: #354b58;
  --bg-lighter: #4f5b62;
  --bg-disabled: #720000;
  --bg-enabled: #097200;
  --ac: #4a148c;
  --ac-light: #7c43bd;
  --ac-dark: #12005e;
}

body {
  background-color: var(--bg-dark);
}

h2 {
  font-weight: 700;
  margin: 1em;
}

input[type="button"],
button {
  padding: 0.5em;
  margin: 0.25em;
  background-color: var(--bg-light);
  border: 0px solid transparent;
  border-radius: 3px;
}
input[type="button"]:hover,
button:hover {
  background-color: var(--bg-lighter);
}
input[type="button"].enabled,
button.enabled {
  background-color: var(--bg-enabled);
}
input[type="text"] {
  background-color: var(--bg-dark);
  border: 1px solid var(--ac-light);
}

.local-controls {
  background-color: var(--bg);
  padding: 0.5em;
  position: absolute;
  bottom: 0.5em;
  border: 0px solid transparent;
  border-radius: 5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.room {
  width: 100%;
  height: 100%;
}

.user {
  background-color: var(--bg);
  border: 0px soly transparent;
  border-radius: 5px;
  padding: 1em;
  vertical-align: baseline;
  min-width: 10em;
  margin: 0.5em;
}

.user .info .name {
  font-weight: 400;
}
.user.local .info .name {
  text-decoration: underline;
}

.media {
  max-height: 30vh;
  border: 0px solid transparent;
  border-radius: 5px;
}

.start-box {
  position: absolute;
  top: 50vh;
  left: 50vw;
  transform: translate(-50%, -50%);
}
.start-box p {
  margin-bottom: 0.5em;
}
.start-box input[type="text"] {
  margin: 0.5em;
  font-size: 32px;
}

.menu-overlay {
  position: absolute;
  bottom: 0px;
  right: 0px;
  display: block;
  text-align: right;
}