han-css
Version:
The CSS typography framework optimised for Hanzi
29 lines (25 loc) • 508 B
text/stylus
/*
* Hanzi and Western script mixed spacing (漢字西文混排間隙)
*
* More discussion at:
* https://github.com/ethantw/Han/issues/40
*/
// * 1. The value is calculated with Arial, which
// * makes the spacing display precisely in size
// * of a quarter em.
// * 2. Hidden in certain elements or situations.
// *
h-hws,
h-hws[hidden]
// box
display: inline
visibility: hidden
// typography
// 1
font: 0.89em Arial
// 2
code &,
kbd &,
samp &,
pre &
display: none