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:
parent
a187986823
commit
7d56f4851c
5 changed files with 22 additions and 6 deletions
|
@ -15,7 +15,7 @@
|
|||
|
||||
ul,
|
||||
ol {
|
||||
padding-inline-start: $text-indent-length;
|
||||
padding-inline-start: $text-indent-size;
|
||||
|
||||
ul,
|
||||
ol {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 */
|
||||
// 分栏
|
||||
|
|
|
@ -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",
|
||||
"version": "0.2.0",
|
||||
"version": "0.3.0",
|
||||
"description": "赫蹏",
|
||||
"main": "index.scss",
|
||||
"directories": {
|
||||
|
|
Loading…
Reference in a new issue