From b7927e8faca903c90bfcb4a9751206e68a68e47a Mon Sep 17 00:00:00 2001 From: Keisuke ANDO Date: Mon, 26 May 2025 23:22:02 +0900 Subject: [PATCH] fix(style): update hover color for broken links and introduce new class --- quartz/styles/base.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss index 3ed9e6377..f534e37d8 100644 --- a/quartz/styles/base.scss +++ b/quartz/styles/base.scss @@ -91,7 +91,7 @@ a { color: var(--secondary); &:hover { - color: var(--tertiary) !important; + color: var(--tertiary); } &.internal { @@ -101,6 +101,15 @@ a { border-radius: 5px; line-height: 1.4rem; + &.broken { + color: var(--secondary); + opacity: 0.5; + transition: opacity 0.2s ease; + &:hover { + opacity: 0.8; + } + } + &:has(> img) { background-color: transparent; border-radius: 0;