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

调整首页的显示和添加自动白/夜模式开关 #1

Open
aaro-n opened this issue Mar 2, 2024 · 0 comments
Open

调整首页的显示和添加自动白/夜模式开关 #1

aaro-n opened this issue Mar 2, 2024 · 0 comments

Comments

@aaro-n
Copy link

aaro-n commented Mar 2, 2024

系统介绍

sonic 版本:1.1.4,docker
数据库版本:TiDB,MySQL 5.7.28-TiDB-v7.1.1-serverless
主题版本:跟随仓库

调整首页显示

问题

PaperMod 主题的home info title:home info content, support HTML:为空时,首页显示空白过大,希望能添加显示home info title:home info content, support HTML:项开关。注意,home info title:home info content, support HTML:项里边是空格。

图片

截屏2024-03-02 09 33 45 后台配置 截屏2024-03-02 09 34 14 PC 显示截图 截屏2024-03-02 09 35 00 模拟手机端显示

想法

希望能像RSS那样配置home info title:home info content, support HTML:是否显示,并且当关闭显示后,减少首页空白面积。

添加自动白/夜模式开关

问题

现在主题会随浏览器白/夜模式而进行变化,但当手动切换白/夜模式后,自动切换白/夜模式功能消失,必须清除网站网站cookie。

想法

可以在白/夜切换按钮旁添加添加“自动切换白/夜按钮”。注意,“自动切换白/夜按钮”应隐藏在“手动切换”按钮旁,当点击或指向这个按钮时再展开“自动切换白/夜按钮”,并且“自动切换白/夜按钮”默认自动,当点击白/夜切换按钮“自动切换白/夜按钮”关闭,直至手动打开“自动切换白/夜按钮”。

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

1 participant