From bca21f4f2bd18d8b5d9c9ce630d4d44eb00fc09d Mon Sep 17 00:00:00 2001 From: Amir Pourmand Date: Wed, 10 Sep 2025 00:41:19 +0330 Subject: [PATCH] feat(styles): add custom styling for dead links This commit introduces a new CSS class `.dead-link` to style links that point to missing pages. The styling includes a distinct color, background, and cursor to enhance user feedback when encountering dead links. --- quartz/styles/custom.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/quartz/styles/custom.scss b/quartz/styles/custom.scss index b0c09dcb9..f408788b7 100644 --- a/quartz/styles/custom.scss +++ b/quartz/styles/custom.scss @@ -1,3 +1,15 @@ @use "./base.scss"; // put your custom CSS here! +// Dead link styling - links to missing pages +.dead-link { + font-weight: 600; + text-decoration: none; + transition: color 0.2s ease; + color: #d97706; + background-color: var(--lightgray); + padding: 0 0.1rem; + border-radius: 5px; + line-height: 1.4rem; + cursor: default; +} \ No newline at end of file