diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-01-24 23:30:31 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-01-24 23:30:31 +0100 |
commit | 4ce973a4e2ee74ff4cba33ea3c8bb8761c8e70ef (patch) | |
tree | 54ea5013573f11dcf7e52a5d06f2ec0a9d4c7db9 /assets | |
parent | d746c8eec369cc76fb9937f7838172ba40d3bf0f (diff) |
Add menu to blog pages
Diffstat (limited to 'assets')
-rw-r--r-- | assets/_utils.scss | 4 | ||||
-rw-r--r-- | assets/book.scss | 4 |
2 files changed, 7 insertions, 1 deletions
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); } |