Page 1 of 1

Blockquote and others

Posted: Sun May 08, 2016 5:20 pm
by Fabien
Hi,

I have at the same time upgraded my blog from 2.0 to 2.0.3 and swithced to 2k11 template.

Since this transformation, I can see changes in the displays of the entries, hyphenation for example.

Some of these changes are good for me, others are not. For example when I use the blockquote tag, the character " is added at the beginning and at the end of the text and I don't wish this to happen : if i want to add a " and I don't always want, I can do it and since I write in French, I don't put a " but a « followed by a space.

How can I switch these automatic changes off?

Thanks,
Fabien

Re: Blockquote and others

Posted: Sun May 08, 2016 5:46 pm
by Timbalu
There is a block of quoting styles in the style.css, starting from here:
https://github.com/s9y/Serendipity/blob ... e.css#L134 until lines 158 or 169.
You can disable or overwrite them (in the user.css for example) with your personal site preferences or extend them with your own french quotes, a la ":lang(fr)", in example:

Code: Select all

:lang(fr) q { quotes: '\00BB' '\00AB' '\203A' '\2039'; } /*:lang(fr) q { quotes: '»' '«' '›' '‹'; }*/
... etc

Re: Blockquote and others

Posted: Sun May 08, 2016 5:57 pm
by Fabien
Thank you Timbalu, but can I find somewhere how-to instructions.

Re: Blockquote and others

Posted: Sun May 08, 2016 6:20 pm
by Timbalu
Is that a question?
Some links to start with are
https://developer.mozilla.org/fr/docs/Web/CSS/quotes
http://webdesign.tutsplus.com/articles/ ... sign-16905
http://monc.se/kitchen/129/rendering-quotes-with-css
else you may simply google CSS quotes and will find quite a few pages.

Re: Blockquote and others

Posted: Sun May 08, 2016 6:20 pm
by Fabien
Thanks.