mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
81e86113d6
Take this structure: <div .highlight> <p> <div .highlight> The current post-single CSS adds margin to the bottom of the paragraph and that's it. This works great when the previous element also got the same amount of bottom margin, however code blocks do not! The end result looks similar to the figure above. This commit fixes this adding top margin to elements (as needed) that come immediately after a code block (they have the .highlight class). The amount of top margin added is the same they already get on the bottom. |
||
---|---|---|
.. | ||
404.css | ||
archive.css | ||
footer.css | ||
header.css | ||
main.css | ||
post-entry.css | ||
post-single.css | ||
profile-mode.css | ||
search.css | ||
terms.css |