Verified Commit 202e3280 authored by Carl Schwan's avatar Carl Schwan 🌈

Improve typography

parent 94687af5
......@@ -15,9 +15,67 @@ p + p {
}
h1 {
margin-top: $spacer * 1.25;
margin-top: $spacer * 1.5;
}
h2 {
margin-top: $spacer;
margin-top: $spacer * 1.4;
}
html {
font-size:5.625vw;
font-weight:400;
}
@media (min-width: 320px) {
html {
font-size:18px
}
}
@media (min-width: 1024px) {
html {
font-size:20px
}
}
@media print {
html {
font-size:14px
}
}
main.markdown-output {
padding: 0 1rem;
}
main.markdown-output ul,
main.markdown-output ol,
main.markdown-output h1,
main.markdown-output h2,
main.markdown-output h3,
main.markdown-output h4,
main.markdown-output h5,
main.markdown-output h6,
main.markdown-output figure,
main.markdown-output div,
main.markdown-output p {
margin-left: auto;
margin-right: auto;
max-width: 40rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
line-height:1.2em;
margin-top:1.2em;
margin-bottom:0.4em;
}
h1 {
line-height:1em
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment