diff --git a/assets/css/common/main.css b/assets/css/common/main.css index e4ceabc..30efab6 100644 --- a/assets/css/common/main.css +++ b/assets/css/common/main.css @@ -5,6 +5,7 @@ max-width: calc(var(--main-width) + var(--gap) * 2); margin: auto; padding: var(--gap); + padding-bottom: 0; } /* for post page */ .main.post { diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 74c0135..a843154 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -390,21 +390,11 @@ h6:hover .anchor { } .post-footer { - margin-top: 56px; -} - -.paginav { - border-radius: var(--radius); - background: var(--code-bg); - border: 1px solid var(--border); -} - -.paginav a:hover { - background: var(--border); + margin-top: calc(var(--content-gap) * 1.5); } .share-buttons { - margin: 14px 0; + margin: var(--content-gap) 0; padding-inline-start: var(--radius); display: flex; justify-content: center; @@ -453,16 +443,17 @@ h6:hover .anchor { } .paginav { - margin: 10px 0; + margin: var(--content-gap) 0; display: flex; line-height: 30px; border-radius: var(--radius); } -.paginav a { - padding-inline-start: 14px; - padding-inline-end: 14px; - border-radius: var(--radius); +.paginav svg { + width: 1em; + height: 1em; + display: inline-block; + vertical-align: -0.125em; } .paginav .title { @@ -477,7 +468,7 @@ h6:hover .anchor { width: 50%; } -.paginav span:hover:not(.title) { +.paginav a:hover span:not(.title) { box-shadow: 0 1px 0; } @@ -519,6 +510,7 @@ h6:hover .anchor { 11.1px 11.1px 17.7px -2.5px hsl(var(--shadow-color) / 0.11); } .disqus-container { + margin: calc(var(--content-gap) * 2) 0; background-color: var(--code-bg); border-radius: 10px; padding: 1.5em; diff --git a/assets/css/core/theme-vars.css b/assets/css/core/theme-vars.css index 7a27f0f..7c331ee 100644 --- a/assets/css/core/theme-vars.css +++ b/assets/css/core/theme-vars.css @@ -5,7 +5,7 @@ --main-width: 720px; --post-width: 800px; --header-height: 60px; - --footer-height: 60px; + --footer-height: 80px; --radius: 8px; --theme: rgb(255, 255, 255); diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7f0d181..0a5f5bf 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -50,12 +50,12 @@ {{- end }} {{- if (.Param "comments") }} diff --git a/layouts/partials/post_nav_links.html b/layouts/partials/post_nav_links.html index b988641..2d1eaa9 100644 --- a/layouts/partials/post_nav_links.html +++ b/layouts/partials/post_nav_links.html @@ -3,14 +3,19 @@