Aloha
This commit is contained in:
commit
f65382b12a
19 changed files with 5085 additions and 0 deletions
41
lib/heti.scss
Normal file
41
lib/heti.scss
Normal file
|
@ -0,0 +1,41 @@
|
|||
/**
|
||||
* Author: Sivan [sun.sivan@gmail.com]
|
||||
*/
|
||||
@import "variables";
|
||||
@import "base";
|
||||
@import "heading";
|
||||
@import "list";
|
||||
@import "table";
|
||||
@import "inline";
|
||||
@import "modifier-layout";
|
||||
@import "modifier-font";
|
||||
@import "helper-block";
|
||||
@import "helper-inline";
|
||||
|
||||
#{$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;
|
||||
|
||||
// 引入各模块
|
||||
@include hetiBase();
|
||||
@include hetiHeading();
|
||||
@include hetiList();
|
||||
@include hetiTable();
|
||||
@include hetiInline();
|
||||
|
||||
// 定义所有状态样式(与 .heti 并列使用)
|
||||
@include hetiLayoutModifier();
|
||||
@include hetiFontModifier();
|
||||
|
||||
// 定义所有内嵌样式(仅在 .heti 内使用有效)
|
||||
@include hetiBlockHelperClasses();
|
||||
@include hetiInlineHelperClasses();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue