Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望可以自定义顶部的背景图片 #11

Open
hijoke opened this issue Jul 20, 2020 · 4 comments
Open

希望可以自定义顶部的背景图片 #11

hijoke opened this issue Jul 20, 2020 · 4 comments

Comments

@hijoke
Copy link

hijoke commented Jul 20, 2020

No description provided.

@dora-admin001
Copy link

额,我在这里给个思路。
--------注意事项-‐----------
首先你要知道css的语言,看不懂的请自行谷歌。
我相信玩github的基本编程语言应该会。
‐----‐正式授人以渔--‐----
首先,请fork一份该项目。
然后,打开index.js,在186行会看到"...gh/sleepwood/[email protected]/style.css"
修改成自己的地址"gh/你的github名字/fork项目名字@版本/style.css.
然后打开你项目的style.css.
寻找#head, 就可以修改了。
(如何改请参考css语言)

有个缺点,
如果你找的图片太大,
不止影响网页打开速度,也打开不完全。
好像是1300x300-400 就还行。

github版本号很重要,
修改style.css之后请发布最新的版本并在index.js做出修改。
也别忘了打开cf的开发模式,这样你就可以马上知道你部署对不对了。

@dora-admin001
Copy link

SmartSelect_20200726-165359_Firefox
结果就是长这样的

@ugokin
Copy link

ugokin commented Sep 16, 2020

SmartSelect_20200726-165359_Firefox
结果就是长这样的

你好,能请教下css代码怎么改吗

@HiderX
Copy link

HiderX commented Apr 24, 2022

emm,改css还是很容易的吧,找到workers代码里引用的css 链接 换成自己的,然后再github项目里css文件下修改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants