From 15d7ce395573d9a8b95928129202fbc74e807bd3 Mon Sep 17 00:00:00 2001 From: mhmdali102 Date: Tue, 1 Nov 2022 16:45:56 +0200 Subject: [PATCH] add hover state to footer icons --- public/css/home.css | 11 ++++++++++- public/svg/discord.svg | 3 --- public/svg/github.svg | 3 --- views/home.ejs | 14 +++++++++++--- 4 files changed, 21 insertions(+), 10 deletions(-) delete mode 100644 public/svg/discord.svg delete mode 100644 public/svg/github.svg diff --git a/public/css/home.css b/public/css/home.css index df869c5..608f76f 100644 --- a/public/css/home.css +++ b/public/css/home.css @@ -556,12 +556,21 @@ footer a:hover { margin-left: auto; margin-top: 30px; } -.footer-icons a img { +.footer-icons a svg { width: 40px; height: 40px; margin-right: 30px; } +.footer-icons a svg path { + transition: color 0.3s ease 0s; +} + +.footer-icons a svg:active path, +.footer-icons a svg:focus path, +.footer-icons a svg:hover path { + color: aquamarine; +} @media only screen and (max-width: 1100px) { .nav__links, diff --git a/public/svg/discord.svg b/public/svg/discord.svg deleted file mode 100644 index 07ac29a..0000000 --- a/public/svg/discord.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/public/svg/github.svg b/public/svg/github.svg deleted file mode 100644 index b075336..0000000 --- a/public/svg/github.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/views/home.ejs b/views/home.ejs index 27d660e..d0f1583 100644 --- a/views/home.ejs +++ b/views/home.ejs @@ -189,8 +189,16 @@ License.

@@ -205,4 +213,4 @@ - \ No newline at end of file +