简体   繁体   English

如何更改 header 字体大小并删除 Jekyll minima 主题中的页脚?

[英]How to change the header font size and remove the footer in Jekyll minima theme?

I would like to use Jekyll's minima theme but would like to:我想使用 Jekyll 的 minima 主题,但想:

  1. Increase the size of the header (it will occupy a somewhat bigger fraction of the screen).增加 header 的大小(它将占据屏幕更大的部分)。 I would also like to remove the line that separates the header from the rest.我还想删除将 header 与 rest 分开的线。

  2. Remove the footer删除页脚

How can I do that?我怎样才能做到这一点?

Use a file assets/main.scss with the following content:使用具有以下内容的文件assets/main.scss

---
---

@import "{{ site.theme }}";
.site-title {font-size: 50px;}
.site-header {border: none;}
.site-footer {display: none;}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM