Use viewport unit to scale base font size

Use rems for font sizes and margin/padding
This commit is contained in:
2019-01-11 15:46:00 +00:00
parent af55b90f0d
commit 4bc196ad7b
13 changed files with 87 additions and 58 deletions

View File

@@ -28,18 +28,18 @@
}
}
.excerpt__title {
font-size: 1.5rem;
.excerpt__title,
.excerpt__subtitle {
font-size: var(--size-heading-6);
}
.excerpt__subtitle {
font-size: 1.2rem;
margin-top: var(--space-sm);
}
.excerpt__metadata {
color: var(--color-grey);
font-size: 12px;
font-size: var(--size-body-extra-small);
margin-bottom: var(--space-sm);
}