From 65808633a2e0259b54cefb268ebf79418b49e67c Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 5 Nov 2023 20:32:13 -0500 Subject: Added forward and back links to blog posts --- app/assets/stylesheets/main/entries.scss | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'app/assets') diff --git a/app/assets/stylesheets/main/entries.scss b/app/assets/stylesheets/main/entries.scss index 3b7215c..fd03de9 100644 --- a/app/assets/stylesheets/main/entries.scss +++ b/app/assets/stylesheets/main/entries.scss @@ -426,3 +426,27 @@ text-decoration: none; } } + +.back-post, .next-post { + margin-left: 1em; + margin-bottom: 1em; + margin-right: 1em; + + a, a:visited { + color: #555d66; + text-decoration: none; + font-size: .75em; + } + + a:hover { + text-decoration: underline; + } +} + +.back-post { + float: left; +} + +.next-post { + float: right; +} -- cgit 1.4.1