Highlight stickied comments; don't dim downvoted stickies.

The highlight color uses the same color as the subnav bar background
color. Make it a tad brighter so it's more visible.
This commit is contained in:
evazion
2016-12-26 22:31:08 -06:00
parent 1257639109
commit 91e368f08a
2 changed files with 7 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
$menu_color: #F7F7FF;
$menu_color: #F5F5FF;
$link_color: hsl(213, 100%, 50%);
$link_hover_color: lighten($link_color, 25%);
$link_dark_color: darken($link_color, 25%);

View File

@@ -15,6 +15,11 @@ div.comments-for-post {
article.comment {
margin-bottom: 2em;
word-wrap: break-word;
padding: 5px;
&[data-is-sticky="true"] {
background: $menu_color;
}
div.author {
width: 12em;
@@ -40,7 +45,7 @@ div.comments-for-post {
}
}
article.comment.below-threshold {
article.comment.below-threshold:not([data-is-sticky="true"]) {
opacity: 0.3;
}