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

如何修改背景透明度 #73

Open
jyeric opened this issue Mar 2, 2020 · 3 comments
Open

如何修改背景透明度 #73

jyeric opened this issue Mar 2, 2020 · 3 comments

Comments

@jyeric
Copy link

jyeric commented Mar 2, 2020

RT,背景透明度有点低,使用比较深的背景就看不清字了qwq

@jyeric
Copy link
Author

jyeric commented Mar 2, 2020

就是指的是<article></article>这个标签

@fnsflm
Copy link

fnsflm commented Jan 23, 2021

我也遇到了类似的问题, 背景颜色不浅就会影响到文章的可读性
gal/source/css/_variables.scss中定义了许多颜色的变量, 可以在此修改

$article-bg-color: rgba(230,238,232,0.5);
$sidebar-panel-bg-color: rgba(230, 238, 232, 0.5);
$search-breadcrumb-bg-color: rgba(230, 238, 232, 0.5);
$comments-list-item-bg-color: rgba(230, 238, 232, 0.5);

增加这些组件的透明度能解决该问题
对比:

@jyeric
Copy link
Author

jyeric commented Jan 29, 2021

我也遇到了类似的问题, 背景颜色不浅就会影响到文章的可读性
gal/source/css/_variables.scss中定义了许多颜色的变量, 可以在此修改

$article-bg-color: rgba(230,238,232,0.5);
$sidebar-panel-bg-color: rgba(230, 238, 232, 0.5);
$search-breadcrumb-bg-color: rgba(230, 238, 232, 0.5);
$comments-list-item-bg-color: rgba(230, 238, 232, 0.5);

增加这些组件的透明度能解决该问题
对比:

感谢 之前找了半天没有找到更改的位置

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

2 participants