diff --git a/assets/less/components/nav.less b/assets/less/components/nav.less index d70fc42a..e69de29b 100644 --- a/assets/less/components/nav.less +++ b/assets/less/components/nav.less @@ -1,49 +0,0 @@ -.nav { - @apply .w-full; -} - -.nav-item { - @apply .flex; - @apply .items-center; - @apply .-mx-4; - @apply .p-4; -} - -.nav-item:first-child { - @apply .border-t .border-grey-lighter; -} - -@screen sm { - .nav { - @apply .flex-wrap .justify-end; - } - - .nav-item { - @apply .border-b-3; - @apply .border-transparent; - @apply .ml-4; - @apply .mr-0; - @apply .p-0; - } - - .nav-item:first-child { - @apply .border-t-0 .border-transparent; - } - - .nav-item--active, - .nav-item--active.nav-item:first-child { - @apply .bg-transparent .border-blue; - } -} - -@screen md { - .nav { - @apply .w-2/3; - } -} - -@screen lg { - .nav { - @apply .w-3/4; - } -} diff --git a/assets/less/main.less b/assets/less/main.less index 419a8eca..0473bd3b 100644 --- a/assets/less/main.less +++ b/assets/less/main.less @@ -59,7 +59,6 @@ svg { } @import 'components/listing.less'; -@import 'components/nav.less'; @import 'components/post.less'; @import 'components/post/about-author.less'; @import 'components/post/code.less'; diff --git a/source/_includes/nav.html.twig b/source/_includes/nav.html.twig index f22d2c7e..77e9fda1 100644 --- a/source/_includes/nav.html.twig +++ b/source/_includes/nav.html.twig @@ -15,30 +15,52 @@ -