diff --git a/lib/_list.scss b/lib/_list.scss index 70c88df..5a4ee6e 100644 --- a/lib/_list.scss +++ b/lib/_list.scss @@ -15,7 +15,7 @@ ul, ol { - padding-inline-start: $text-indent-length; + padding-inline-start: $text-indent-size; ul, ol { diff --git a/lib/_table.scss b/lib/_table.scss index 4f59cd6..1cc642f 100644 --- a/lib/_table.scss +++ b/lib/_table.scss @@ -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 { diff --git a/lib/_variables.scss b/lib/_variables.scss index aeea02a..a4a56fd 100644 --- a/lib/_variables.scss +++ b/lib/_variables.scss @@ -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 */ // 分栏 diff --git a/lib/helpers/_block.scss b/lib/helpers/_block.scss index 2eee34f..17653e8 100644 --- a/lib/helpers/_block.scss +++ b/lib/helpers/_block.scss @@ -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; + } + } } diff --git a/package.json b/package.json index 4767cdd..a4fa890 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "heti", - "version": "0.2.0", + "version": "0.3.0", "description": "赫蹏", "main": "index.scss", "directories": {