Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove custom blockquote styling #1547

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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