You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
449 B
CSS

:root{
--lh: 1.35rem;
}
body{
margin: var(--lh);
line-height: var(--lh);
}
@media print{
body{
margin: 0;
font-size: 10pt;
}
}
main{
max-width: 42rem;
margin: 0 auto;
}
/* h1,h2,h3,h4,h5,h6{
line-height: var(--lh);
} */
h1{
text-align: center;
margin: calc(2 * var(--lh)) 0;
}
h2,h3,h4,h5,h6{
margin: calc(3 * var(--lh)) 0 var(--lh);
}
:is(h1,h2,h3,h4,h5,h6) + :is(h1,h2,h3,h4,h5,h6){
margin-top: var(--lh);
}