自定义NexT.Pisces主题

本文目的:对NexT主题修改的记录


代码高亮样式:在/next/_config.yml文件里

1
highlight_theme: night eighties

增大logo字体:在/next/_config.yml文件里

1
2
logo下面
size:16

增大正文和代码字体: 在/source/css/_variables/custom.styl内增加:

1
2
3
4
// 正文字体的大小
$font-size-base = 18px
// 代码字体的大小
$code-font-size = 15px

增大菜单字体,在/next/source/css/_common/components/header/menu.styl里面修改a {

1
font-size: 16px;
1
text-shadow:#fff 1px 1px 0px;

更改主题颜色,在/source/css/_variables/base.styl

1
$black-deep = #061e0d

修改背景图片,在/next/source/css/_schemes/Pisces/index.styl里修改body{}如下:

1
body { background: url(/images/owl-forest.png); background-repeat:no-repeat; background-position:50% 50%; background-attachment:fixed; }