From d7508630aec63990435c23a64571f1102ebef6cb Mon Sep 17 00:00:00 2001 From: trivernis Date: Sun, 20 Feb 2022 12:10:57 +0100 Subject: [PATCH] Add navbar to docs Signed-off-by: trivernis --- _layouts/doc.html | 13 +++++++++++-- _sass/_components.scss | 19 +++++++++++++++++++ index.html | 4 +++- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/_layouts/doc.html b/_layouts/doc.html index e48dc04..5778907 100644 --- a/_layouts/doc.html +++ b/_layouts/doc.html @@ -8,12 +8,21 @@ layout: default page.date | date: "%b %-d, %Y" }}

-
+
{{ content }}
- + +
{% include previous-next_docs.html %}
\ No newline at end of file diff --git a/_sass/_components.scss b/_sass/_components.scss index b9f0cc1..3e6f7b7 100644 --- a/_sass/_components.scss +++ b/_sass/_components.scss @@ -160,4 +160,23 @@ code { @media (min-width: $breakpoint-lg) { font-size: 5em; } +} + +.navigation { + display: none; + + @media (min-width: 90em) { + display: block; + position: fixed; + word-break: break-all; + top: 50px; + left: 1em; + width: 12em; + padding-right: 1em; + border-right: $color-border 1px solid; + } + + .selected { + color: $color-text-accent; + } } \ No newline at end of file diff --git a/index.html b/index.html index a2ac7a7..c8ad6f8 100644 --- a/index.html +++ b/index.html @@ -39,4 +39,6 @@ layout: home those via tcp.
- \ No newline at end of file + + +

Getting Started

\ No newline at end of file