Prettified Code!

This commit is contained in:
gingervitis
2021-02-16 05:24:11 +00:00
committed by GitHub Action
parent dd1cfb64db
commit a5303e64cb

View File

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