diff options
| author | Reorx <novoreorx@gmail.com> | 2023-01-27 20:59:36 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2023-01-27 20:59:36 +0800 |
| commit | 5e73b0ea72abf12779d1f8fdd4f3f064179c30db (patch) | |
| tree | 98e9762b8c729941b9a833a77dc403b78a2bf81d | |
| parent | e13eb19368ca65cdd2e8a00552feeac47bc23c2e (diff) | |
move the line from .post-footer to .comment-separator
| -rw-r--r-- | assets/css/common/post-single.css | 5 | ||||
| -rw-r--r-- | layouts/_default/single.html | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 67b44eb..26ce3ce 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -405,7 +405,10 @@ h6:hover .anchor { .post-footer { margin-top: calc(var(--content-gap) * 1.5); padding-bottom: calc(var(--content-gap) * 2); - border-bottom: 3px solid var(--tertiary); +} +.comments-separator { + height: 3px; + background-color: var(--tertiary); } .share-buttons { diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 1a8d06f..1de847b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -68,6 +68,7 @@ </footer> {{- if not (.Param "noComments") }} + <div class="comments-separator"></div> {{- partial "comments.html" . }} {{- end }} </article> |
