Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
总览
该修改涉及以下方面:
autoInsertCss
选项的设置分述
导航栏 Logo
在顶部导航栏
div.navbar-brand
内文字前添加了一个<img>
标签。效果
关于“单位自带”
因各种设备拥有繁复的各种 dpi、屏幕尺寸与比例,Logo 图片的大小不好以非相对单位
px
把握,本人使用rem
单位配置 Logo 图片。而考虑到px
以及其他单位确有用处,且主题用户大多未接触过rem
单位,因此,依我拙见,此处单位应自带。关于 CSS
在 CSS 中直接用 Stylus 变量而不是 CSS 自带的
var()
是受本人技术所限,无法寻找到定义 CSS 变量的文件,因而直接采用 Stylus 变量。而
标签.类名
的选择器形式仅个人习惯,在 pr 时实无兴趣重新更改提交。见谅。
关于 autoInsertCss
使 Typed.js 不自动插入 CSS 代码后,即可使光标不闪烁。
经本人测试,不会对采用 Fluid 的页面产生任何 除光标不闪烁外 的效果。
Demo
以上二修改项的效果均可在 [我的博客]([备用链接]) 看到。
(因为错误提交了 merge 到
master
的请求,重新提交了一遍)辛苦了。