Update cwb_style.css

This commit is contained in:
2025-09-08 04:53:03 +08:00
committed by GitHub
parent f8847b1752
commit 3532f9f0ce

View File

@@ -202,9 +202,6 @@
}
/* --- 世界书选择列表容器样式 --- */
/* ST核心脚本 `dynamic-styles.js` 可能会尝试为此处的滚动条规则动态添加 `:focus-visible` 伪类,
* 但 `::-webkit-scrollbar-thumb` 伪元素不支持 `:focus-visible`从而导致控制台出现CSS解析错误。
* 这是一个已知的上游问题需要等待ST方面修复。此问题不影响功能仅为日志错误。*/
.cwb-scrollable-container {
max-height: 250px;
overflow-y: auto;
@@ -261,8 +258,8 @@
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 75vw;
max-width: 1100px;
width: 90vw;
max-width: 1200px;
height: 85vh;
background: var(--cwb-cyber-bg);
border: 2px solid var(--cwb-cyber-primary);
@@ -472,11 +469,12 @@
}
@media (max-width: 768px) {
.cwb-cyber-popup {
width: 90vw;
height: 85vh;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 95vw;
height: 90vh;
max-width: none;
top: 5vh;
left: 2.5vw;
transform: none;
border-radius: 8px;
}
.cwb-cyber-popup__main-content {