scratch-www/src/components/social-message/social-message.scss
Matthew Taylor ce88466ee4 tweak formatting for message content
helps with comment formatting
2017-09-06 11:41:26 -04:00

66 lines
1.1 KiB
SCSS

@import "../../colors";
@import "../../frameless";
.social-message {
margin: 0;
border-bottom: 1px solid $ui-border;
padding: 1rem;
list-style-type: none;
}
.social-message.mod-unread {
background-color: $ui-gray;
}
.flex-row.mod-social-message {
justify-content: space-between;
align-items: flex-start;
}
.social-message-content {
max-width: 38.75rem;
}
a.social-messages-profile-link {
color: $type-gray;
&:hover {
color: darken($type-gray, 10);
}
}
.flex-row.mod-comment-message {
justify-content: flex-start;
}
.comment-text {
margin-left: 1.5rem;
}
@media only screen and (max-width: $mobile - 1) {
.social-message {
text-align: left;
}
.social-message-date {
align-self: flex-end;
}
.social-message-content {
max-width: 100%;
}
}
@media only screen and (min-width: $mobile) and (max-width: $tablet - 1) {
.social-message {
text-align: left;
}
.social-message-date {
align-self: flex-end;
}
.social-message-content {
max-width: 100%;
}
}