Add line height spec to h2

This commit is contained in:
Knoch 2019-04-29 22:03:03 +02:00
parent 1581f8831b
commit 380101896a
2 changed files with 7 additions and 0 deletions

View File

@ -260,6 +260,9 @@ h1 {
max-width: var(--square);
padding: 0 calc(var(--margin) * var(--square)) 0.5em; }
h2 {
line-height: 1.2; }
h2[data-category]::before {
content: attr(data-category);
font-size: .7em;

View File

@ -338,6 +338,10 @@ h1 {
padding: 0 calc(var(--margin) * var(--square)) .5em;
}
h2 {
line-height: 1.2;
}
h2[data-category]::before {
content: attr(data-category);
font-size: .7em;