Move a smattering of tags from main.css to root.css: h*, img, p, pre

This commit is contained in:
Eryn Wells 2022-09-25 08:50:17 -07:00
parent 10d7c586c0
commit 2f3a32e28d
2 changed files with 18 additions and 30 deletions

View file

@ -186,6 +186,11 @@ h1.site {
h1.site * { color: inherit; }
h1, h2, h3, h4, h5, h6 {
font-weight: 600;
letter-spacing: 0.08em;
}
header.site {
display: flex;
left: 0;
@ -253,6 +258,11 @@ header.site .grid nav:last-of-type {
justify-content: end;
}
img {
height: auto;
max-width: 100%;
}
nav.site {
align-items: center;
display: flex;
@ -284,9 +294,17 @@ nav.bulleted li::before {
margin-inline-end: 0.5em;
}
p {
letter-spacing: 0.025em;
line-height: 1.4;
}
p { margin-block-end: 1em; }
p:last-child { margin-block-end: 0; }
pre {
margin-block-bottom: 1em;
}
/** HELPER CLASSES **/
.centered { text-align: center; }