diff --git a/assets/scss/layouts/drawer.scss b/assets/scss/layouts/drawer.scss index 10d22fa..205415c 100644 --- a/assets/scss/layouts/drawer.scss +++ b/assets/scss/layouts/drawer.scss @@ -17,6 +17,11 @@ body { #drawer-toggler:checked ~ body, .drawer-body-scrolling-disabled { overflow: hidden; + background:grey; + * { + color:red!important; + } + } .main-page-wrap { @@ -80,3 +85,9 @@ body { font-size: 1.3em; } } +#drawer-toggler:checked + .drawer{ + width: 300px; + .drawer-links { + opacity: 1; + } +} diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 1eb7762..ab3b40f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,8 +5,9 @@ {{- block "head" . -}}{{ end }} - + + {{ partial "drawer" . }}
-
-
+