hugo-PaperMod/assets/css/common
Richard Si 81e86113d6
Add margin top to certain elements surrounded by code blocks for consistency
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.
2023-01-08 14:50:26 -05:00
..
404.css Add missing semicolons in CSS files (#408) 2021-06-11 13:29:56 +05:30
archive.css Add missing semicolons in CSS files (#408) 2021-06-11 13:29:56 +05:30
footer.css Apply prettier to css 2021-06-11 13:34:55 +05:30
header.css Allow adding SVG in place of logo image (#976) 2022-07-23 09:45:32 +05:30
main.css Prevent code-copy btn and anchored headings from getting selected 2021-11-20 18:32:25 +05:30
post-entry.css Refine [draft] tag display 2021-09-04 12:03:12 +05:30
post-single.css Add margin top to certain elements surrounded by code blocks for consistency 2023-01-08 14:50:26 -05:00
profile-mode.css Fix Profile Mode imageTitle missing 2022-07-09 20:09:32 +05:30
search.css Apply prettier to css 2021-06-11 13:34:55 +05:30
terms.css Apply prettier to css 2021-06-11 13:34:55 +05:30