blob: 8a437c03daa0d478991f9775c140d57873343458 (
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
|
@import url("https://s.metamuffin.org/static/font-ubuntu/include.css");
@import url("./logger.css");
@import url("./chat.css");
@import url("./room.css");
@import url("./prefs.css");
* {
font-family: "Ubuntu", sans-serif;
font-weight: 300;
color: white;
margin: 0px;
padding: 0px;
}
:root {
--bg: #151315;
--bg-dark: #070707;
--ac: #5e3f84;
--ac-light: #7c43bd;
--ac-dark: #12005e;
}
body {
background-color: var(--bg-dark);
height: 100vh;
width: 100vw;
justify-content: left;
}
/* layout magic, dont touch */
.room {
display: table-cell;
white-space: nowrap;
}
.room:nth-child(2) {
width: 64vw;
}
.room:nth-child(1) {
width: 100vw;
}
.chat {
display: table-cell;
width: 35vw;
height: calc(100vh - 3em);
white-space: nowrap;
}
h2 {
font-weight: 700;
margin: 1em;
}
input[type="button"],
button {
padding: 0.5em;
margin: 0.25em;
background-color: var(--ac);
border: 0px solid transparent;
border-radius: 3px;
}
input[type="button"]:hover,
button:hover {
filter: brightness(130%);
}
input[type="button"].active,
button.active {
filter: hue-rotate(20deg);
}
input[type="text"] {
background-color: var(--bg-dark);
border: 1px solid var(--ac-light);
}
.bottom-menu {
background-color: var(--bg);
padding: 0.5em;
position: fixed;
bottom: 0.5em;
border: 0px solid transparent;
border-radius: 5px;
left: 50%;
transform: translateX(-50%);
z-index: 100;
}
.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-br {
position: fixed;
bottom: 0px;
right: 0px;
display: block;
text-align: right;
}
.menu-br .version {
font-size: medium;
font-weight: bold;
color: var(--ac-light);
padding: 0.5em;
}
|