Replies: 1 comment 8 replies
-
I converted your issue as a discussion because this is clearly a question about how to customise HTML, and I don't see any actual bug. Callouts are no cards. You need to understand SCSS/CSS and get to know Bootstrap. See:
For more advanced customisation, you need to learn how to use your favourite browser inspect/developer mode to target the proper elements and add the necessary (S)CSS rules. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm very new to rendering to html, so I'm sorry if I get a lot of the terminology wrong. I'll try to make this example as small as possible.
Here's the a
qmd
as small as felt comfrortable making it (the colored boxes makes the issue stand out).Code for reproducing
Here's the associated file
dark-monospace-style.scss
which fixes the white boxes around monospace words which is otherwise there as default.Desired output
I wish that maybe the style of the cards, as seen to the left in this picture, would be used for the callout blocks.
edit: this picture was taken earlier, the code block background color will be different if you chose to reproduce this
The current coloring, especially for the title text background in
.callout-note
looks really bad. Maybe this is due to my selection of the slate theme?Current version of Quarto
Checked out main branch yesterday.
Beta Was this translation helpful? Give feedback.
All reactions