forked from HackerYou/SlackerYou
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
79 lines (66 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
79
.wrapper {
max-width:700px;
margin: 0 auto;
}
.chat {
margin: 0;
}
h1 {
text-align: center;
}
p.desc {
text-align: center;
}
input {
border:1px solid black;
border-bottom: 1px solid black !important;
padding:20px;
margin-bottom: 10px;
}
input[type=submit] {
background:#D12028;
color:white;
width: 15%;
float:left;
}
#nameInput {
width:20%;
float:left;
}
#messageInput {
width:65%;
border-left: 0;
border-right: 0;
float:left;
}
.messages {
max-height:500px;
overflow:scroll;
background:white;
padding:20px;
position: relative;
}
.messagesWrap {
position: relative;
min-height: 100px;
}
.messagesWrap:before {
display: block;
z-index: 10;
content : '';
width: 100%;
height:100px;
position: absolute;
top: 0;
left: 0;
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 20%,rgba(255,255,255,0) 97%,rgba(255,255,255,0) 100%); /* W3C */
}
.messages li {
border-bottom:1px solid #ccc;
padding-bottom: 10px;
margin:10px 0;
}
.messages strong {
margin-right: 10px;
color:#d12028;
}