From 4dac6ec97d121ad593ebe35513f612878437f515 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sun, 25 Nov 2018 11:10:23 +0100 Subject: [PATCH] #7, apply vertical menu styles only to nav --- assets/book.scss | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/assets/book.scss b/assets/book.scss index d98131f..d819418 100644 --- a/assets/book.scss +++ b/assets/book.scss @@ -51,7 +51,7 @@ img { vertical-align: middle; } -ul { +aside nav ul { padding: 0; margin: 0; list-style: none; @@ -69,6 +69,15 @@ ul { } } +ul.pagination { + display: flex; + justify-content: center; + + .page-item a { + padding: $padding-16; + } +} + .container { min-width: $container-min-width; max-width: $container-max-width; @@ -129,14 +138,9 @@ ul { min-width: $body-min-width; max-width: $sm-breakpoint; padding: $padding-16; -} -ul.pagination { - display: flex; - justify-content: center; - - .page-item a { - padding: $padding-16; + article { + padding-bottom: $padding-16; } }