comments.css in AT Tools 8
/**
* Comments
* - comment field (holds comment title, form, comments etc)
* - styles for comments
============================================================================ */
.comment {
padding-top: 16px;
padding-top: 1rem;
border-top: 1px solid;
}
.comment:before, .comment:after {
content: " ";
display: table;
}
.comment:after {
clear: both;
}
.comment__title--visually-hidden {
margin: 0;
padding: 0;
font-size: 16px;
font-size: 1rem;
line-height: 21px;
line-height: 1.3125rem;
}
.comment__title--visually-hidden .permalink {
position: absolute !important;
clip: rect(1px, 1px, 1px, 1px);
overflow: hidden;
height: 1px;
width: 1px;
padding: 0;
word-wrap: normal;
font: 0/0 a;
}
.comment__title--visually-hidden .marker {
float: right;
margin-left: 4px;
margin-left: 0.25rem;
}
.comment p:last-of-type {
margin-bottom: 0;
}
.comment__meta {
margin: 0 0 16px 0;
margin: 0 0 1rem 0;
overflow: hidden;
}
.comment.has-title .comment__meta {
margin: 16px 0;
margin: 1rem 0;
}
.comment__meta .comment__author:after {
content: "-";
display: inline-block;
}
.comment__meta--has-user-picture .comment__author:after {
display: none;
}
.comment__meta--has-user-picture .comment__author,
.comment__meta--has-user-picture .comment__pubdate {
margin: 0;
display: block;
}
@media all and (max-width: 60em) {
.comment__meta .comment__author:after {
display: none;
}
.comment__meta .comment__author,
.comment__meta .comment__pubdate {
margin: 0;
display: block;
}
}
.comment__meta .field-type-image {
float: left;
margin: 0 11px 0 0;
margin: 0 0.6875rem 0 0;
}
.comment__meta .field-type-image img {
width: auto;
height: 48px;
height: 3rem;
}
.comment__meta .field-type-image__figure {
margin: 0;
padding: 0;
}
.comment__meta article:empty {
display: none;
}
.comment.preview {
padding: 16px;
padding: 1rem;
margin-bottom: 16px;
margin-bottom: 1rem;
}
.comment__links {
clear: both;
}
.comment__links:before, .comment__links:after {
content: " ";
display: table;
}
.comment__links:after {
clear: both;
}
@media all and (max-width: 60em) {
.comment__links .inline {
float: none;
display: block;
}
.comment__links .inline li {
display: list-item;
}
}
@media all and (min-width: 60.063em) {
.comment__links .inline {
float: right;
}
.comment__links .inline li {
margin: 0 0 0 16px;
}
[dir="rtl"] .comment__links .inline li {
margin: 0 16px 0 0;
}
}
.field-type-comment {
margin: 18px 0 0;
margin: 1.125rem 0 0;
clear: both;
}
.field-type-comment:before, .field-type-comment:after {
content: " ";
display: table;
}
.field-type-comment:after {
clear: both;
}
.field-type-comment .indented {
margin-left: 42px;
margin-left: 2.625rem;
}
/*# sourceMappingURL=maps/comments.css.map */
File
at_theme_generator/starterkits/starterkit/styles/css/components/comments.css
View source
- /**
- * Comments
- * - comment field (holds comment title, form, comments etc)
- * - styles for comments
- ============================================================================ */
- .comment {
- padding-top: 16px;
- padding-top: 1rem;
- border-top: 1px solid;
- }
- .comment:before, .comment:after {
- content: " ";
- display: table;
- }
- .comment:after {
- clear: both;
- }
- .comment__title--visually-hidden {
- margin: 0;
- padding: 0;
- font-size: 16px;
- font-size: 1rem;
- line-height: 21px;
- line-height: 1.3125rem;
- }
- .comment__title--visually-hidden .permalink {
- position: absolute !important;
- clip: rect(1px, 1px, 1px, 1px);
- overflow: hidden;
- height: 1px;
- width: 1px;
- padding: 0;
- word-wrap: normal;
- font: 0/0 a;
- }
- .comment__title--visually-hidden .marker {
- float: right;
- margin-left: 4px;
- margin-left: 0.25rem;
- }
- .comment p:last-of-type {
- margin-bottom: 0;
- }
- .comment__meta {
- margin: 0 0 16px 0;
- margin: 0 0 1rem 0;
- overflow: hidden;
- }
- .comment.has-title .comment__meta {
- margin: 16px 0;
- margin: 1rem 0;
- }
- .comment__meta .comment__author:after {
- content: "-";
- display: inline-block;
- }
- .comment__meta--has-user-picture .comment__author:after {
- display: none;
- }
- .comment__meta--has-user-picture .comment__author,
- .comment__meta--has-user-picture .comment__pubdate {
- margin: 0;
- display: block;
- }
- @media all and (max-width: 60em) {
- .comment__meta .comment__author:after {
- display: none;
- }
- .comment__meta .comment__author,
- .comment__meta .comment__pubdate {
- margin: 0;
- display: block;
- }
- }
- .comment__meta .field-type-image {
- float: left;
- margin: 0 11px 0 0;
- margin: 0 0.6875rem 0 0;
- }
- .comment__meta .field-type-image img {
- width: auto;
- height: 48px;
- height: 3rem;
- }
- .comment__meta .field-type-image__figure {
- margin: 0;
- padding: 0;
- }
- .comment__meta article:empty {
- display: none;
- }
- .comment.preview {
- padding: 16px;
- padding: 1rem;
- margin-bottom: 16px;
- margin-bottom: 1rem;
- }
- .comment__links {
- clear: both;
- }
- .comment__links:before, .comment__links:after {
- content: " ";
- display: table;
- }
- .comment__links:after {
- clear: both;
- }
- @media all and (max-width: 60em) {
- .comment__links .inline {
- float: none;
- display: block;
- }
- .comment__links .inline li {
- display: list-item;
- }
- }
- @media all and (min-width: 60.063em) {
- .comment__links .inline {
- float: right;
- }
- .comment__links .inline li {
- margin: 0 0 0 16px;
- }
- [dir="rtl"] .comment__links .inline li {
- margin: 0 16px 0 0;
- }
- }
-
- .field-type-comment {
- margin: 18px 0 0;
- margin: 1.125rem 0 0;
- clear: both;
- }
- .field-type-comment:before, .field-type-comment:after {
- content: " ";
- display: table;
- }
- .field-type-comment:after {
- clear: both;
- }
- .field-type-comment .indented {
- margin-left: 42px;
- margin-left: 2.625rem;
- }
-
- /*# sourceMappingURL=maps/comments.css.map */