feat: add heti-fn component (#3)

* feat: update code style

* feat: add fonts for Traditional Chinese

* feat: add heti-fn component
This commit is contained in:
Sivan 2020-02-18 19:59:53 +08:00 committed by GitHub
parent a187986823
commit 7d56f4851c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 6 deletions

View file

@ -15,7 +15,7 @@
ul,
ol {
padding-inline-start: $text-indent-length;
padding-inline-start: $text-indent-size;
ul,
ol {

View file

@ -14,15 +14,16 @@
margin-block-end: $std-block-unit;
margin-inline-start: auto;
margin-inline-end: auto;
word-break: break-word;
}
th,
td {
border: 1px solid #ccc;
padding-block-start: 8px;
padding-block-end: 8px;
padding-inline-start: 16px;
padding-inline-end: 16px;
padding-block-start: $std-block-unit / 4;
padding-block-end: $std-block-unit / 4;
padding-inline-start: $std-inline-unit / 2;
padding-inline-end: $std-inline-unit / 2;
}
caption {

View file

@ -74,6 +74,7 @@ $std-inline-unit: $font-size-normal !default;
// 示例缩进单位 = 二倍文字宽度
$text-indent-length: 2em !default;
$text-indent-size: $font-size-normal * 2 !default;
/* 栏 Columns */
// 分栏

View file

@ -67,4 +67,18 @@
}
}
}
/* 页脚 */
#{$root-selector}-fn {
margin-block-start: 59px;
border-block-start: 1px solid #ccc;
font-size: $font-size-small;
font-family: $font-family-hei;
line-height: $line-height-size-normal;
ol {
margin-block-start: $std-block-unit / 2;
margin-block-end: 0;
}
}
}

View file

@ -1,6 +1,6 @@
{
"name": "heti",
"version": "0.2.0",
"version": "0.3.0",
"description": "赫蹏",
"main": "index.scss",
"directories": {