Skip to content

Instantly share code, notes, and snippets.

@coltpini
Created February 2, 2018 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coltpini/43abcf831c86b6c08ae13c0e30b43e03 to your computer and use it in GitHub Desktop.
Save coltpini/43abcf831c86b6c08ae13c0e30b43e03 to your computer and use it in GitHub Desktop.
:root {
/* ---- capitalize ------*/
--capitalize: capitalize;
/* ---- uppercase ------*/
--uppercase: uppercase;
/* ---- italic ------*/
--italic: italic;
/* ---- emphasis ------*/
--emphasis: italic;
/* ---- direction ------*/
--direction: ltr;
/* ---- list-style ------*/
--list-style: normal;
}
:lang(ara){
/* ---- font-size-root ------*/
--font-size-root: 19.2px;
/* ---- sans ------*/
--sans: Scheherazade, sans-serif;
/* ---- line-height ------*/
--line-height-400: 1.44;
--line-height: 1.68;
--line-height-500: 1.68;
--line-height-600: 1.92;
/* ---- direction ------*/
--direction: rtl;
}
:lang(mya){
/* ---- sans ------*/
--sans: Zawgyi-One, sans-serif;
}
:lang(khm){
/* ---- sans ------*/
--sans: khmer, sans-serif;
/* ---- line-height ------*/
--line-height-400: 1.44;
--line-height: 1.68;
--line-height-500: 1.68;
--line-height-600: 1.92;
/* ---- list-style ------*/
--list-style: khmer;
}
:lang(zho){
/* ---- sans ------*/
--sans: 新細明體, PMingLiU, '儷宋 Pro', 'LiSong Pro', 蘋果儷細宋, 'Apple LiSong', sans-serif;
/* ---- italic ------*/
--italic: normal;
/* ---- emphasis ------*/
--emphasis: bold;
}
:lang(zhs){
/* ---- sans ------*/
--sans: 'Heiti SC', 新細明體, PMingLiU, '儷宋 Pro', 'LiSong Pro', 蘋果儷細宋, 'Apple LiSong', 'Arial Narrow', Arial, Helvetica, sans-serif;
/* ---- italic ------*/
--italic: normal;
/* ---- emphasis ------*/
--emphasis: bold;
}
:lang(dan){
/* ---- uppercase ------*/
--uppercase: none;
}
:lang(deu){
/* ---- uppercase ------*/
--uppercase: none;
}
:lang(ell){
/* ---- uppercase ------*/
--uppercase: none;
}
:lang(hin){
/* ---- line-height ------*/
--line-height-400: 1.44;
--line-height: 1.68;
--line-height-500: 1.68;
--line-height-600: 1.92;
}
:lang(jpn){
/* ---- sans ------*/
--sans: 'ヒラギノ角ゴ Pro W3', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, 'Meiryo UI', Osaka, 'MS Pゴシック', 'MS PGothic', sans-serif;
/* ---- italic ------*/
--italic: normal;
/* ---- emphasis ------*/
--emphasis: bold;
}
:lang(kor){
/* ---- sans ------*/
--sans: 굴림, Gulim, Tahoma, 돋움, Dotum, Arial, 애플고딕, AppleGothic, 은돋움, UnDotum, sans-serif;
/* ---- italic ------*/
--italic: normal;
/* ---- emphasis ------*/
--emphasis: bold;
}
:lang(lao){
/* ---- sans ------*/
--sans: 'Saysettha OT', 'Saysettha Unicode', 'Lao UI', Dokchampa, 'Saysettha MX', 'Lao MN', 'Lao Sangam MN', sans-serif;
}
:lang(pes){
/* ---- font-size-root ------*/
--font-size-root: 19.2px;
/* ---- sans ------*/
--sans: Scheherazade, sans-serif;
/* ---- line-height ------*/
--line-height-400: 1.44;
--line-height: 1.68;
--line-height-500: 1.68;
--line-height-600: 1.92;
/* ---- direction ------*/
--direction: rtl;
/* ---- list-style ------*/
--list-style: arabic-indic;
}
:lang(tur){
/* ---- uppercase ------*/
--uppercase: none;
}
:lang(urd){
/* ---- font-size-root ------*/
--font-size-root: 19.2px;
/* ---- sans ------*/
--sans: Scheherazade, sans-serif;
/* ---- line-height ------*/
--line-height-400: 1.44;
--line-height: 1.68;
--line-height-500: 1.68;
--line-height-600: 1.92;
/* ---- direction ------*/
--direction: rtl;
/* ---- list-style ------*/
--list-style: arabic-indic;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment