feat: add heti-fn component
This commit is contained in:
parent
81c615db4d
commit
52780d6670
5 changed files with 22 additions and 6 deletions
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
ul,
|
ul,
|
||||||
ol {
|
ol {
|
||||||
padding-inline-start: $text-indent-length;
|
padding-inline-start: $text-indent-size;
|
||||||
|
|
||||||
ul,
|
ul,
|
||||||
ol {
|
ol {
|
||||||
|
|
|
@ -14,15 +14,16 @@
|
||||||
margin-block-end: $std-block-unit;
|
margin-block-end: $std-block-unit;
|
||||||
margin-inline-start: auto;
|
margin-inline-start: auto;
|
||||||
margin-inline-end: auto;
|
margin-inline-end: auto;
|
||||||
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
th,
|
th,
|
||||||
td {
|
td {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
padding-block-start: 8px;
|
padding-block-start: $std-block-unit / 4;
|
||||||
padding-block-end: 8px;
|
padding-block-end: $std-block-unit / 4;
|
||||||
padding-inline-start: 16px;
|
padding-inline-start: $std-inline-unit / 2;
|
||||||
padding-inline-end: 16px;
|
padding-inline-end: $std-inline-unit / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
caption {
|
caption {
|
||||||
|
|
|
@ -74,6 +74,7 @@ $std-inline-unit: $font-size-normal !default;
|
||||||
|
|
||||||
// 示例:缩进单位 = 二倍文字宽度
|
// 示例:缩进单位 = 二倍文字宽度
|
||||||
$text-indent-length: 2em !default;
|
$text-indent-length: 2em !default;
|
||||||
|
$text-indent-size: $font-size-normal * 2 !default;
|
||||||
|
|
||||||
/* 栏 Columns */
|
/* 栏 Columns */
|
||||||
// 分栏
|
// 分栏
|
||||||
|
|
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "heti",
|
"name": "heti",
|
||||||
"version": "0.2.0",
|
"version": "0.3.0",
|
||||||
"description": "赫蹏",
|
"description": "赫蹏",
|
||||||
"main": "index.scss",
|
"main": "index.scss",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
|
Loading…
Reference in a new issue