Removed padding between navigation and full width content (#944)

This commit is contained in:
Sanne de Vries
2023-07-17 10:26:18 +02:00
committed by GitHub
parent 84f201d293
commit d9c9390e17
5 changed files with 19 additions and 12 deletions

View File

@ -1218,20 +1218,15 @@ html.no-infinite-scroll .pagination {
/* ---------------------------------------------------------- */
.article {
padding: max(8vmin, 40px) 0 max(8vmin, 64px);
word-break: break-word;
}
.page-template .article {
padding-top: max(12vmin, 64px);
}
.article-header {
padding: 0 0 max(6.4vmin, 40px) 0;
.post-template .article {
padding: max(8vmin, 40px) 0 max(8vmin, 64px);
}
.page-template .article-header {
padding-bottom: max(3.2vmin, 28px);
padding: max(12vmin, 64px) 0 max(3.2vmin, 28px);
}
.article-tag {
@ -1402,6 +1397,14 @@ is the very first element in the post content */
line-height: 1.6em;
}
.page-template .gh-content:only-child > *:first-child:not(.kg-width-full) {
padding-top: max(12vmin, 64px);
}
.page-template .gh-content > *:last-child:not(.kg-width-full) {
margin-bottom: max(12vmin, 64px);
}
.gh-content .kg-callout-card .kg-callout-text,
.gh-content .kg-toggle-card .kg-toggle-content > ol,
.gh-content .kg-toggle-card .kg-toggle-content > ul,
@ -2042,6 +2045,10 @@ iframe.instagram-media + script + :not([id]) {
background: color-mod(var(--color-darkgrey) l(-5%));
}
.page-template .site-footer {
margin-top: 0;
}
.site-footer .inner {
display: grid;
grid-gap: 40px;