style: improve header anchor styling

This commit is contained in:
Jacky Zhao 2022-07-14 13:09:21 -07:00
parent b2555ced61
commit dff5ae0d4d
1 changed files with 4 additions and 4 deletions

View File

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