Files
windycoys/css/comment.css
2018-12-22 23:13:22 +00:00

72 lines
1.2 KiB
CSS

.comment {
margin-bottom: var(--space-sm);
}
@media (--viewport-md) {
.comment {
margin-bottom: var(--space-md);
}
}
.comment__head {
display: flex;
margin-bottom: var(--space-sm);
}
.comment__avatar {
background-image: var(--windy-svg);
background-position: center;
background-repeat: no-repeat;
background-size: 100%;
margin-right: var(--space-sm);
height: 64px;
width: 64px;
}
.comment__metadata {
display: flex;
flex-flow: column nowrap;
justify-content: space-between;
margin: var(--space-xs) 0;
}
.comment__date {
font-size: 12px;
}
.comment__body {
margin-bottom: var(--space-sm);
}
.comment__reply.is-hidden {
display: none;
}
.comment__reply {
transition: color var(--transition-md) ease-out;
}
.comment__reply:focus,
.comment__reply:hover {
color: var(--color-light-blue);
}
.comment__reply-icon {
display: inline-block;
margin-right: var(--space-xs);
vertical-align: middle;
}
.comment__reply-text {
display: inline-block;
position: relative;
font-size: 12px;
vertical-align: middle;
transition: box-shadow var(--transition-md) ease-out;
}
.comment__reply:focus .comment__reply-text,
.comment__reply:hover .comment__reply-text {
box-shadow: var(--link-focus);
}