site

personal website, served at mordaunt.dev/site
Log | Files | Refs

commit a0576a3cb0927a120c3a935d702676be0ecbb05e
parent 7ec0bd39d044885f48cd2b3c1ca5db7c948cc80a
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date:   Thu, 17 Jul 2025 11:05:33 -0300

assets/css/custom.css: allow .custom-icon to gain the hover color

This lets .custom-icon share the hover style with every other <a>
decendent.

Diffstat:
Massets/css/custom.css | 12++----------
1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/assets/css/custom.css b/assets/css/custom.css @@ -2,16 +2,8 @@ height: 2em; /* Match Font Awesome's fa-2x */ width: 2em; /* Match Font Awesome's fa-2x */ vertical-align: text-bottom; /* Align nicely with inline icons */ -} - -.colorscheme-light .custom-icon { - fill: black; - transition: fill 0.5s ease; -} - -.colorscheme-dark .custom-icon { - fill: white; - transition: fill 0.5s ease; + color: inherit; + fill: currentColor; } .contact-page {