mirror of
https://codeberg.org/teddit/teddit.git
synced 2026-04-22 22:25:01 -04:00
Render user flairs
This commit is contained in:
Vendored
+29
@@ -994,6 +994,35 @@ input[type="submit"]:hover,
|
||||
#user .entries .entry a.context {
|
||||
margin-right: 10px;
|
||||
}
|
||||
/* FLAIR */
|
||||
.flair {
|
||||
/* Todo: Merge this with post flairs (.postflair) */
|
||||
display: inline-block;
|
||||
border-radius: 4px;
|
||||
color: #404040;
|
||||
background-color: #e8e8e8;
|
||||
font-size: x-small;
|
||||
margin-left: 10px;
|
||||
padding: 0 2px;
|
||||
}
|
||||
#post .comments .flair,
|
||||
#user .comment .meta .flair {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
#links .link .entry .meta p.submitted .flair,
|
||||
#user .comment .meta .flair,
|
||||
#user .entries p.submitted .flair {
|
||||
margin-right: 4px;
|
||||
}
|
||||
.flair .emoji {
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
display: inline-block;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
/* SIDEBAR */
|
||||
#sidebar {
|
||||
float: left;
|
||||
|
||||
Reference in New Issue
Block a user