centered everything

This commit is contained in:
Pagwin 2024-10-25 15:38:00 -04:00
parent 33539e9905
commit 424dc2c302
No known key found for this signature in database
GPG key ID: 81137023740CA260

View file

@ -25,13 +25,29 @@ a:hover {
} }
#content { #content {
display: block; display: block flex;
margin: 1em; margin: 1em;
padding: 1em; padding: 1em;
/* needed due to flex*/ /* needed due to flex parent*/
width: 100%; width: 100%;
max-width: 960px; max-width: 960px;
border-radius: 0.5em; border-radius: 0.5em;
/* needed due to being flex itself*/
flex-direction:column;
/* put things in center*/
/* not sure if I want everything centered or just code blocks but I like everything centered atm*/
justify-content: center;
align-items: center;
}
blockquote {
/*font-style: italic;*/
padding: 0.5em 1em;
border-radius: 0.5em;
p{
/*margin is annoying in this case*/
margin: 0;
}
} }
#content-outer { #content-outer {
display: flex; display: flex;
@ -49,3 +65,7 @@ pre {
/*border: 0.2em solid red;*/ /*border: 0.2em solid red;*/
padding: 0.5em; padding: 0.5em;
} }
hr {
width: 100%;
}