Basic working code view

This commit is contained in:
Nathan McCarty 2025-02-06 18:16:33 -05:00
parent f46ca670fe
commit fd6b96f03d
3 changed files with 35 additions and 1 deletions

View file

@ -0,0 +1,22 @@
/* Set the font for code blocks */
code {
font-family: "Iosevka Web", monospace;
}
/* Styling for inline code blocks */
:not(pre) > code {
padding: 0 0.25rem;
}
/* Styling for fenced code blocks */
pre > code {
display: block;
white-space: pre-wrap;
padding: 1rem;
border-radius: 0.55rem / 0.5rem;
word-wrap: normal;
overflow: auto;
}
pre {
width: 90%;
}