Closed zcysxy closed 3 years ago
The current style of embeds uses the note's color, but if you toggle Original Embeds
on in the Style Settings and change the color of Embed/Blockquote
, I think that should do what you want.
Yeah I succeed with Original Embeds turned on! However I was trying to change the color in a certain note using cssclass frontmatter. Is it possible without turning on Original Embeds globally?
Ooh, if you want to use a cssclass, this should do it:
.embed .markdown-embed {
background-color: #1c2535;
}
Sorry but selector .embed .markdown-embed
doesn't work for me. I finally succeeded with selector .markdown-preview-view .markdown-embed, .internal-embed
🍻 .
FYI I achieved some kind of glass effect by tweaking embed background color 😆
Hi! Seems like I cannot change the background color of embeds in ITS like I can in other themes, I skimmed through the code and didn't figure out why. Are there any special classes assigned to embeds?