diff --git a/components/HomeStatBox.vue b/components/HomeStatBox.vue index 7b8b46c..f1a9428 100644 --- a/components/HomeStatBox.vue +++ b/components/HomeStatBox.vue @@ -1,3 +1,15 @@ + + + + diff --git a/components/Navbar.vue b/components/Navbar.vue index d5121b3..59ce626 100644 --- a/components/Navbar.vue +++ b/components/Navbar.vue @@ -9,7 +9,10 @@ import ColourPicker from "./ColourPicker.vue";
  • Blog
  • Stories
  • - +
    + +
    HAMBURGER
    +
    @@ -22,7 +25,6 @@ nav { } ul { - width: 100%; display: flex; align-items: center; gap: 3rem; @@ -35,4 +37,37 @@ li.home-text { font-size: x-large; font-weight: bold; } + +.hamburger { + height: 1px; + width: 1px; + opacity: 0; +} + +* { + transition: all 0.2s ease; +} + +@media screen and (max-width: 510px) { + .hamburger { + display: flex; + padding-left: 1rem; + height: unset; + width: unset; + opacity: 1; + } + + li:not(.home-text) { + height: 1px; + width: 1px; + opacity: 0; + /* accessibility? screw accessibility + * i want my pretty animations + */ + } + + ul { + gap: 0rem; + } +} diff --git a/layouts/base.vue b/layouts/base.vue deleted file mode 100644 index bb88e57..0000000 --- a/layouts/base.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/layouts/default.vue b/layouts/default.vue index 3a4580a..3e6277a 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -36,8 +36,10 @@ html.dark::before { transform: translateX(0); } -.dark-mode body { - background-color: #091a28; - color: #ebf4f1; +main { + width: 80%; + max-width: 60rem; + height: 100%; + padding-top: 2rem; } diff --git a/pages/[...slug].vue b/pages/[...slug].vue index 8f2ad4d..d9045c1 100644 --- a/pages/[...slug].vue +++ b/pages/[...slug].vue @@ -11,9 +11,8 @@