/
style.css
78 lines (63 loc) · 1.07 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
#root{
text-align: center
}
.board{
display: inline-block;
text-align: left;
width: 70%;
}
.board-header {
}
.board-body {
overflow-y: scroll;
height: 500px;
border: 2px solid #bbbbbb;
margin: 10px 0;
}
.board-message {
}
.message {
padding: 10px 0;
border: 1px solid #e2dcdc;
word-break : break-all;
position: relative;
}
.message-date{
position: absolute;
right: 0;
}
#messageInput {
padding: 5px;
width: 100%;
max-height: 200px;
line-height: 20px;
}
#messageSubmit {
background-color: #4CAF50;
color: white;
font-size: 15px;
padding: 10px;
border-radius: 4px;
margin-right: 5px;
/* hover */
-webkit-transition-duration: 0.4s; /* Safari */
transition-duration: 0.4s;
}
#messageSubmit:hover {
background-color: white;
color: #4CAF50;
}
#messageClear {
background-color: #555555;
color: white;
font-size: 15px;
padding: 10px;
border-radius: 4px;
/* hover */
-webkit-transition-duration: 0.4s; /* Safari */
transition-duration: 0.4s;
}
#messageClear:hover {
background-color: white;
color: #555555;
}