Update content.css

This commit is contained in:
John O'Nolan 2020-07-01 15:49:09 +07:00 committed by GitHub
parent 021f38cfe8
commit dbf2504983
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -80,14 +80,14 @@
margin-top: 4vmin;
}
.gh-content > [id] + * {
margin-top: 1.5rem;
}
.gh-content [id]:not(:first-child) {
margin: 1.5em 0 0;
}
.gh-content > [id] + * {
margin-top: 1.5rem;
}
.gh-content [id] + .kg-card,
.gh-content blockquote + .kg-card {
margin-top: 6vmin;
@ -151,11 +151,11 @@
/* Cards
/* ---------------------------------------------------------- */
:not(.kg-card):not([id]) + .kg-card {
.gh-content :not(.kg-card):not([id]) + .kg-card {
margin-top: 6vmin;
}
.kg-card + :not(.kg-card):not([id]) {
.gh-content .kg-card + :not(.kg-card) {
margin-top: 6vmin;
}