diff --git a/docs/assets/scss/extend.scss b/docs/assets/scss/extend.scss new file mode 100644 index 00000000..343adf16 --- /dev/null +++ b/docs/assets/scss/extend.scss @@ -0,0 +1,31 @@ +:root { + --gap: 1rem; +} + +body { + display: grid; + grid-template-columns: [sidebar] 1fr [content] 3fr; + grid-gap: var(--gap); + overflow: hidden; + padding: 0; + margin: 0; + + max-width: unset; + width: 100vw; + height: 100vh; +} + +.book.sidebar { + padding: 0 var(--gap); + overflow-y: auto; + resize: horizontal; +} + +.book.content { + padding: var(--gap); + overflow-y: auto; +} + +article h1 { + font-size: 2rem; +} diff --git a/docs/layouts/_default/baseof.html b/docs/layouts/_default/baseof.html new file mode 100644 index 00000000..da64c0ec --- /dev/null +++ b/docs/layouts/_default/baseof.html @@ -0,0 +1,17 @@ + + +
+ {{- partial "head.html" . -}} + + + +