style: improve header anchor styling

This commit is contained in:
Jacky Zhao 2022-07-14 13:09:21 -07:00
parent a0da04d298
commit 50c3b5ab0a

View File

@ -42,15 +42,15 @@ h1, h2, h3, h4, h5, h6, thead {
padding: 2rem auto 1rem;
&:hover > .hanchor {
opacity: 1;
color: var(--secondary);
}
}
.hanchor {
font-family: var(--font-header);
opacity: 0.2;
transition: opacity 0.3s ease;
color: var(--secondary);
opacity: 0.8;
transition: color 0.3s ease;
color: var(--dark);
}
p, ul, text, a, tr, td, li, ol, ul {