forked from NobleKnight706/NobleKnight706.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchat.css
93 lines (83 loc) · 1.48 KB
/
chat.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
93
body {
background-color: #36393f;
color: #fff;
font-family: sans-serif;
font-size: 14px;
}
#chatbox {
height: 400px;
overflow-y: scroll;
overflow-x: hidden;
font-size: 25px;
font-weight: normal;
background-color: #36393f83;
}
.message {
margin: 10px;
}
.message .username {
font-weight: bold;
}
.message .timestamp {
font-size: 12px;
color: #aaa;
margin-left: 5px;
}
#input-box {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 10px;
}
#username-input {
display: block;
margin-bottom: 10px;
padding: 5px;
width: 100%;
border: none;
border-radius: 5px;
background-color: #2f3136;
color: #fff;
font-family: sans-serif;
font-size: 14px;
}
#message-input {
display: block;
margin-bottom: 10px;
padding: 5px;
width: 100%;
border: none;
border-radius: 5px;
background-color: #2f3136;
color: #fff;
font-family: sans-serif;
font-size: 14px;
}
#submit {
display: block;
padding: 5px;
width: 100%;
border: none;
border-radius: 5px;
background-color: #7289da;
color: #fff;
font-family: sans-serif;
font-size: 14px;
cursor: pointer;
}
canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
z-index: -1;
}
@media only screen and (max-width: 767px) {
canvas{
position: absolute;
top: 0;
left: -110%;
width: auto;
height: 75%;
}