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 { .cwb-scrollable-container {
max-height: 250px; max-height: 250px;
overflow-y: auto; overflow-y: auto;
@@ -261,8 +258,8 @@
top: 50%; top: 50%;
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
width: 75vw; width: 90vw;
max-width: 1100px; max-width: 1200px;
height: 85vh; height: 85vh;
background: var(--cwb-cyber-bg); background: var(--cwb-cyber-bg);
border: 2px solid var(--cwb-cyber-primary); border: 2px solid var(--cwb-cyber-primary);
@@ -472,11 +469,12 @@
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.cwb-cyber-popup { .cwb-cyber-popup {
width: 90vw; width: 95vw;
height: 85vh; height: 90vh;
top: 50%; max-width: none;
left: 50%; top: 5vh;
transform: translate(-50%, -50%); left: 2.5vw;
transform: none;
border-radius: 8px; border-radius: 8px;
} }
.cwb-cyber-popup__main-content { .cwb-cyber-popup__main-content {