-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
92 lines (78 loc) · 1.44 KB
/
style.css
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
:root {
--theme-shadow: 0.5em 0.5em 0.5em rgba(0,0,0,0.1), -0.25em -0.25em 0.5em rgba(0,0,0,0.1);
--theme-padding: 0.5em;
--theme-white: #F2F2F2;
--theme-primary: #6e2de5;
}
html, body {
margin: 0px;
padding:0px;
width: 100%;
height: 100%;
background: var(--theme-white);
font-family: system-ui, Arial;
}
main {
display: flex;
flex-direction: column;
padding: var(--theme-padding);
box-sizing: border-box;
width: 100%;
height: 100%;
}
#nameChangeButton {
position: absolute;
top: var(--theme-padding);
right: var(--theme-padding);
}
#aboutButton {
margin-left: var(--theme-padding);
}
#historyBox {
flex: 1;
overflow-y: auto;
padding: var(--theme-padding);
box-shadow: var(--theme-shadow);
background: white;
}
input {
flex: 1;
box-shadow: var(--theme-shadow);
border: none;
font: inherit;
margin-right: 0.25em;
padding: var(--theme-padding);
background: white;
}
button {
background: var(--theme-primary);
color: var(--theme-white);
border: none;
font: inherit;
box-shadow: var(--theme-shadow);
padding: var(--theme-padding);
}
form {
display: flex;
padding: var(--theme-padding);
}
dialog {
border: none;
box-shadow: var(--theme-shadow);
}
dialog::backdrop {
background: rgba(0,0,0,0.1);
}
.message-system {
color: var(--theme-primary);
font-weight: bold;
}
.message-username {
font-weight: bold;
}
.message-local .message-username {
color: var(--theme-primary);
}
dd {
margin-inline-start: 1em;
}