Removing flex from <main> for sake of print layout (#129)
* Removing flex from <main> for sake of print layout * trimming excess whitespace
This commit is contained in:
parent
c43a00feb2
commit
bce8940c62
3 changed files with 11 additions and 8 deletions
|
@ -47,6 +47,11 @@ img {
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row-reverse;
|
||||||
|
}
|
||||||
|
|
||||||
aside nav ul {
|
aside nav ul {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -315,7 +320,6 @@ aside nav,
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#menu-control:checked ~ main {
|
#menu-control:checked ~ main {
|
||||||
.book-menu #BookMenu,
|
.book-menu #BookMenu,
|
||||||
.book-page {
|
.book-page {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
flex-direction: column-reverse;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.book-toc {
|
.book-toc {
|
||||||
|
|
|
@ -9,11 +9,8 @@
|
||||||
<body>
|
<body>
|
||||||
<input type="checkbox" class="hidden" id="toc-control" />
|
<input type="checkbox" class="hidden" id="toc-control" />
|
||||||
<input type="checkbox" class="hidden" id="menu-control" />
|
<input type="checkbox" class="hidden" id="menu-control" />
|
||||||
<main class="flex container">
|
<main class="container">
|
||||||
|
{{ template "toc" . }}
|
||||||
<aside class="book-menu fixed">
|
|
||||||
{{ partial "docs/menu" . }}
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
<div class="book-page">
|
<div class="book-page">
|
||||||
{{ partial "docs/mobile-header" . }}
|
{{ partial "docs/mobile-header" . }}
|
||||||
|
@ -22,7 +19,9 @@
|
||||||
{{ partial "docs/inject/footer" . }}
|
{{ partial "docs/inject/footer" . }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ template "toc" . }}
|
<aside class="book-menu fixed">
|
||||||
|
{{ partial "docs/menu" . }}
|
||||||
|
</aside>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
{{ partial "docs/inject/body" . }}
|
{{ partial "docs/inject/body" . }}
|
||||||
|
|
Loading…
Reference in a new issue