Blockquote and others

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Fabien
Regular
Posts: 204
Joined: Wed Mar 15, 2006 1:02 pm
Location: Paris (France)
Contact:

Blockquote and others

Post 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
Fabien Chabreuil (blog)
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Blockquote and others

Post 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
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Fabien
Regular
Posts: 204
Joined: Wed Mar 15, 2006 1:02 pm
Location: Paris (France)
Contact:

Re: Blockquote and others

Post by Fabien »

Thank you Timbalu, but can I find somewhere how-to instructions.
Fabien Chabreuil (blog)
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Blockquote and others

Post 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.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Fabien
Regular
Posts: 204
Joined: Wed Mar 15, 2006 1:02 pm
Location: Paris (France)
Contact:

Re: Blockquote and others

Post by Fabien »

Thanks.
Fabien Chabreuil (blog)
Post Reply