Add param to set default size for headings

This commit is contained in:
panr
2020-01-05 10:44:58 +01:00
parent ee93a3dcd5
commit 7ac0deff87
9 changed files with 39 additions and 26 deletions

View File

@ -29,29 +29,32 @@ body {
}
}
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 1.3;
&:not(first-child) {
margin-top: 40px;
.headings--one-size {
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 1.3;
&:not(first-child) {
margin-top: 40px;
}
}
}
h1,
h2,
h3 {
font-size: 1.4rem;
}
h1,
h2,
h3 {
font-size: 1.4rem;
}
h4,
h5,
h6 {
font-size: 1.2rem;
h4,
h5,
h6 {
font-size: 1.2rem;
}
}
a {