fix --link-background-color inconsistant with signature color

This commit is contained in:
Reorx 2022-09-09 22:32:28 +08:00
parent a461f6d44f
commit e309c7a17d
2 changed files with 3 additions and 0 deletions

View File

@ -8,10 +8,12 @@ color candidates:
body.type-essays {
--signature: #48C0A3;
--signature-bg: rgba(72, 192, 164, 0.427);
--siguature-bg-dim: rgba(72, 192, 164, 0.298);
// override theme-vars
--link-hover-color: var(--signature);
--link-hover-underline-color: var(--signature);
--link-hover-underline-shadow: 0 2px 0 var(--link-hover-underline-color);
--link-background-color: var(--siguature-bg-dim);
.post-entry {
/* same as .post-header h2 */

View File

@ -21,6 +21,7 @@ body.type-newsletter {
--link-hover-color: var(--signature);
--link-hover-underline-color: var(--signature);
--link-hover-underline-shadow: 0 2px 0 var(--link-hover-underline-color);
--link-background-color: var(--signature-bg-dim);
@media screen and (max-width: $small) {
--icon-length: 40px;