This commit is contained in:
HuangHai
2026-01-21 10:10:30 +08:00
parent 0f4435b51c
commit 9f483c0643
2 changed files with 117 additions and 103 deletions

View File

@@ -164,39 +164,53 @@
<script src="js/element-plus.zh-cn.min.js"></script>
<script src="js/axios.min.js"></script>
<!-- Markdown & LaTeX Support -->
<link rel="stylesheet" href="https://unpkg.com/github-markdown-css@5.5.1/github-markdown-dark.css">
<link rel="stylesheet" href="https://unpkg.com/katex@0.16.9/dist/katex.min.css">
<script src="https://unpkg.com/katex@0.16.9/dist/katex.min.js"></script>
<script src="https://unpkg.com/marked@12.0.0/lib/marked.umd.js"></script>
<link rel="stylesheet" href="https://gcore.jsdelivr.net/npm/github-markdown-css@5.5.1/github-markdown-dark.css">
<link rel="stylesheet" href="https://gcore.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css">
<script src="https://gcore.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js"></script>
<script src="https://gcore.jsdelivr.net/npm/marked/marked.min.js"></script>
<style>
/* 适配对话框中的 Markdown 样式 */
.markdown-body {
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
margin: 0 auto;
padding: 15px;
background-color: transparent !important;
padding: 24px;
background-color: #0f172a !important;
color: #cbd5e1 !important;
font-size: 16px;
line-height: 1.6;
}
/* 深度覆盖:确保列表和加粗在任何情况下都可见 */
.markdown-body ul {
list-style-type: disc !important;
padding-left: 2em !important;
margin-top: 0.5em !important;
margin-bottom: 0.5em !important;
}
.markdown-body li {
display: list-item !important;
margin-bottom: 0.25em !important;
}
.markdown-body strong {
font-weight: bold !important;
color: #f1f5f9 !important;
}
.markdown-body p {
margin-bottom: 1em !important;
}
.el-dialog {
background-color: #1e293b !important;
border: 1px solid #334155;
border-radius: 12px;
}
.el-dialog__title {
color: #f1f5f9 !important;
}
.el-dialog__body {
color: #cbd5e1 !important;
}
.cursor-blink {
color: #3b82f6;
font-weight: bold;
animation: blink 1s step-end infinite;
}
@keyframes blink {
from, to { opacity: 1; }
50% { opacity: 0; }
background-color: #0f172a !important;
padding: 0 !important;
}
</style>
<script src="js/douyin.js"></script>