style: 整体文章样式优化

This commit is contained in:
ccnetcore
2026-02-02 21:33:53 +08:00
parent 6988dd224f
commit 9b7d98773b
5 changed files with 24 additions and 11 deletions

View File

@@ -1806,6 +1806,7 @@
.marked-markdown.theme-light .code-block-wrapper .code-block-body .line-numbers{
@include dark-theme-div;
}
}

View File

@@ -7,6 +7,7 @@ interface ImportMetaEnv {
readonly VITE_WEB_BASE_API: string;
readonly VITE_API_URL: string;
readonly VITE_FILE_UPLOAD_API: string;
readonly VITE_BUILD_COMPRESS: string;
readonly VITE_SSO_SEVER_URL: string;
readonly VITE_APP_VERSION: string;
}

View File

@@ -7,7 +7,7 @@
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
line-height: 1.5;
color: #fff;
color: rgba(255, 255, 255, 0.9);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 16px;
line-height: 1.5;
@@ -415,6 +415,7 @@
.yi .markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
line-height: 1.7;
}
.yi .markdown-body hr {
@@ -525,8 +526,12 @@
.yi .markdown-body ul,
.yi .markdown-body ol {
padding-left: 2em;
padding-left: 0.8em;
margin-top: 1em;
}
.yi .markdown-body .nav-ul
{ list-style-type: none;}
.yi .markdown-body ul ul,
.yi .markdown-body ul ol,
@@ -641,11 +646,11 @@
.yi .markdown-body .highlight pre,
.yi .markdown-body pre {
padding: 16px;
padding: 0;
overflow: auto;
font-size: 85%;
line-height: 1.45;
/* background-color: #f6f8fa; */
background-color: #282C34;
border-radius: 3px;
}

View File

@@ -8,7 +8,6 @@
//}
::v-deep(.pre-out)
{
padding: 0;
@@ -16,7 +15,7 @@ overflow-x: hidden;
}
::v-deep(.pre) {
padding: 0;
margin-bottom: 0;
margin-bottom: 0 !important;
overflow-x: hidden;
.header {
background-color: #00DA72;

View File

@@ -147,25 +147,32 @@ width: 100%;
.edit ::v-deep(.auto-textarea-input){
/* background: none !important; */
background: #1D1E1F !important;
color: #fff !important;
color: rgba(255, 255, 255, 0.9) !important;
}
.edit ::v-deep(.content-input-wrapper)
{
background: #1D1E1F !important;
color: #fff !important;
color: rgba(255, 255, 255, 0.9) !important;
}
.edit ::v-deep(.v-note-edit)
{
background: #1D1E1F !important;
color: #fff !important;
color: rgba(255, 255, 255, 0.9) !important;
}
.edit ::v-deep(.v-note-op){
background: #1D1E1F !important;
color: #fff !important;
color: rgba(255, 255, 255, 0.9) !important;
}
.edit ::v-deep(.v-show-content){
background: #1D1E1F !important;
color: #fff !important;
color: rgba(255, 255, 255, 0.9) !important;
}
::v-deep(.v-note-show pre){
background: #282C34;
}
::v-deep(.add-image-link)
{
background: #282C34 !important;
}
</style>