Render link flairs

This commit is contained in:
StevenNMeza
2020-12-21 12:33:43 +01:00
parent 5057018fb6
commit fb202af1e5
6 changed files with 35 additions and 23 deletions
+7 -17
View File
@@ -172,11 +172,6 @@ body.dark #search form input[type="text"] {
background: #0f0f0f;
color: white;
}
body.dark #links .link .entry .title span.postflair,
body.dark #post .info .title span.postflair {
color: #eaeaea;
background-color: #404040;
}
a {
color: var(--linkcolor);
text-decoration: none;
@@ -402,16 +397,6 @@ input[type="submit"]:hover,
cursor: pointer;
text-decoration: none;
}
#links .link .entry .title span.postflair,
#post .info .title span.postflair {
display: inline-block;
border-radius: 4px;
color: #404040;
background-color: #e8e8e8;
font-size: x-small;
margin-left: 10px;
padding: 0 2px;
}
/* SUBREDDIT LINKS */
#links {
float: left;
@@ -995,8 +980,9 @@ input[type="submit"]:hover,
margin-right: 10px;
}
/* FLAIR */
.flair {
/* Todo: Merge this with post flairs (.postflair) */
.flair,
#links .link .entry .title span.flair,
#post .info .title span.flair {
display: inline-block;
border-radius: 4px;
color: #404040;
@@ -1005,6 +991,10 @@ input[type="submit"]:hover,
margin-left: 10px;
padding: 0 2px;
}
body.dark .flair {
color: #eaeaea !important;
background-color: #404040 !important;
}
#post .comments .flair,
#user .comment .meta .flair {
margin-left: 0 !important;