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 */ /* == STYLES */
.user-card { /* Worm Bumps */ .user-card { /* Worm Bumps */
background-image: none; --usercard-image: none;
background-color: #ededed; --usercard-color: #ededed;
} }
.user-card.wbblue { /* Worm Engravings */ .user-card.wbblue { /* Worm Engravings */
background-image: url('../background'); --usercard-image: url('../background');
background-color: #1E90FF; --usercard-color: #1E90FF;
} }
.user-card.wbumps { /* Worm Bumps */ .user-card.wbumps { /* Worm Bumps */
background-image: url('../card/wbumps'); --usercard-image: url('../card/wbumps');
background-color: #ededed; --usercard-color: #ededed;
} }
.user-card.wgraving { /* Worm Engravings */ .user-card.wgraving { /* Worm Engravings */
background-image: url('../card/wgraving'); --usercard-image: url('../card/wgraving');
background-color: #ededed; --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 td.author-cell,
body.forum.thread table.post-display tr.author-row { 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); border: var(--post-author-border);
} }