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

Verified

This commit was signed with the committer’s verified signature.
pnezis Panagiotis Nezis
1 parent 53be0c5 commit 0b54de8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions assets/scss/05-prose/_prose.scss
Original file line number Diff line number Diff line change
@@ -116,12 +116,22 @@ 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 {

0 comments on commit 0b54de8

Please sign in to comment.