如何更改jekyll中的标题标题大小。主题?
我想在“ Time Machine”主题中更改标题标题太大的字体大小,但正在努力寻找正确的CSS部分。
我集成到我的GitHub存储库中的四个SCSS文件是(建议):
jekyll-theme-time-machine.scss
normalize.scss
rouge-base16-dark.scss
time-machine.scss
不幸的是,在搜索“标题”或“ header”时,我找不到标题字体大小的设置。谁能帮忙?
I would like to change the much too big font size of my header title in the "Time Machine" theme but am struggling to find the right (S)CSS section.
The four scss files I have integrated into my GitHub repository are (as recommended):
jekyll-theme-time-machine.scss
normalize.scss
rouge-base16-dark.scss
time-machine.scss
Unfortunately, I could not find any setting for title font size when searching for "title" or "header". Can anyone help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在时间机器Jekyll主题源代码中,您可以在
time-machine/_sass/jekyll-theme-theme-time-machine.scss.scss
中找到标题样式。这是标题样式的直接链接: https://github.com/pages-themes/time-machine/blob/3058bb3387eddf03eccad3f2397bc82766666f52e8/
In the Time Machine Jekyll theme source code, you can find the title styling in
time-machine/_sass/jekyll-theme-time-machine.scss
.Here is a direct link to the styling for the title: https://github.com/pages-themes/time-machine/blob/3058bb3387eddf03eccad3ff2397bc82766f52e8/_sass/jekyll-theme-time-machine.scss#L28-L35
标题大小未在
scss
文件中定义,而是default.html
file in _layouts中的文件:这意味着将标题从
< h1> 到
< h2>
标题使字体较小。The header size is not defined in the
scss
files but in thedefault.html
file in _layouts:This means that changing the headline from
<h1>
to a<h2>
headline makes the font smaller.