Created
October 11, 2017 13:24
-
-
Save lucasdinonolte/c55a75133a5bc74b30a0004d6e6ae7e8 to your computer and use it in GitHub Desktop.
Language specific quotation marks
This file contains 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
// Wrap the quotes | |
// in language specific | |
// quotation marks if a | |
// language is specified | |
// --------------------- | |
// German Quotes | |
.c-quote--german &, | |
html:lang(de) & | |
&::before | |
content: '„' | |
&::after | |
content: '“' | |
// English and Portuguese Quotes | |
.c-quote--english &, | |
html:lang(en) &, | |
html:lang(en-us) &, | |
html:lang(en-uk) &, | |
html:lang(en-ca) &, | |
.c-quote--portuguese &, | |
html:lang(pt) &, | |
html:lang(pt-br) & | |
&::before | |
content: '“' | |
&::after | |
content: '”' | |
// French, Italian and Spanish Quotes | |
.c-quote--french &, | |
html:lang(fr) &, | |
.c-quote--italian &, | |
html:lang(it) &, | |
.c-quote--spanish &, | |
html:lang(es) & | |
&::before | |
content: '«' | |
&::after | |
content: '»' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment