From 2d0891205421667cacc7aa02ba80a68aed39b231 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Thu, 25 Jul 2024 08:23:04 -0700 Subject: [PATCH] Remove custom blockquote styling This is causing weird issues where the width of blockquotes gets smaller on wider screens. I don't particularly want to try to fix it, and I'm personally fine with the default mdbook styling. I think we can revisit this later to see if it can be made better. --- theme/reference.css | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/theme/reference.css b/theme/reference.css index 8d000fbf0..04b62151b 100644 --- a/theme/reference.css +++ b/theme/reference.css @@ -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

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. */