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

@ -11,6 +11,13 @@
--box-radius: 1rem;
}
/* slightly larger than content-width to account for padding/margins */
@media screen and (max-width: 62rem) {
:root {
--content-width: 95vw;
}
}
/* Main Body and Post Flexboxs */
body, .post {
display: flex;
@ -92,7 +99,6 @@ body, .post {
flex-direction: column;
align-items: center;
gap: var(--box-gap);
width: 100%;
max-width: var(--content-width);
padding: var(--box-padding-vert) var(--box-padding-horz);
border-radius: var(--box-radius);