原cactus主题疏于维护,自行魔改部分内容 下文是一些技术备忘。
-
字体:霞鹜文楷阅读版
- 修改
themes/cactus/_config.yml
中的cdn部分 - 修改
themes/cactus/layout/_partial/styles.ejs
以导入该CSS - 修改
themes/cactus/source/css/_variables.styl
中的font-family
- 修改
-
文本大小:详见
themes/cactus/source/css/style.styl
themes/cactus/source/css/_extend.styl
-
修复了issue: Post page navigation disappears when scrolling down
- var topDistance = menu.offset().top; + var topDistance = document.documentElement.scrollTop;