diff --git a/themes/qogir/assets/scss/button.scss b/themes/qogir/assets/scss/button.scss index 1ac668e..9658729 100644 --- a/themes/qogir/assets/scss/button.scss +++ b/themes/qogir/assets/scss/button.scss @@ -1,6 +1,7 @@ -a.button { +@mixin button { + display: block; padding: 0.25rem 0.5rem; - border-radius: 0.25rem; + // border-radius: 0.25rem; background: transparent; color: $fg; diff --git a/themes/qogir/assets/scss/menu.scss b/themes/qogir/assets/scss/menu.scss new file mode 100644 index 0000000..ee9c023 --- /dev/null +++ b/themes/qogir/assets/scss/menu.scss @@ -0,0 +1,18 @@ +@import "colors.scss"; +@import "button.scss"; + +nav ul { + list-style: none; + margin: 0; + margin-bottom: 0.25rem; + padding: 0; + + display: flex; + flex-direction: row; + + li a { + @include button; + padding: 0.125rem 0.25rem; + background: $base; + } +} diff --git a/themes/qogir/layouts/partials/head.html b/themes/qogir/layouts/partials/head.html index 30554d6..b698fb8 100644 --- a/themes/qogir/layouts/partials/head.html +++ b/themes/qogir/layouts/partials/head.html @@ -2,5 +2,5 @@