hexo-theme-next icon indicating copy to clipboard operation
hexo-theme-next copied to clipboard

没有custom.styl文件

Open ning2510 opened this issue 7 years ago • 19 comments

I agree and want to create new issue


Expected behavior

想更改页面背景

Actual behavior

themes\next\source\css这个路径中没有 _custom文件夹和custom.styl文件

Steps to reproduce the behavior

无

  • Link to demo site with this issue: 无
  • Link(s) to source code or any usefull link(s): 无

Node.js and NPM Information

Noje.ds: 10.16.3

Package dependencies Information

不太清楚

Hexo Information

Hexo version

v3.9.0 

Hexo Configuration

不太清楚

NexT Information

NexT Version:

  • [ ] Latest Master branch
  • [x] Latest Release version
  • [ ] Old version

NexT Scheme:

  • [ ] All schemes
  • [ ] Muse
  • [ ] Mist
  • [ ] Pisces
  • [x] Gemini

NexT Configuration:

# Schemes
#scheme: Muse
#scheme: Mist
#scheme: Pisces
scheme: Gemini

# Automatically excerpt (Not recommend).
# Use <!-- more --> in the post to control excerpt accurately.
auto_excerpt:
  enable: true
  length: 10

Other Information

themes\next\source\css这个路径中没有 _custom文件夹和custom.styl文件

ning2510 avatar Sep 09 '19 11:09 ning2510

Thanks for opening this issue, maintainers will get back to you as soon as possible!

welcome[bot] avatar Sep 09 '19 11:09 welcome[bot]

Issue-Label Bot is automatically applying the label Feature Request to this issue, with a confidence of 0.78. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Sep 09 '19 11:09 issue-label-bot[bot]

[ x] I have searched for current issues which does not help me.

https://github.com/theme-next/hexo-theme-next/issues/1010 #982

stevenjoezhang avatar Sep 09 '19 12:09 stevenjoezhang

谢谢,背景图片会换了 怎么才能把文字外面的框变得透明一点呢,在网上查了好像是不透明度 还请大佬教我 谢谢

ning2510 avatar Sep 09 '19 15:09 ning2510

能具体说一下是哪种框吗?对应的CSS关键词是opacity

stevenjoezhang avatar Sep 09 '19 15:09 stevenjoezhang

https://www.jianshu.com/p/30bf702f533c 在这个网站看到的效果,就是白色框内是透明的那种

简书
欢迎移步到这里浏览 如果觉得next的空白主题看腻了或者太多人用觉得不够个性化,那么不妨试试自动更新背景图片。 实现的原理 图片来源 自动更换背景的实现是修改添加背景的css样式实现。图片来源是...

ning2510 avatar Sep 09 '19 15:09 ning2510

又在网上查了查,大概就是文字背景透明化 原来也是在这里的theme/next/source/css/_custom/custom.styl 现在没有这个了,蒟蒻表示有点懵,不会换了.

ning2510 avatar Sep 09 '19 15:09 ning2510

这个也是类似的:https://github.com/theme-next/hexo-theme-next/issues/973#issuecomment-511168511 把

.main-inner { 
    margin-top: 60px;
    padding: 60px 60px 60px 60px;
    background: #fff;
    opacity: 0.8;
    min-height: 500px;
}

放进source/_data/styles.styl文件中即可

stevenjoezhang avatar Sep 09 '19 15:09 stevenjoezhang

也就是说就是之前要更改theme/next/source/css/_custom/custom.styl这个路径的文件 现在的话只需要在source/_data/styles.styl这个路径的文件添加即可,请问是这个意思吗?

ning2510 avatar Sep 09 '19 15:09 ning2510

是的,没错,具体看这个:https://github.com/theme-next/hexo-theme-next/issues/973#issuecomment-511168511

stevenjoezhang avatar Sep 09 '19 15:09 stevenjoezhang

可以加一下telegram群,交流更方便:https://t.me/theme_next_chinese

Telegram
一款风格优雅的高质量 Hexo 主题

stevenjoezhang avatar Sep 09 '19 15:09 stevenjoezhang

这个网站我进不去呀...

ning2510 avatar Sep 09 '19 16:09 ning2510

非常感谢 之前我也是不会换背景图片的,就是看了您给我发的链接才学会的 再次感谢

ning2510 avatar Sep 09 '19 16:09 ning2510

这个需要魔法上网(

stevenjoezhang avatar Sep 09 '19 16:09 stevenjoezhang

不客气,有其他问题的话欢迎新开Issue讨论

stevenjoezhang avatar Sep 09 '19 16:09 stevenjoezhang

我也是刚接触这方面,实在不好意思 我太多东西不懂,也不明白您说的这个是什么意思...

ning2510 avatar Sep 09 '19 16:09 ning2510

好的, 再次感谢

ning2510 avatar Sep 09 '19 16:09 ning2510

不好意思,我刚又遇到一个问题,还是白色框的问题 https://ning2510.github.io/ 这是我的博客,还请您进去看一下 那个白色的框框挡住了 Home 和 Archives 两个按钮 还请您看一下 我学习断电,电脑也没电了,估计明天才能回复您,还请见谅

凉生
Just do it.

ning2510 avatar Sep 09 '19 16:09 ning2510

更新说明加到这里了,欢迎关注:https://github.com/theme-next/hexo-theme-next/issues/1217

stevenjoezhang avatar Oct 16 '19 11:10 stevenjoezhang