A couple of style tweaks

This commit is contained in:
Eryn Wells 2021-10-10 10:33:10 -07:00
parent c913f1d450
commit 3e16498150

View file

@ -13,13 +13,17 @@ main a:hover {
border-bottom: 1px solid var(--link-color); border-bottom: 1px solid var(--link-color);
} }
h1, main h1,
h2, main h2,
h3 { main h3 {
margin-top: 4rem; margin-top: 4rem;
margin-bottom: 0.7rem; margin-bottom: 0.7rem;
} }
main h1:first-child {
margin-top: 0;
}
h1 { h1 {
font-size: 5rem; font-size: 5rem;
} }
@ -32,10 +36,10 @@ h2 {
margin-bottom: 2em; margin-bottom: 2em;
} }
p:first-child { main p:first-child {
margin-top: 0; margin-top: 0;
} }
p { main p {
margin-top: 2rem; margin-top: 2rem;
} }