Skip to content

Commit 6f06f36

Browse files
committed
Changes default tailwind gray to jsmn-black, tweaks hovers
1 parent ea44a91 commit 6f06f36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/includes/header.njk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<nav class="bg-gray-800 shadow-md relative">
1+
<nav class="bg-jsmn-black shadow-md relative">
22
<div class="container mx-auto px-2 sm:px-6 lg:px-8">
33
<div class="relative flex items-center justify-between h-16">
44
<div class="absolute inset-y-0 left-0 flex items-center sm:hidden">
@@ -70,7 +70,7 @@
7070
{% for link in site.navigation %}
7171
<a
7272
href="{{ link.path | url }}"
73-
class="ml-4 px-3 py-2 text-sm font-medium leading-5 text-gray-300 hover:text-white hover:bg-gray-700 focus:outline-none focus:text-white focus:bg-gray-700 transition duration-150 ease-in-out"
73+
class="ml-4 px-3 py-2 text-sm font-medium leading-5 text-gray-300 hover:text-white border-b-2 border-transparent hover:border-jsmn-yellow focus:outline-none focus:text-white focus:bg-gray-700 transition duration-150 ease-in-out"
7474
>{{ link.text }}</a
7575
>
7676
{% endfor %}
@@ -84,7 +84,7 @@
8484
{% for link in site.navigation %}
8585
<a
8686
href="{{ link.path | url }}"
87-
class="mt-1 block px-3 py-2 text-base font-medium text-gray-300 hover:text-white hover:bg-gray-700 focus:outline-none focus:text-white focus:bg-gray-700 transition duration-150 ease-in-out"
87+
class="mt-1 block px-3 py-2 text-base font-medium text-gray-300 hover:text-white border-l-4 border-transparent hover:border-jsmn-yellow focus:outline-none focus:text-white focus:bg-gray-700 transition duration-150 ease-in-out"
8888
>{{ link.text }}</a
8989
>
9090
{% endfor %}

0 commit comments

Comments
 (0)