-
Notifications
You must be signed in to change notification settings - Fork 82
/
schnack.css
63 lines (52 loc) · 1.01 KB
/
schnack.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
ul.schnack-comments {
margin: 1em 0;
padding: 0;
}
li.schnack-comment {
list-style: none;
margin: 0 0 1.5em;
padding: 0;
}
.schnack-body {
position: relative;
margin: 10px 0 0;
padding: 10px 10px;
border-left: 4px solid #cecece;
margin-bottom: 10px;
}
textarea.schnack-body {
border: 1px solid #cecece;
padding: 10px;
width: 300px;
height: 150px;
}
.schnack-date:before { content: "("; }
.schnack-date:after { content: ")"; }
.schnack-body p {
margin: 0;
}
button.schnack-action {
border:0;
background: none;
cursor: pointer;
padding:0;
opacity: 0.5;
}
.schnack-comment .schnack-form,
.schnack-comment .schnack-comments {
margin-left: 2em;
}
button.schnack-action:hover {
color: #c00;
opacity: 1;
}
button.schnack-action span {
display: none;
}
li.schnack-comment.schnack-highlight {
animation: flash 7s 1;
}
@keyframes flash {
0% { background-color: rgba(255,255,100,0.3); }
100% { background-color: rgba(255,255,255,0); }
}