-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
62 lines (50 loc) · 918 Bytes
/
main.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
@font-face {
font-family: 'fixedsys';
src: url('fixedsys.ttf') format('truetype'),
url('fixedsys.woff') format('woff');
}
* {
margin: 0;
font-family: 'fixedsys', 'Courier New', Courier, monospace;
}
body {
background-color: #271d26;
color: white;
overflow: hidden;
}
header, nav, #chat-input {
height: 20px;
}
main {
height: calc(100vh - 62px);
width: calc(100vw + 17px);
}
header, nav {
background-color: #4d394b;
}
ul {
padding-inline-start: 0px;
scroll-snap-destination: bottom;
}
li {
list-style-type: none;
}
#chat-log {
height: calc(100vh - 62px);
overflow-y: scroll;
overflow-x: hidden;
scroll-snap-destination: bottom;
}
#chat-log #end {
scroll-snap-destination: bottom;
}
#chat-log div {
white-space: pre-wrap;
}
nav li {
display: inline-block;
margin: 0 3px;
}
#input {
width: calc(100% - 10px);
}