From 81a57c9cdb1ad4d9ee92f5d82534946ec70aa89d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Thu, 1 Aug 2019 08:54:55 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=A4=9A=E7=A9=BA?= =?UTF-8?q?=E6=A0=BC=E9=80=A0=E6=88=90=E7=9A=84=E5=BD=B1=E5=93=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/App.css | 114 +++++++++++++++++++-------------------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/public/react/src/App.css b/public/react/src/App.css index 9d06bfc94..3f78ea26e 100644 --- a/public/react/src/App.css +++ b/public/react/src/App.css @@ -1,57 +1,57 @@ -.App { - text-align: center; -} - -.App-logo { - animation: App-logo-spin infinite 20s linear; - height: 80px; -} - -.App-header { - background-color: #222; - height: 150px; - padding: 20px; - color: white; -} - -.App-title { - font-size: 1.5em; -} - -.App-intro { - font-size: large; -} - -@keyframes App-logo-spin { - from { transform: rotate(0deg); } - to { transform: rotate(360deg); } -} - - - -/* 控制md编辑器列行的宽度 - 见 codermirror maybeUpdateLineNumberWidth方法 -*/ -.editormd .CodeMirror-linenumbers { - padding: 0; -} -.editormd-html-preview hr, .editormd-preview-container hr { - /* 颜色加深 */ - border-top: 1px solid #ccc; -} - -/* 重置掉antd的一些样式 */ -html, body { - -webkit-font-smoothing: auto !important; -} - -.ant-progress-textyes { - color: #52c41a; -} -.ant-progress-textno{ - color: #f5222d; -} -/* md多空格 */ -.markdown-body { - white-space: pre; -} \ No newline at end of file +.App { + text-align: center; +} + +.App-logo { + animation: App-logo-spin infinite 20s linear; + height: 80px; +} + +.App-header { + background-color: #222; + height: 150px; + padding: 20px; + color: white; +} + +.App-title { + font-size: 1.5em; +} + +.App-intro { + font-size: large; +} + +@keyframes App-logo-spin { + from { transform: rotate(0deg); } + to { transform: rotate(360deg); } +} + + + +/* 控制md编辑器列行的宽度 + 见 codermirror maybeUpdateLineNumberWidth方法 +*/ +.editormd .CodeMirror-linenumbers { + padding: 0; +} +.editormd-html-preview hr, .editormd-preview-container hr { + /* 颜色加深 */ + border-top: 1px solid #ccc; +} + +/* 重置掉antd的一些样式 */ +html, body { + -webkit-font-smoothing: auto !important; +} + +.ant-progress-textyes { + color: #52c41a; +} +.ant-progress-textno{ + color: #f5222d; +} +/* md多空格 */ +/*.markdown-body {*/ + /*white-space: pre;*/ +/*}*/ \ No newline at end of file From 281342598cdb6de5776ebc31ef63f1196ff27542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Thu, 1 Aug 2019 08:56:53 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/App.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/react/src/App.css b/public/react/src/App.css index 3f78ea26e..adf6935f4 100644 --- a/public/react/src/App.css +++ b/public/react/src/App.css @@ -52,6 +52,6 @@ html, body { color: #f5222d; } /* md多空格 */ -/*.markdown-body {*/ - /*white-space: pre;*/ -/*}*/ \ No newline at end of file +.markdown-body { + white-space: pre; +} \ No newline at end of file