Blockquote and others

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

Blockquote and others

Post by Fabien » Sun May 08, 2016 5:20 pm

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)

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Blockquote and others

Post by Timbalu » Sun May 08, 2016 5:46 pm

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

User avatar
Fabien
Regular
Posts: 172
Joined: Wed Mar 15, 2006 2:02 pm
Location: Paris (France)
Contact:

Re: Blockquote and others

Post by Fabien » Sun May 08, 2016 5:57 pm

Thank you Timbalu, but can I find somewhere how-to instructions.
Fabien Chabreuil (blog)

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Blockquote and others

Post by Timbalu » Sun May 08, 2016 6:20 pm

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

User avatar
Fabien
Regular
Posts: 172
Joined: Wed Mar 15, 2006 2:02 pm
Location: Paris (France)
Contact:

Re: Blockquote and others

Post by Fabien » Sun May 08, 2016 6:20 pm

Thanks.
Fabien Chabreuil (blog)

Post Reply