diff options
| author | Track3 <34504964+Track3@users.noreply.github.com> | 2019-06-21 13:15:53 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-21 13:15:53 +0800 |
| commit | 6cee5adc69ed07b38786f0ad2512c2a4faf31063 (patch) | |
| tree | dcb63feb11d0c3926dd98b1c41dbb9c93f5914de /assets | |
| parent | e333628a2663020701e058da5e15ae39ffc796bf (diff) | |
| download | hermit-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.scss | 19 |
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) { |
