-
@@ -158,60 +152,65 @@ const year = new Date().getFullYear();
diff --git a/src/pages/about.astro b/src/pages/about.astro
index bc553a0..6e18613 100644
--- a/src/pages/about.astro
+++ b/src/pages/about.astro
@@ -454,7 +454,8 @@ const description =
}
}
- &:hover {
+ &:hover,
+ &:focus {
svg {
path {
fill: var(--red-light);
diff --git a/src/styles/_base.scss b/src/styles/_base.scss
index 22eeef6..a68cda5 100644
--- a/src/styles/_base.scss
+++ b/src/styles/_base.scss
@@ -14,7 +14,8 @@ a {
@apply text-red;
}
- &:hover {
+ &:hover,
+ &:focus {
@apply text-navy;
}
}
@@ -67,7 +68,8 @@ h6 {
@apply text-navy;
}
- &:hover {
+ &:hover,
+ &:focus {
@apply cursor-pointer text-red;
svg {
diff --git a/src/styles/tailwind/components/blog-tag.css b/src/styles/tailwind/components/blog-tag.css
index 8671a92..1ed1eab 100644
--- a/src/styles/tailwind/components/blog-tag.css
+++ b/src/styles/tailwind/components/blog-tag.css
@@ -7,6 +7,6 @@
@apply text-grey-light;
}
-.blog-tag:hover {
+.blog-tag:hover, .blog-tag:focus {
@apply bg-navy text-white;
}
diff --git a/src/styles/tailwind/components/buttons.css b/src/styles/tailwind/components/buttons.css
index 5b6ce50..89a1b88 100644
--- a/src/styles/tailwind/components/buttons.css
+++ b/src/styles/tailwind/components/buttons.css
@@ -24,7 +24,7 @@
@apply !text-white;
}
-.btn-white:hover {
+.btn-white:hover, .btn-white:focus {
@apply !bg-blue-light !text-navy;
}
diff --git a/src/styles/tailwind/components/nav-menu.css b/src/styles/tailwind/components/nav-menu.css
index d5ed9cf..fe5f658 100644
--- a/src/styles/tailwind/components/nav-menu.css
+++ b/src/styles/tailwind/components/nav-menu.css
@@ -24,7 +24,7 @@
@apply text-navy;
}
-.nav-link:hover {
+.nav-link:hover, .nav-link:focus {
@apply text-red-light;
}
@@ -51,7 +51,7 @@
@apply text-white;
}
- .nav-link-alt:hover {
+ .nav-link-alt:hover, .nav-link-alt:focus {
@apply text-red-light;
}
}