-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (64 loc) · 1.29 KB
/
index.html
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
<!doctype html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
</head>
<style>
body {
font-family: sans-serif;
margin: 0;
}
#content {
color: #444;
max-width: 30em;
margin: 0 auto;
padding: 1em;
}
.message {
padding: .5em;
}
.message :nth-child(1) {
font-size: small;
}
.message.other {
text-align: right;
}
.message > div {
display: inline-block;
max-width: 70%;
color: #eee;
background: #085987;
margin-bottom: 0.3em;
margin-left: auto;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 5px 9px;
text-align: left;
border-radius: 11px;
}
.message.own > div {
background: #889;
margin-left: 0;
margin-right: auto;
padding: 4px 8px;
}
date {
display: block;
font-size: 65%;
color: gray;
}
#messagebox {
width: 100%;
}
</style>
<div id="content">
<div id="messagedisplay"></div>
<textarea id="messagebox"></textarea>
<button id="sendbutton">send</button>
</div>
<script src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script>
window.app = {config: {}};
</script>
<script src="config.js"></script>
<script src="script.js"></script>