summaryrefslogtreecommitdiffstats
path: root/blog/_assets
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2016-09-23 18:46:02 +0200
committerHarald Eilertsen <haraldei@anduin.net>2016-09-23 18:46:02 +0200
commit78211e36114ab31e92b570279a89e6d77ca64331 (patch)
tree11e59b766a0a09aae6bfaa090e66d38f0f0d8707 /blog/_assets
parentf847d407b8f2da4e235cea42b8af1b3dcf8ac667 (diff)
downloadnorsk-urskog-main-78211e36114ab31e92b570279a89e6d77ca64331.tar.gz
norsk-urskog-main-78211e36114ab31e92b570279a89e6d77ca64331.tar.bz2
norsk-urskog-main-78211e36114ab31e92b570279a89e6d77ca64331.zip
Add links to previous and next posts in post template.
Diffstat (limited to 'blog/_assets')
-rw-r--r--blog/_assets/stylesheets/_post.scss17
1 files changed, 17 insertions, 0 deletions
diff --git a/blog/_assets/stylesheets/_post.scss b/blog/_assets/stylesheets/_post.scss
index bbb924e..4912046 100644
--- a/blog/_assets/stylesheets/_post.scss
+++ b/blog/_assets/stylesheets/_post.scss
@@ -20,6 +20,23 @@
}
.post {
+ footer {
+ padding-top: 4mm;
+ .prev-post {
+ float: left;
+ &::before {
+ content: "« ";
+ font-size: 150%;
+ }
+ }
+ .next-post {
+ float: right;
+ &::after {
+ content: " »";
+ font-size: 150%;
+ }
+ }
+ }
}
.post-body {