Skip to content

Commit

Permalink
Allow hover styles on screens below 640px
Browse files Browse the repository at this point in the history
  • Loading branch information
millmason committed Jan 15, 2025
1 parent b7cdd74 commit 0d89193
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,23 @@

@font-face {
font-family: 'HK Grotesk';
src:
url('/fonts/hkgrotesk-bold-webfont.woff2') format('woff2'),
src: url('/fonts/hkgrotesk-bold-webfont.woff2') format('woff2'),
url('/fonts/hkgrotesk-bold-webfont.woff') format('woff');
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: 'HK Grotesk';
src:
url('/fonts/hkgrotesk-extrabold-webfont.woff2') format('woff2'),
src: url('/fonts/hkgrotesk-extrabold-webfont.woff2') format('woff2'),
url('/fonts/hkgrotesk-extrabold-webfont.woff') format('woff');
font-weight: 800;
font-style: normal;
}

@font-face {
font-family: 'HK Grotesk';
src:
url('/fonts/hkgrotesk-regular-webfont.woff2') format('woff2'),
src: url('/fonts/hkgrotesk-regular-webfont.woff2') format('woff2'),
url('/fonts/hkgrotesk-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
Expand Down Expand Up @@ -147,7 +144,7 @@
/* added webkit transform to remove icon movement in safari */

.iconLink {
@apply text-gray-900 items-center active:bg-gray-100 active:text-green-700 focus:text-green-700 focus:bg-green-100 bg-color-none hover:bg-gray-10 rounded-medium max-sm:hover:bg-gray-0;
@apply text-gray-900 items-center active:bg-gray-100 active:text-green-700 focus:text-green-700 focus:bg-green-100 bg-color-none hover:bg-gray-10 rounded-medium;
transform: translateZ(0);
-webkit-transform: translateZ(0);
}
Expand Down

0 comments on commit 0d89193

Please sign in to comment.