Skip to content

Commit

Permalink
style: improve header anchor styling
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Jul 14, 2022
1 parent b2555ce commit dff5ae0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assets/styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit dff5ae0

Please sign in to comment.