From 4442847b37e6532742e246fedb43fd3d60384545 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Wed, 13 Dec 2023 16:07:44 -0800 Subject: [PATCH] fix: internal link selector specificity --- quartz/styles/base.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss index 2e5edec15..d559435ac 100644 --- a/quartz/styles/base.scss +++ b/quartz/styles/base.scss @@ -64,11 +64,17 @@ a { color: var(--tertiary) !important; } - &.internal:not(:has(> img)) { + &.internal { text-decoration: none; background-color: var(--highlight); padding: 0 0.1rem; border-radius: 5px; + + &:has(> img) { + background-color: none; + border-radius: 0; + padding: 0; + } } }