aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorShane Liesegang <sjml@users.noreply.github.com>2020-01-17 14:32:36 -0500
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-01-17 20:32:36 +0100
commitbce8940c62f04770222354921f0274a1986ab100 (patch)
tree69e5a07785fd5066a45484d0d7c3b056c04a34e0 /assets
parentc43a00feb2b0599aae42382d3f50fa4c07b26481 (diff)
Removing flex from <main> for sake of print layout (#129)
* Removing flex from <main> for sake of print layout * trimming excess whitespace
Diffstat (limited to 'assets')
-rw-r--r--assets/_main.scss6
-rw-r--r--assets/_print.scss2
2 files changed, 6 insertions, 2 deletions
diff --git a/assets/_main.scss b/assets/_main.scss
index b7a64fc..bf60a18 100644
--- a/assets/_main.scss
+++ b/assets/_main.scss
@@ -47,6 +47,11 @@ img {
vertical-align: baseline;
}
+main {
+ display: flex;
+ flex-direction: row-reverse;
+}
+
aside nav ul {
padding: 0;
margin: 0;
@@ -315,7 +320,6 @@ aside nav,
display: flex;
}
-
#menu-control:checked ~ main {
.book-menu #BookMenu,
.book-page {
diff --git a/assets/_print.scss b/assets/_print.scss
index 387b4ff..6acd75e 100644
--- a/assets/_print.scss
+++ b/assets/_print.scss
@@ -5,7 +5,7 @@
}
main {
- flex-direction: column-reverse;
+ display: block;
}
.book-toc {