From 50c3b5ab0a1fffdae74576393d4f91e57beb2037 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Thu, 14 Jul 2022 13:09:21 -0700 Subject: [PATCH] style: improve header anchor styling --- assets/styles/base.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/styles/base.scss b/assets/styles/base.scss index 03561f7f..f7ad909e 100644 --- a/assets/styles/base.scss +++ b/assets/styles/base.scss @@ -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 {