diff --git a/assets/css/partials/header.css b/assets/css/partials/header.css index ac23ec1..8ea4605 100644 --- a/assets/css/partials/header.css +++ b/assets/css/partials/header.css @@ -51,7 +51,8 @@ header #links { header #links .linkedin, header #links .github, -header #links .cv-paper-flip { +header #links .cv-paper-flip, +header #burger svg path { stroke: var(--text); } @@ -62,6 +63,24 @@ header #links .moon { fill: var(--text); } -header #links #theme-toggle { +header #burger { + display: none; +} + +header #links #theme-toggle, header #burger { cursor: pointer; } + +@media only screen and (max-width: 768px) { + header { + padding: 0.938rem 1.25rem; + } + + header #menus, header #links { + display: none; + } + + header #burger { + display: initial; + } +} \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4ee2a05..8920ce8 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,20 +1,25 @@ -{{ $styles := resources.Get "css/baseof.css" | toCSS | minify | fingerprint }} -{{ $scripts := resources.Get "js/baseof.js" | js.Build | minify | fingerprint }} +{{ $styles := resources.Get "css/baseof.css" | toCSS | minify }} +{{ $scripts := resources.Get "js/baseof.js" | js.Build | minify }}
- + + + {{ block "styles" . }}{{ end }} +