Browse Source

Prettified Code!

pull/1886/head
gingervitis 4 years ago committed by GitHub Action
parent
commit
a5303e64cb
  1. 25
      web/styles/markdown-editor.scss

25
web/styles/markdown-editor.scss

@ -1,4 +1,3 @@ @@ -1,4 +1,3 @@
// markdown editor overrides
.rc-virtual-list-scrollbar {
@ -17,17 +16,17 @@ @@ -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 @@ @@ -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;
}
}

Loading…
Cancel
Save