style: 整体文章样式优化
This commit is contained in:
@@ -1806,6 +1806,7 @@
|
||||
.marked-markdown.theme-light .code-block-wrapper .code-block-body .line-numbers{
|
||||
@include dark-theme-div;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
1
Yi.Ai.Vue3/types/import_meta.d.ts
vendored
1
Yi.Ai.Vue3/types/import_meta.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user