mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-19 00:52:19 +01:00
source/scss/main.scss: Add top margin to Disqus
When both sharing and Disqus blocks are present, the Disqus block needs a top margin. Otherwise, if sharing is hidden, then the hr following the blog post's article tag already provides enough of a bottom margin.
This commit is contained in:
parent
325c5977c1
commit
25e5232a98
@ -160,6 +160,11 @@ article img {
|
|||||||
height: auto;
|
height: auto;
|
||||||
margin: 13px auto;
|
margin: 13px auto;
|
||||||
}
|
}
|
||||||
|
/* add a margin above the disqus comments only if the preceeding sharing section
|
||||||
|
is present (because sharing can be hidden, and the margin isn't always needed */
|
||||||
|
section + #disqus_thread {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Footer
|
* Footer
|
||||||
|
Loading…
Reference in New Issue
Block a user