Skip to content

Commit

Permalink
theme(fix): proper spacing for blocklevel elements in blockquotes
Browse files Browse the repository at this point in the history
closes davidsneighbour/kollitsch.dev#1249

Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
  • Loading branch information
davidsneighbour committed Jan 11, 2025
1 parent 53be0c5 commit 7a5e41e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions assets/scss/05-prose/_prose.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,20 @@ td {

blockquote {
padding-left: 0.95rem;
padding-top: $spacer;padding-bottom: $spacer;padding-right: $spacer;
border-left: $primary 5px solid;
background-color: var(--bs-tertiary-bg);

cite {
font-style: italic;
}

h1, h2, h3, h4, h5, h6 {
margin-top:0;
}
ul {
margin-bottom: 0;
}
}

pre {
Expand Down

0 comments on commit 7a5e41e

Please sign in to comment.