aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorTrack3 <34504964+Track3@users.noreply.github.com>2019-06-21 13:15:53 +0800
committerGitHub <noreply@github.com>2019-06-21 13:15:53 +0800
commit6cee5adc69ed07b38786f0ad2512c2a4faf31063 (patch)
treedcb63feb11d0c3926dd98b1c41dbb9c93f5914de /assets
parente333628a2663020701e058da5e15ae39ffc796bf (diff)
downloadhermit-6cee5adc69ed07b38786f0ad2512c2a4faf31063.tar.gz
Add related content section to single page (#77)
Set `relatedPosts` to `true` in the config to enable this.
Diffstat (limited to 'assets')
-rw-r--r--assets/scss/style.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/assets/scss/style.scss b/assets/scss/style.scss
index 32c6ee6..a58003f 100644
--- a/assets/scss/style.scss
+++ b/assets/scss/style.scss
@@ -687,6 +687,25 @@ hr.post-end {
}
}
+.related-posts {
+ padding: .8em;
+ margin-top: 1.5em;
+ font-size: .8rem;
+ border: 3px dashed rgba(255, 255, 255, .2);
+ border-radius: 5px;
+
+ h2{
+ margin: 0;
+ line-height: normal;
+ }
+
+ ul {
+ margin-top: .5em;
+ margin-bottom: 0;
+ }
+}
+
+
// Media Queries
//
@media (min-width: 800px) {