Replies: 1 comment 2 replies
-
I also tried the below, which I pasted from the quire-page.scss file, removing the unnecessary parts, and switching the italic with the normal. When I adjusted those elements in the quire-page.scss file, it worked, but it did not work when I tried it in the custom.css file. blockquote { em { } |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In our Italian Paintings project, I added this to the custom.css file to change block quote text from italicized to roman:
blockquote {
p {
font-style: normal;
}
}
It worked fine on the web version. For examples, see the block quotes at notes 1 and 2 here:
https://volume-2-batch-1--italian-paintings-live.netlify.app/catalogue/volume-2/the-florentine-school/82/#fnref1
However, after saving this in the custom.css file, when I try to output a new pdf using "quire build" and "quire pdf --lib prince," the formatting is all over the place in the pdf. Most of the formatting is gone. The error in the build log said this:
quire] ERROR transforms:pdf:writer Eleventy transform for PDF error compiling SASS. Error message: expected ":".
╷
247 │ p {
│ ^
╵
I tried adjusting the CSS in various ways, but everything I tried ended up reverting the block quote text to italics. Is there a better way to do this? I'm still newish to CSS and am fumbling through all of my attempts at customization.
Thanks, in advance, for any advice!
Beta Was this translation helpful? Give feedback.
All reactions