docs: change doc content margins and padding

This bumps the content of a doc page up and drops the sidebar down.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
Andrew Rynhard 2019-10-20 03:22:34 +00:00
parent d73bbbc9c5
commit 06aa63fbb3
3 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ pre[class*='language-'] {
} }
.article-content { .article-content {
@apply max-w-3xl pt-4 pb-4 pl-6 pr-6 mx-auto; @apply max-w-3xl pt-1 pb-4 pl-6 pr-6 mx-auto;
} }
h1, h1,

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="sidenav pt-4 pb-4"> <div class="sidenav pt-4 pb-4">
<ul> <ul class="mt-8">
<li <li
v-for="entry in $store.state.sidebar.menu" v-for="entry in $store.state.sidebar.menu"
:key="entry.title" :key="entry.title"

View File

@ -8,10 +8,10 @@
<DocumentationDropdown></DocumentationDropdown> <DocumentationDropdown></DocumentationDropdown>
</div> </div>
<div class="md:flex flex-wrap"> <div class="md:flex flex-wrap">
<div class="md:w-1/4 mt-6"> <div class="md:w-1/4 mt-1">
<Sidebar></Sidebar> <Sidebar></Sidebar>
</div> </div>
<div class="md:w-3/4 mt-6"> <div class="md:w-3/4 mt-1">
<Content></Content> <Content></Content>
</div> </div>
</div> </div>