Skip to content

Commit

Permalink
Merge pull request #1547 from ehuss/blockquote-styling
Browse files Browse the repository at this point in the history
Remove custom blockquote styling
  • Loading branch information
traviscross committed Jul 30, 2024
2 parents d741116 + 2d08912 commit 8c789ff
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions theme/reference.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,23 +170,6 @@ dfn {
margin-top: 0px;
}

/* Change the default styling of blockquotes. */
blockquote {
padding: 1ex 1em;
margin: 1ex;
margin-left: 2em;
/* vw units allow this to be adaptive to the screen size so it isn't too small on mobile. */
margin-right: 12vw;
}

/* mdbook will wrap the blockquote content in a <p> tag, with a margin. However,
that adds too much space, so remove it.
*/
blockquote > p {
margin-top: 0px;
margin-bottom: 0px;
}

/* When the sidebar is visible, reduce the spacing of rules so that the
content doesn't get shifted too far, and make the text too narrow.
*/
Expand Down

0 comments on commit 8c789ff

Please sign in to comment.