-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path_6_components.comments.scss
More file actions
executable file
·133 lines (111 loc) · 2.8 KB
/
_6_components.comments.scss
File metadata and controls
executable file
·133 lines (111 loc) · 2.8 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
.comments {
margin: 2em auto;
max-width: $contentMax;
padding-top: 1em;
}
.comments--list {
list-style: none;
margin: 0;
padding: 0;
ul.children,
ol.children {
border-left: 1px solid $tableBorderColor;
border-bottom: 1px solid $tableBorderColor;
list-style: none;
margin-left: 0;
margin-bottom: 0;
padding: 0;
padding-left: 2.5rem;
}
}
.comments--form-row {
textarea, input {
margin-top: .5em;
}
}
.comment {
@include clearfix();
border-top: 1px solid $tableBorderColor;
clear: both;
margin-top: .5em;
padding-top: .5em;
&:first-of-type {
margin-top:0;
}
.avatar {
float: left;
height: 2rem;
margin-right: .25rem;
width: 2rem;
}
}
.comment-body {
float: right;
margin-bottom: 1.5em;
width: calc(100% - 2.5rem);
}
.comment-author {
font-size: 1rem;
font-weight: $baseWeightBold;
margin-bottom: .5em;
a {
font-weight: $baseWeightBold;
}
img.avatar {
border: 2px solid $brandColor1;
}
}
.comment-meta {
margin: 0 0 .375rem 0;
a {
font-style: italic;
}
}
.comment-respond {
margin-top: 2em;
margin-bottom: 2em;
}
.comment-subscription-form {
margin-bottom: 0;
&:first-of-type {
margin-top: 1em;
}
label.subscribe-label {
font-size: 1em;
}
}
@media only screen and (min-width: #{$break-medium}) {
.comments--list {
ol.comment,
ul.comment {
padding-left: 5rem;
}
}
.comment {
.avatar {
height: 4rem;
margin-right: 1rem;
width: 4rem;
}
}
.comment-body {
width: calc(100% - 5rem);
}
}
/* Discourse comments link */
.wpdc-join-discussion {
max-width: 730px;
background-color: #f2f3f2;
border: 1px solid #3ea638;
padding: 24px;
margin-left: 32px;
margin-right: 32px;
}
@media only screen and (min-width: 782px) {
.wpdc-join-discussion {
margin-left: 48px;
}
}
.wpdc-join-discussion h3 {
font-weight: 700;
}