-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path_comments.scss
89 lines (79 loc) · 1.23 KB
/
_comments.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
88
89
#comments {
font-size: .95rem;
margin-top: 3em;
overflow-wrap: break-word;
text-align: initial;
}
.comment-counter {
margin-left: .5em;
}
.comment-form {
margin-top: 1em;
border: 3px double var(--c-txt-alt);
padding: .5em;
label {
display: inline-block;
width: 100%;
margin-top: .5em;
font-size: .9em;
}
button {
width: 100%;
margin-top: 1em;
margin-bottom: .2em;
line-height: 2;
}
.form-wrapper {
display: flex;
gap: .5em;
}
}
.comment-preview {
width: 100%;
min-height: 1em;
padding: 2px 6px;
border: 1px dashed var(--c-txt-alt);
}
.comment-group {
margin-top: 2em;
article {
display: flex;
margin: 1em 0;
padding-top: 1em;
border-top: 1px solid var(--c-bg-alt);
}
}
.comment-avatar {
margin-right: .8em;
> img {
width: 40px;
height: auto;
border-radius: 50%;
}
}
.comment-wrapper {
position: relative;
width: 100%;
> header {
font-size: .9em;
.comment-date {
color: var(--c-txt-alt);
}
}
> main {
margin: 1em 0;
overflow-wrap: anywhere;
}
img {
max-width: 100%;
}
}
.reply-btn {
position: absolute;
top: 0;
right: 0;
font-size: .8em;
}
.replies {
margin-left: calc(7% + 1em);
}