diff --git a/sass/css/header.scss b/sass/css/header.scss index fe3e8a1..b75d06e 100644 --- a/sass/css/header.scss +++ b/sass/css/header.scss @@ -42,3 +42,43 @@ header { color: white; } } + +@media (min-width: 1024px) { + .phone-only { + display: none; + } +} + +@media (max-width: 1023px) { + .menu-phone { + position: absolute; + top: 0; + left: 0; + display: flex; + flex-direction: column; + gap: 1em; + padding: 2em; + background-color: white; + } + + .hidden-phone { + display: none; + } +} + +.hamburger-menu { + font-size: 1.5em; + margin: 0.25em; + font-family: LunaSans; + border: none; + background-color: transparent; + cursor: pointer; + opacity: 65%; +} + +.hamburger-menu:hover { + opacity: 100%; + +} + + diff --git a/templates/base.html b/templates/base.html index ca50805..fef2061 100644 --- a/templates/base.html +++ b/templates/base.html @@ -28,14 +28,28 @@

Librezo

+ {% block body %}{% endblock body %}