aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/_utils.scss4
-rw-r--r--assets/book.scss4
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);
}