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

dark mode& back to top button& Aplayer #46

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Matt-wzy
Copy link

@Matt-wzy Matt-wzy commented Jan 3, 2023

1.add dark mode with auto detect
2.add a back to top button @sulibo
3.link jump to the next page rather than inside the current page 4.add hitokoto at the bottom of the website
5.add Aplayer and meeting js
6.upgrade open color to version 1.9.1

2.add a back to top button @sulibo
3.link jump to the next page rather than inside the current page
4.add hitokoto at the bottom of the website
5.add Aplayer and meeting js
6.upgrade open color to version 1.9.1
@Matt-wzy
Copy link
Author

第三个链接跳转可能我英语太差没说明白,就如果在链接中[](url “out”)这样标识之后,就会新页面打开而非本页面跳转,这样子的话看完新页面关了之后还能找到原来的博客。
还有就是我不太会操作,其实这个pr只是想更新第一个commit,第二个是后来为了适配我仓库名字和原来fork的不一样产生的问题,但是不知道为什么就跟过来了。

@Matt-wzy
Copy link
Author

关于黑暗模式,我的实现方式是html body class选择器实现的,默认dark,首次加载页面js检测到用户日间模式自动取消dark的class,同时添加了按钮支持用户在暗色模式与日间模式切换,借用了 @sulibo的按钮,只不过这个太阳月亮图片可能找的不好(不过是在免版权网站找的),SVM图也不会玩,显示起来稍微有点怪怪的。按钮也没做自动消失处理,因为不知道怎么做合适,就暂时先这样了。

@Matt-wzy Matt-wzy mentioned this pull request Jan 15, 2023
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

Successfully merging this pull request may close these issues.

1 participant