Akifyss / obsidian-border

A theme for obsidian.md
MIT License
1.42k stars 49 forks source link

What are the options for blockquote backgrounds? #308

Closed jcesguerram closed 3 months ago

jcesguerram commented 3 months ago

Where can i find options for blockquote backgrounds?

Akifyss commented 3 months ago
image
jcesguerram commented 3 months ago

that's the only option?

Akifyss commented 3 months ago

What "only option"? Don't you need options for blockquote backgrounds?

jcesguerram commented 3 months ago

i do. and you point me to one that says 'transparent' so i'm wondering wwhat else i can put in there.

Akifyss commented 3 months ago

This is just the value I filled in personally. It is actually an input box that can fill in any css background value. Please refer to: https://developer.mozilla.org/en-US/docs/Web/CSS/background

jcesguerram commented 3 months ago

ah i see, thanks! one question, if i replaced the blockquotes section in the theme.css file with something like the following would it work?

blockquote{ display:block; background: #fff; padding: 15px 20px 15px 45px; margin: 0 0 20px; position: relative;

/Font/ font-family: Georgia, serif; font-size: 16px; line-height: 1.2; color: #666; text-align: justify;

/Borders - (Optional)/ border-left: 15px solid #c76c0c; border-right: 2px solid #c76c0c;

/Box Shadow - (Optional)/ -moz-box-shadow: 2px 2px 15px #ccc; -webkit-box-shadow: 2px 2px 15px #ccc; box-shadow: 2px 2px 15px #ccc; }

blockquote::before{ content: "\201C"; /Unicode for Left Double Quote/

/Font/ font-family: Georgia, serif; font-size: 60px; font-weight: bold; color: #999;

/Positioning/ position: absolute; left: 10px; top:5px; }

blockquote::after{ /Reset to make sure/ content: ""; }

blockquote a{ text-decoration: none; background: #eee; cursor: pointer; padding: 0 3px; color: #c76c0c; }

blockquote a:hover{ color: #666; }

blockquote em{ font-style: italic; }

(i got that from here: https://www.sliderrevolution.com/resources/css-blockquotes/)

Akifyss commented 3 months ago

I tried it. It doesn't seem to work.

jcesguerram commented 3 months ago

I tried it. It doesn't seem to work.

oh ok, well thank you very much for your help!