mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-19 10:54:06 -06:00
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.
This commit is contained in:
parent
198f9e79a7
commit
bca21f4f2b
@ -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;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user