feat: add heti-fn component

This commit is contained in:
Sivan 2020-02-18 19:51:44 +08:00
parent 81c615db4d
commit 52780d6670
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": {