Skip to content

Commit

Permalink
Removed spacing between full-width cards
Browse files Browse the repository at this point in the history
  • Loading branch information
minimaluminium committed Sep 15, 2023
1 parent 97fda79 commit d120bf0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/built/screen.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/built/screen.css.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions assets/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d120bf0

Please sign in to comment.