From 4ce973a4e2ee74ff4cba33ea3c8bb8761c8e70ef Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Thu, 24 Jan 2019 23:30:31 +0100 Subject: Add menu to blog pages --- assets/_utils.scss | 4 ++++ assets/book.scss | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'assets') diff --git a/assets/_utils.scss b/assets/_utils.scss index bb0120c..dcf343c 100644 --- a/assets/_utils.scss +++ b/assets/_utils.scss @@ -26,6 +26,10 @@ margin: 0 auto; } +.mr-auto { + margin-right: auto; +} + .hide { display: none; } diff --git a/assets/book.scss b/assets/book.scss index 6038bde..01443f4 100644 --- a/assets/book.scss +++ b/assets/book.scss @@ -158,6 +158,7 @@ ul.pagination { // Responsive styles aside nav, .book-page, +.book-posts, .markdown { transition: 0.2s ease-in-out; transition-property: transform, margin-left, opacity; @@ -181,7 +182,8 @@ aside nav, #menu-control:checked + main { .book-menu nav, - .book-page { + .book-page, + .book-posts { transform: translateX($menu-width); } -- cgit v1.2.3