Created
July 10, 2012 02:03
-
-
Save nilshendriks/3080521 to your computer and use it in GitHub Desktop.
Language quote characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blockquote, q { | |
quotes: none; | |
} | |
q:before, blockquote:before { | |
content: open-quote; | |
} | |
blockquote:before { | |
margin-left: -0.5em; | |
} | |
q:after, blockquote:after { | |
content: close-quote; | |
} | |
/* Specify pairs of quotes for two levels in multiple languages */ | |
q, blockquote { quotes: '“\2009' '\2009”' "‘\2009" "\2009’" } | |
q:lang(en), blockquote:lang(en) { quotes: '“\2009' '\2009”' "‘\2009" "\2009’" } | |
q:lang(de), blockquote:lang(de) { quotes: "„\2009" "\2009“" '‚\2009' '\2009‘' } | |
q:lang(fr), blockquote:lang(fr) { quotes: "«\2009" "\2009»" '‹\2009' '\2009›' } | |
q:lang(nl), blockquote:lang(nl) { quotes: '“\2009' '\2009”' "‘\2009" "\2009’" } | |
q:lang(hu), blockquote:lang(hu) { quotes: "„\2009" "\2009“" '»\2009' '\2009«' } | |
q:lang(jp), blockquote:lang(jp) { quotes: "「\2009" "\2009」" '『\2009' '\2009』' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment