修复CSS语法错误和重复定义
This commit is contained in:
parent
f8a33ee051
commit
59c2e820ee
@ -156,13 +156,13 @@
|
|||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-around;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-btn {
|
.nav-btn {
|
||||||
padding: 12px 20px;
|
padding: 10px 16px;
|
||||||
background: var(--btn-bg);
|
background: var(--btn-bg);
|
||||||
border: 1px solid var(--border-color);
|
border: 1px solid var(--border-color);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
@ -172,17 +172,12 @@
|
|||||||
font-family: 'Noto Sans SC', sans-serif;
|
font-family: 'Noto Sans SC', sans-serif;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: inline-block;
|
|
||||||
text-align: center;
|
|
||||||
min-width: 60px;
|
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
appearance: none;
|
|
||||||
flex: 1;
|
|
||||||
max-width: 100px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-btn:hover { background: var(--btn-hover); transform: translateY(-2px); }
|
.nav-btn:hover { background: var(--btn-hover); }
|
||||||
.nav-btn.disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
|
.nav-btn.disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
|
||||||
|
.nav-btn.active-tts { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-color: #667eea; }
|
||||||
|
|
||||||
/* 右侧滚动按钮 */
|
/* 右侧滚动按钮 */
|
||||||
.scroll-buttons {
|
.scroll-buttons {
|
||||||
@ -305,7 +300,7 @@
|
|||||||
.toc-item:hover { color: #667eea; }
|
.toc-item:hover { color: #667eea; }
|
||||||
.toc-item.current { color: #667eea; font-weight: 600; }
|
.toc-item.current { color: #667eea; font-weight: 600; }
|
||||||
|
|
||||||
.nav-btn.active-tts {
|
/* TTS弹出面板 */
|
||||||
.tts-modal {
|
.tts-modal {
|
||||||
display: none;
|
display: none;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
@ -443,11 +438,6 @@
|
|||||||
font-family: 'Noto Sans SC', sans-serif;
|
font-family: 'Noto Sans SC', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-btn.active-tts {
|
|
||||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
||||||
border-color: #667eea;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar-title {
|
.sidebar-title {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: var(--text-secondary);
|
color: var(--text-secondary);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user