From 12d90ccd006f0543812cacec8c4636b0d343ebc6 Mon Sep 17 00:00:00 2001 From: Troy Grunt Date: Sat, 31 Aug 2024 20:56:49 +0200 Subject: [PATCH] css cleanup --- sarahs.html | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/sarahs.html b/sarahs.html index 6181e6d..add2e35 100644 --- a/sarahs.html +++ b/sarahs.html @@ -11,23 +11,16 @@ --darkblue: #012f43; /*accent2*/ } - /* Hover-Effects */.hex:hover .hex-hover { - fill: var(--yellow); transition: fill 0.5s ease-in; /* Smooth transition */ + .hex path, .hex-hover { + transition: fill 0.5s ease; + } + + .hex:hover .hex-hover { + fill: var(--yellow); } .hex:hover .icon-hover { fill: var(--black); - transition: fill 0.5s ease-out; /* Smooth transition */ - } - - /* Hover-Effects */ - .hex-1:hover .hex-1 { - fill: var(--yellow); - transition: fill 0.5s ease-in; /* Smooth transition */ - } - - .hex-1:hover .icon-hover { - fill: var(--black); transition: fill 0.5s ease-out; /* Smooth transition */ } @@ -41,7 +34,7 @@ - +