From a5303e64cbe6428d3075bfa9c70361d21404f248 Mon Sep 17 00:00:00 2001 From: gingervitis Date: Tue, 16 Feb 2021 05:24:11 +0000 Subject: [PATCH] Prettified Code! --- web/styles/markdown-editor.scss | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/web/styles/markdown-editor.scss b/web/styles/markdown-editor.scss index b6ac25ad8..15fa84cf0 100644 --- a/web/styles/markdown-editor.scss +++ b/web/styles/markdown-editor.scss @@ -1,4 +1,3 @@ - // markdown editor overrides .rc-virtual-list-scrollbar { @@ -17,17 +16,17 @@ p { color: var(--black-75); } - background-color: rgba(226,232,240, 1) !important; + background-color: rgba(226, 232, 240, 1) !important; .sec-html { background-color: white; - pre,code { + pre, + code { background-color: #eee; color: #900; } } - } // Custom CSS for formatting the preview text @@ -44,23 +43,29 @@ // Custom CSS class used to format the text of the editor .markdown-editor-pane { - color: rgba(255,255,255,.85) !important; - border-color: black !important; + color: rgba(255, 255, 255, 0.85) !important; + border-color: black !important; background-color: black; font-family: monospace; } - // Set the background color of the editor text input textarea { background-color: var(--gray) !important; - color: rgba(255,255,255,.5) !important; + color: rgba(255, 255, 255, 0.5) !important; overflow: auto; } - // Hide extra toolbar buttons. - .button-type-undo, .button-type-redo, .button-type-clear, .button-type-image, .button-type-wrap, .button-type-quote, .button-type-strikethrough, .button-type-code-inline, .button-type-code-block { + .button-type-undo, + .button-type-redo, + .button-type-clear, + .button-type-image, + .button-type-wrap, + .button-type-quote, + .button-type-strikethrough, + .button-type-code-inline, + .button-type-code-block { display: none !important; } }