Spacing, spacing and spacing

This commit is contained in:
Sodbileg Gansukh 2022-05-20 18:48:43 +08:00
parent a0cedfe23e
commit 508bbf1fb0
3 changed files with 9 additions and 6 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

@ -119,13 +119,12 @@ production stylesheet in assets/built/screen.css
.has-cover-image .site-header-content { .has-cover-image .site-header-content {
min-height: 560px; min-height: 560px;
padding-top: 10vmin;
background-color: var(--ghost-accent-color); background-color: var(--ghost-accent-color);
color: #fff; color: #fff;
} }
body:not(.has-cover-image) .site-header-content:not(.left-aligned) { body:not(.has-cover-image) .site-header-content:not(.left-aligned) {
padding-bottom: max(3.2vmin, 24px); padding-bottom: max(4.8vmin, 24px);
} }
.site-header-content.left-aligned { .site-header-content.left-aligned {
@ -152,7 +151,7 @@ body:not(.has-cover-image) .site-header-content:not(.left-aligned) {
.site-logo { .site-logo {
flex-shrink: 0; flex-shrink: 0;
margin: 0 auto 24px; margin: 0 auto;
max-height: 120px; max-height: 120px;
} }
@ -195,13 +194,17 @@ body:not(.has-cover-image) .site-header-content:not(.left-aligned) {
line-height: 1.4; line-height: 1.4;
} }
.site-title + .site-description { :is(.site-logo, .site-title) + .site-description {
margin-top: 8px; margin-top: 8px;
font-size: 2.1rem; font-size: 2.1rem;
font-weight: 400; font-weight: 400;
color: var(--color-secondary-text); color: var(--color-secondary-text);
} }
.site-logo + .site-description {
margin-top: 20px;
}
.has-cover-image .site-description { .has-cover-image .site-description {
font-size: 3.2rem; font-size: 3.2rem;
letter-spacing: -0.005em; letter-spacing: -0.005em;