Minor styling changes

This commit is contained in:
Neil Brommer 2023-07-12 11:17:20 -07:00
parent e42141b089
commit 5668c6fd51
3 changed files with 10 additions and 3 deletions

View file

@ -4,12 +4,13 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 1rem; padding: 1rem;
margin-bottom: 1rem; margin-top: 0.5rem;
margin-bottom: 0.5rem;
border: solid 1px var(--primary-border-color); border: solid 1px var(--primary-border-color);
border-radius: var(--main-border-radius); border-radius: var(--main-border-radius);
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
margin-bottom: 0; margin: 0;
} }
.card-links { .card-links {

View file

@ -19,6 +19,7 @@ code {
} }
pre { pre {
font-size: 0.9em;
background: var(--code-background); background: var(--code-background);
padding: 1em; padding: 1em;
border: solid 1px var(--primary-border-color); border: solid 1px var(--primary-border-color);
@ -30,6 +31,11 @@ pre {
border: unset; border: unset;
border-radius: unset; border-radius: unset;
} }
&[class*=language-] {
font-size: 0.9em;
margin-bottom: 1em;
}
} }
.token.keyword { .token.keyword {

View file

@ -1,8 +1,8 @@
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-weight: 500; font-weight: 500;
margin-top: 0;
} }
h1 { h1 {
font-size: 3em; font-size: 3em;
margin-top: 0;
} }