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