2020-02-11 20:47:29 +08:00
|
|
|
/**
|
|
|
|
* Author: Sivan [sun.sivan@gmail.com]
|
|
|
|
*/
|
2020-02-18 17:01:14 +08:00
|
|
|
@import "font";
|
2020-02-11 20:47:29 +08:00
|
|
|
@import "variables";
|
|
|
|
@import "base";
|
|
|
|
@import "heading";
|
|
|
|
@import "list";
|
|
|
|
@import "table";
|
|
|
|
@import "inline";
|
2020-02-11 21:01:13 +08:00
|
|
|
@import "modifiers/font-stack";
|
|
|
|
@import "modifiers/writing-mode";
|
|
|
|
@import "modifiers/column";
|
|
|
|
@import "modifiers/ancient";
|
|
|
|
@import "modifiers/annotation";
|
|
|
|
@import "helpers/block";
|
|
|
|
@import "helpers/inline";
|
2020-02-11 20:47:29 +08:00
|
|
|
|
|
|
|
#{$root-selector} {
|
|
|
|
// 中文每行展示文字(CPL)建议在 30~50 之间,默认 42
|
|
|
|
max-width: $line-length;
|
|
|
|
|
|
|
|
// 默认字体大小为 16px,行高 1.5
|
|
|
|
font-size: $font-size-normal;
|
|
|
|
font-weight: $font-weight-normal;
|
|
|
|
line-height: $line-height-normal;
|
|
|
|
|
|
|
|
// 自动在中西文间加 1/4 空格(暂无浏览器支持)
|
|
|
|
//text-spacing: ideograph-alpha;
|
|
|
|
|
2020-02-11 21:01:13 +08:00
|
|
|
// 模块引用顺序
|
|
|
|
|
|
|
|
// 1. 引入各模块
|
|
|
|
// .heti h1, .heti p, .heti ul
|
2020-02-11 20:47:29 +08:00
|
|
|
@include hetiBase();
|
|
|
|
@include hetiHeading();
|
|
|
|
@include hetiList();
|
|
|
|
@include hetiTable();
|
|
|
|
@include hetiInline();
|
|
|
|
|
2020-02-11 21:01:13 +08:00
|
|
|
// 2. 定义所有修饰器(需与 .heti 组合使用)
|
|
|
|
// .heti--sans h1, .heti--vertical h1 etc.
|
2020-02-11 20:47:29 +08:00
|
|
|
@include hetiFontModifier();
|
2020-02-11 21:01:13 +08:00
|
|
|
@include hetiColumnModifier();
|
|
|
|
@include hetiWritingModeModifier();
|
|
|
|
@include hetiAncientModifier();
|
|
|
|
@include hetiAnnotationModifier();
|
2020-02-11 20:47:29 +08:00
|
|
|
|
2020-02-11 21:01:13 +08:00
|
|
|
// 3. 定义工具类样式(仅在 .heti 内部使用)
|
|
|
|
// .heti .heti-verse, .heti .heti-hang
|
2020-02-11 20:47:29 +08:00
|
|
|
@include hetiBlockHelperClasses();
|
|
|
|
@include hetiInlineHelperClasses();
|
|
|
|
}
|