Commit 0a06ed2d authored by Liang Ding's avatar Liang Ding

Merge remote-tracking branch 'origin/dev' into dev

parents fa8715a7 799def7e
...@@ -8664,9 +8664,9 @@ ...@@ -8664,9 +8664,9 @@
} }
}, },
"vcmt": { "vcmt": {
"version": "1.1.2", "version": "1.1.3",
"resolved": "https://registry.npm.taobao.org/vcmt/download/vcmt-1.1.2.tgz?cache=0&sync_timestamp=1583413738864&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvcmt%2Fdownload%2Fvcmt-1.1.2.tgz", "resolved": "https://registry.npmjs.org/vcmt/-/vcmt-1.1.3.tgz",
"integrity": "sha1-ZCQHMHI2qwppT7BaR8ypgqkD5HQ=", "integrity": "sha512-4Mk4OKFaRSHEsNkynq4S8mgtFBfcmtogNVhaJ0DNEb4Z9XQxdMNQyzCiSAwgaxhz66p1j71XI96EAcAThg2Mow==",
"requires": { "requires": {
"jquery": "^3.4.1" "jquery": "^3.4.1"
} }
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
"jquery": "^3.4.1", "jquery": "^3.4.1",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"uvstat": "^1.0.7", "uvstat": "^1.0.7",
"vcmt": "^1.1.2", "vcmt": "^1.1.3",
"vditor": "^3.0.0" "vditor": "^3.0.0"
} }
} }
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
${article.articleTitle} ${article.articleTitle}
</a> </a>
</h2> </h2>
<div class="vditor-reset vditor-reset--dark"> <div class="vditor-reset">
${article.articleAbstractText} ${article.articleAbstractText}
</div> </div>
<div data-ico="&#x003b;" title="${tagLabel}" class="article-tags"> <div data-ico="&#x003b;" title="${tagLabel}" class="article-tags">
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
</div> </div>
<div class="fn-clear"> <div class="fn-clear">
<div class="main"> <div class="main">
<div class="vditor-reset vditor-reset--dark"> <div class="vditor-reset">
${article.articleContent} ${article.articleContent}
<#if "" != article.articleSign.signHTML?trim> <#if "" != article.articleSign.signHTML?trim>
${article.articleSign.signHTML} ${article.articleSign.signHTML}
......
...@@ -43,6 +43,6 @@ ...@@ -43,6 +43,6 @@
${comment.commentDate2?string("yy-MM-dd HH:mm")} ${comment.commentDate2?string("yy-MM-dd HH:mm")}
</div> </div>
</div> </div>
<div class="vditor-reset vditor-reset--dark">${comment.commentContent}</div> <div class="vditor-reset">${comment.commentContent}</div>
</div> </div>
</div> </div>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* skin metro-hot style * skin metro-hot style
* *
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a> * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 2.3.0.1, Feb 9, 2020 * @version 2.3.1.0, Mar 19, 2020
*/ */
@import "../../../scss/toc"; @import "../../../scss/toc";
@import "../../../scss/usite"; @import "../../../scss/usite";
...@@ -61,7 +61,7 @@ html { ...@@ -61,7 +61,7 @@ html {
} }
body { body {
font-family: Verdana, arial, '\5fae\8f6f\96c5\9ed1'; font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
font-size: 12px; font-size: 12px;
background-color: #292929; background-color: #292929;
margin: 0; margin: 0;
...@@ -575,7 +575,7 @@ textarea { ...@@ -575,7 +575,7 @@ textarea {
width: 60px; width: 60px;
} }
.online-count{ .online-count {
background-color: #20608E; background-color: #20608E;
} }
...@@ -751,6 +751,21 @@ textarea { ...@@ -751,6 +751,21 @@ textarea {
word-break: break-all; word-break: break-all;
font-size: 14px; font-size: 14px;
word-wrap: break-word; word-wrap: break-word;
--border-color: #141414;
--second-color: hsla(0, 0%, 72.5%, 0.36);
--panel-background-color: #24292e;
--toolbar-background-color: #1d2125;
--toolbar-icon-color: #b9b9b9;
--toolbar-icon-hover-color: #fff;
--textarea-background-color: #2f363d;
--textarea-text-color: #d1d5da;
--resize-icon-color: var(--border-color);
--resize-background-color: var(--second-color);
--resize-hover-icon-color: var(--toolbar-icon-hover-color);
--resize-hover-background-color: hsla(0, 0%, 72.5%, 0.86);
--code-background-color: rgba(66, 133, 244, 0.36);
--heading-border-color: var(--textarea-text-color);
--blockquote-color: var(--toolbar-icon-color);
&::-webkit-scrollbar { &::-webkit-scrollbar {
display: none; display: none;
...@@ -770,6 +785,8 @@ pre.prettyprint { ...@@ -770,6 +785,8 @@ pre.prettyprint {
/* start comment */ /* start comment */
#vcomment { #vcomment {
margin-bottom: 20px;
.vcomment { .vcomment {
&__item { &__item {
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
</#if> </#if>
<#if article?? && article.articleToC?? && article.articleToC?size &gt; 0> <#if article?? && article.articleToC?? && article.articleToC?size &gt; 0>
<div class="vditor-reset vditor-reset--dark" style="margin-top: 20px"> <div class="vditor-reset" style="margin-top: 20px">
<#include "../../common-template/toc.ftl"/> <#include "../../common-template/toc.ftl"/>
</div> </div>
</#if> </#if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment