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

@@ -1,17 +1,10 @@
.title {
font-family: var(--heading-font-family);
font-size: 1.8rem;
color: var(--color-dark-blue);
font-size: var(--size-heading-1);
margin-bottom: var(--space-sm);
}
@media (--viewport-md) {
.title {
font-size: 2.4rem;
margin-bottom: var(--space-md);
}
}
.title a {
color: inherit;
}