Removed spacing between full-width cards

This commit is contained in:
Sodbileg Gansukh 2023-09-15 18:21:54 +08:00
parent 97fda795b2
commit d120bf0006
3 changed files with 7 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2004,6 +2004,11 @@ headings, text, images and lists. We deal with cards lower down. */
margin-bottom: 0;
}
/* Remove space between full-width cards */
.gh-content > .kg-width-full + .kg-width-full:not(.kg-width-full.kg-card-hascaption + .kg-width-full) {
margin-top: 0;
}
/* Add back a top margin to all headings,
unless a heading is the very first element in the post content */
.gh-content > [id]:not(:first-child) {