diff --git a/docs/layouts/partials/footer.html b/docs/layouts/partials/footer.html index 6e2360d..a8920e6 100644 --- a/docs/layouts/partials/footer.html +++ b/docs/layouts/partials/footer.html @@ -1,7 +1,6 @@ -
-

Made with 💛 by Rhyne and some fantastic contributors!

-
+ + {{ partial "nav/sidebar" . }} diff --git a/docs/layouts/partials/header.html b/docs/layouts/partials/header.html index 79233d7..009baf0 100644 --- a/docs/layouts/partials/header.html +++ b/docs/layouts/partials/header.html @@ -3,15 +3,22 @@ {{ partial "head/head" . }} - -
-
-
-
-
-

{{ .Site.Title }}

-

{{ .Site.Params.info.description }}

-
-
- {{ partial "nav/main" . }} + + +
+
+
+
+
+
+

{{ .Site.Title }}

+

{{ .Site.Params.info.description }}

+
+
+ + {{ partial "nav/main" . }} +
+
+ ^ +
diff --git a/docs/layouts/partials/nav/sidebar.html b/docs/layouts/partials/nav/sidebar.html new file mode 100644 index 0000000..9223006 --- /dev/null +++ b/docs/layouts/partials/nav/sidebar.html @@ -0,0 +1,28 @@ + diff --git a/docs/static/assets/demo.css b/docs/static/assets/demo.css index 5cfe6f6..3732064 100644 --- a/docs/static/assets/demo.css +++ b/docs/static/assets/demo.css @@ -2,7 +2,7 @@ body { background-image: url("/img/geometry2.png") } .demo .row .col { - background-color: #eee; + background-color: #eee; } .demo .row .col:nth-child(even) { background-color: #ddd; @@ -12,7 +12,7 @@ body { margin-bottom: 2rem; } .summary a { - color: #41403e; + color: #41403e; } img.no-responsive { max-width: -webkit-fill-available; @@ -36,4 +36,7 @@ img.no-responsive { } .demo-title:hover + .to-top { opacity: 0 -} \ No newline at end of file +} +.sidebar .collapsible { + width: 100%; +} diff --git a/img/geometry2.png b/docs/static/img/geometry2.png similarity index 100% rename from img/geometry2.png rename to docs/static/img/geometry2.png