cdn change to local and use markdown and style change
This commit is contained in:
@@ -13,7 +13,39 @@
|
||||
font-size: 32px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
#chapter-list {
|
||||
/* 设置固定高度,超出范围将出现滚动 */
|
||||
max-height: 75vh;
|
||||
/* 超出高度时显示垂直滚动条 */
|
||||
overflow-y: auto;
|
||||
|
||||
/* 隐藏水平滚动条(如果不需要) */
|
||||
overflow-x: hidden;
|
||||
|
||||
/* 可选:添加一些内边距和边框增强视觉效果 */
|
||||
padding: 10px;
|
||||
border: 1px solid #e0e0e0;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* 可选:美化滚动条样式(仅WebKit浏览器有效) */
|
||||
#chapter-list::-webkit-scrollbar {
|
||||
width: 6px; /* 滚动条宽度 */
|
||||
}
|
||||
|
||||
#chapter-list::-webkit-scrollbar-track {
|
||||
background: #f1f1f1; /* 滚动条轨道背景 */
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
#chapter-list::-webkit-scrollbar-thumb {
|
||||
background: #c1c1c1; /* 滚动条滑块颜色 */
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
#chapter-list::-webkit-scrollbar-thumb:hover {
|
||||
background: #a8a8a8; /* 鼠标悬停时的滑块颜色 */
|
||||
}
|
||||
.course-cards {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
Reference in New Issue
Block a user