mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
fix(style): update hover color for broken links and introduce new class
This commit is contained in:
parent
cddc258489
commit
b7927e8fac
@ -91,7 +91,7 @@ a {
|
|||||||
color: var(--secondary);
|
color: var(--secondary);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: var(--tertiary) !important;
|
color: var(--tertiary);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.internal {
|
&.internal {
|
||||||
@ -101,6 +101,15 @@ a {
|
|||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
line-height: 1.4rem;
|
line-height: 1.4rem;
|
||||||
|
|
||||||
|
&.broken {
|
||||||
|
color: var(--secondary);
|
||||||
|
opacity: 0.5;
|
||||||
|
transition: opacity 0.2s ease;
|
||||||
|
&:hover {
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&:has(> img) {
|
&:has(> img) {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user