feat: 新增发布主题页面及编辑器功能

refactor(css): 优化详情页样式并移除冗余代码
feat(js): 实现发布主题的编辑器功能及图片/视频上传
docs: 添加编辑器样式文件及发布页面HTML结构
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-12-11 19:11:43 +08:00
parent 6ce06b133a
commit 620d21dd5d
12 changed files with 26127 additions and 36 deletions

View File

@@ -155,22 +155,15 @@
#details .matter .matter-left .html {
padding: 0 30px;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-size: 15px;
font-size: 18px;
color: #555555;
line-height: 26px;
margin-bottom: 66px;
}
#details .matter .matter-left .html * {
background: transparent !important;
color: #555555 !important;
}
#details .matter .matter-left .html a {
text-decoration: underline;
color: #04b0d5 !important;
}
#details .matter .matter-left .html a * {
color: #04b0d5 !important;
}
#details .matter .matter-left .html .blue {
font-size: 15px;
line-height: 26px;
@@ -192,9 +185,11 @@
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
color: #000000 !important;
font-size: 18px;
line-height: 30px;
}
#details .matter .matter-left .html p {
margin: 15px 0;
}
#details .matter .matter-left .last-time {
color: #aaaaaa;
font-size: 13px;

View File

@@ -182,23 +182,24 @@
.html {
padding: 0 30px;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-size: 15px;
// font-size: 15px;
font-size: 18px;
color: #555555;
line-height: 26px;
margin-bottom: 66px;
* {
background: transparent !important;
color: #555555 !important;
}
// * {
// background: transparent !important;
// // color: #555555 !important;
// }
a {
text-decoration: underline;
color: #04b0d5 !important;
* {
color: #04b0d5 !important;
}
// * {
// color: #04b0d5 !important;
// }
}
.blue {
@@ -225,9 +226,13 @@
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
color: #000000 !important;
font-size: 18px;
// font-size: 18px;
line-height: 30px;
}
p {
margin: 15px 0;
}
}
.last-time {
@@ -1635,7 +1640,7 @@
overflow: auto;
border: none;
padding-top: 15px;
&::after {
display: none;
}

27
css/editorStyle.css Normal file

File diff suppressed because one or more lines are too long

24
css/index1.css Normal file

File diff suppressed because one or more lines are too long

1230
css/katex.css Normal file

File diff suppressed because it is too large Load Diff

2
css/normalize.min.css vendored Normal file
View File

@@ -0,0 +1,2 @@
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
/*# sourceMappingURL=normalize.min.css.map */

1
css/textbus.min.css vendored Normal file

File diff suppressed because one or more lines are too long