|
|
发表于 2026-9-11 14:17:43
|
显示全部楼层
百分可以通过自定义样式修改这些显示。在 chrome://settings/cbCustomCss 中勾选加载自定义样式文件,然后在样式文件中添加类似下面的样式:- /* 亮色模式 */
- /* 搜索框模块背景和边框 */
- #ntp-search-container #ntp-search-box-container {
- background-color: rgba(255, 255, 255, 0.35);
- border: 1px solid rgba(255, 255, 255, 0.35);
- }
- /* 搜索框模块输入框背景 */
- #ntp-search-container #ntp-search-box-container #ntp-search-box {
- background: rgba(255, 255, 255, 0.55);
- }
- /* 条目标题背景 */
- #card-slider-frame .title {
- background-color: rgba(255, 255, 255, 0.65);
- }
- /* 深色模式 */
- /* 搜索框模块背景和边框 */
- html[darkmode='true'] #ntp-search-container #ntp-search-box-container {
- background-color: rgba(32, 33, 36, 0.25);
- border: 1px solid rgba(32, 33, 36, 0.25);
- }
- /* 搜索框模块输入框背景 */
- html[darkmode='true'] #ntp-search-container #ntp-search-box-container #ntp-search-box {
- background: rgba(32, 33, 36, 0.3);
- }
- /* 条目标题背景 */
- html[darkmode='true'] #card-slider-frame .title {
- background-color: transparent;
- }
复制代码
至于颜色或透明度可以根据需求自己调整。 |
|