make forum authorbar work with usercard

This commit is contained in:
Wirlaburla 2023-07-19 00:52:35 -05:00
parent 8d9c896044
commit d2ede8f027
2 changed files with 10 additions and 9 deletions

View File

@ -14,21 +14,21 @@
/* == STYLES */
.user-card { /* Worm Bumps */
background-image: none;
background-color: #ededed;
--usercard-image: none;
--usercard-color: #ededed;
}
.user-card.wbblue { /* Worm Engravings */
background-image: url('../background');
background-color: #1E90FF;
--usercard-image: url('../background');
--usercard-color: #1E90FF;
}
.user-card.wbumps { /* Worm Bumps */
background-image: url('../card/wbumps');
background-color: #ededed;
--usercard-image: url('../card/wbumps');
--usercard-color: #ededed;
}
.user-card.wgraving { /* Worm Engravings */
background-image: url('../card/wgraving');
background-color: #ededed;
--usercard-image: url('../card/wgraving');
--usercard-color: #ededed;
}

View File

@ -1076,7 +1076,8 @@ body.forum.thread table.post-display {
body.forum.thread table.post-display td.author-cell,
body.forum.thread table.post-display tr.author-row {
background: var(--post-author);
background-image: var(--usercard-image);
background-color: var(--usercard-color, var(--post-author));
border: var(--post-author-border);
}