1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-14 02:44:28 -04:00

more preparation for styled components

This commit is contained in:
2022-01-19 11:00:28 -05:00
parent caac9b905a
commit 171bdd65b6
15 changed files with 60 additions and 271 deletions

View File

@@ -3,6 +3,8 @@
line-height: 1.7;
}
/* TODO: These will all be their own components... eventually. */
.content h2,
.content h3,
.content h4 {
@@ -50,6 +52,18 @@
background-color: var(--light);
}
/* all code */
.content code {
font-size: 0.925em;
page-break-inside: avoid;
border: 1px solid var(--kinda-light);
}
/* inline code in paragraphs/elsewhere (single backticks) */
.content :not(pre) code {
padding: 0.1em 0.25em;
}
/* sub-heading anchor styles */
.content :global(.h-anchor) {
margin: 0 0.25em;