fix(style): update hover color for broken links and introduce new class

This commit is contained in:
Keisuke ANDO 2025-05-26 23:22:02 +09:00
parent cddc258489
commit b7927e8fac

View File

@ -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;