fix an issue with long titles
This commit is contained in:
parent
a26a94d57b
commit
98f6e89697
|
@ -429,6 +429,7 @@ input#modern:checked ~ .main h2 {
|
||||||
font-family: "Hoefler Text", Georgia, serif;
|
font-family: "Hoefler Text", Georgia, serif;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
|
line-height: 1.5em;
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -442,11 +443,13 @@ input#modern:checked ~ .main h5,
|
||||||
input#modern:checked ~ .main h6 {
|
input#modern:checked ~ .main h6 {
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
|
line-height: 1.5em;
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
}
|
}
|
||||||
input#modern:target ~ .main #preamble h1,
|
input#modern:target ~ .main #preamble h1,
|
||||||
input#modern:checked ~ .main #preamble h1 {
|
input#modern:checked ~ .main #preamble h1 {
|
||||||
font-size: 4em;
|
font-size: 4em;
|
||||||
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
input#modern:target ~ .main h1::before,
|
input#modern:target ~ .main h1::before,
|
||||||
input#modern:target ~ .main h2::before,
|
input#modern:target ~ .main h2::before,
|
||||||
|
|
Loading…
Reference in a new issue