diff --git a/scripts/tags/border.js b/scripts/tags/ablock.js similarity index 79% rename from scripts/tags/border.js rename to scripts/tags/ablock.js index 4e6d44e..ccf38da 100644 --- a/scripts/tags/border.js +++ b/scripts/tags/ablock.js @@ -1,15 +1,15 @@ /** - * border.js v1.0 | https://github.com/xaoxuu/hexo-theme-stellar/ + * ablock.js v1.0 | https://github.com/xaoxuu/hexo-theme-stellar/ * 格式与官方标签插件一致使用空格分隔,中括号内的是可选参数(中括号不需要写出来) * - * {% border [color:color] [child:codeblock/tabs] title %} + * {% ablock [color:color] [child:codeblock/tabs] title %} * body - * {% endborder %} + * {% endablock %} */ 'use strict'; -hexo.extend.tag.register('border', function(args, content) { +hexo.extend.tag.register('ablock', function(args, content) { args = hexo.args.map(args, ['color', 'child'], ['title']); const { title } = args; if (args.color == null) { diff --git a/source/css/_layout/tag-plugins/split.styl b/source/css/_layout/tag-plugins/split.styl index deca261..8a3e4b7 100644 --- a/source/css/_layout/tag-plugins/split.styl +++ b/source/css/_layout/tag-plugins/split.styl @@ -5,7 +5,7 @@ >.cell margin: 1rem 0 p:first-child>strong:only-child - font-size: $fs-h4 + font-size: 1rem >.cell> p line-height: 1.5