-
Notifications
You must be signed in to change notification settings - Fork 0
/
comment.scss
87 lines (75 loc) · 1.23 KB
/
comment.scss
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
.arrow-icon {
width: 20px;
height: 15px;
}
.error {
color: red;
}
.comment {
display: flex;
flex-direction: column;
}
.comment-header {
white-space: nowrap;
z-index: 4;
& .upvote {
margin-right: -0.5em;
}
}
.comment-content {
width: 95%;
& p {
margin: {
top: 0em;
left: 1.55em;
bottom: 0em;
}
}
}
.nested-comments-0,
.nested-comments-1,
.nested-comments-2,
.nested-comments-3,
.nested-comments-4,
.nested-comments-5,
.nested-comments-6 {
position: relative;
&::before {
content: "";
width: 1px;
height: 100%;
z-index: 1;
top: 1.1em;
bottom: 0;
left: 0.7%;
position: absolute;
background-color: #cac7c7;
}
}
.nested-comments-0 {
margin-bottom: 0.5em;
}
.nested-comments-1 {
margin-left: 1em;
margin-bottom: 0.5em;
}
.nested-comments-2 {
margin-left: 1.5em;
margin-bottom: 0.5em;
}
.nested-comments-3 {
margin-left: 2em;
margin-bottom: 0.5em;
}
.nested-comments-4 {
margin-left: 2.5em;
margin-bottom: 0.5em;
}
.nested-comments-5 {
margin-left: 3em;
margin-bottom: 0.5em;
}
.nested-comments-6 {
margin-left: 3.5em;
margin-bottom: 0.5em;
}