I’m running v 1.1.12 of obsidian and latest plugins on Windows
I can’t get the icon to show. And the box-shadow doesn’t work either.
Icons seem to be a bit of a quagmire in obsidian. Knowing which icon sets (font awesome, lucide, etc) are available or how to reference them seems to be a dark art.
Does anybody have any suggestions on how to make this work?
I forgot that CSS doesn’t allow double-slash comments. It also appears that once the CSS parser hits an error, it doesn’t process the rest of the block. I will chock this up to mostly carbon unit failure.
Yes, the big problem was that unlike every other language in the world, CSS doesn’t support both the /* */ comments and the // comments.
A negative value in the third parameters is incorrect. It’s a blur radius which cannot be negative (not a bottom offset as I assumed). Negative values in the first two parameters should make a difference.
There are plenty of languages using different comment styles, but that is beside the point. I just wanted to share an alternative I find myself using when playing around with temporary CSS, which kind of simulates the // comments.
By adding /* */ at the end of the line, with or without text inside, I can use /* at the front to comment out that line rather easily.
Only caveat is if you want to comment out the entire section as that end text will end any comment section, but if I want to do that, I usually just add a letter or two to disqualify the selector at the front.