Browse Source

feat:新增引用样式

lifei6671 7 years ago
parent
commit
d445ea8183
1 changed files with 20 additions and 1 deletions
  1. 20 1
      static/editor.md/css/editormd.css

+ 20 - 1
static/editor.md/css/editormd.css

@@ -3848,7 +3848,26 @@
   background-color: #F0F7FD;
   color: #0382AD;
 }
-
+.editormd-preview-container blockquote.info, .editormd-html-preview blockquote.info  {
+    border-left-color: #5bc0de;
+    color: #5bc0de;
+    background-color: #f4f8fa
+}
+.editormd-preview-container blockquote.warning, .editormd-html-preview blockquote.warning  {
+    background-color: #fcf8f2;
+    border-color: #f0ad4e;
+    color: #f0ad4e
+}
+.editormd-preview-container blockquote.danger, .editormd-html-preview blockquote.danger  {
+    color: #d9534f;
+    background-color: #fdf7f7;
+    border-color: #d9534f
+}
+.editormd-preview-container blockquote.success, .editormd-html-preview blockquote.success  {
+    background-color: #f3f8f3;
+    border-color: #50af51;
+    color: #50af51
+}
 .editormd-preview-container p code, .editormd-html-preview p code {
   margin-left: 5px;
   margin-right: 4px;