Prettified Code!
This commit is contained in:
committed by
GitHub Action
parent
dd1cfb64db
commit
a5303e64cb
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
// markdown editor overrides
|
// markdown editor overrides
|
||||||
|
|
||||||
.rc-virtual-list-scrollbar {
|
.rc-virtual-list-scrollbar {
|
||||||
@@ -17,17 +16,17 @@
|
|||||||
p {
|
p {
|
||||||
color: var(--black-75);
|
color: var(--black-75);
|
||||||
}
|
}
|
||||||
background-color: rgba(226,232,240, 1) !important;
|
background-color: rgba(226, 232, 240, 1) !important;
|
||||||
|
|
||||||
.sec-html {
|
.sec-html {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
|
||||||
pre,code {
|
pre,
|
||||||
|
code {
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
color: #900;
|
color: #900;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Custom CSS for formatting the preview text
|
// Custom CSS for formatting the preview text
|
||||||
@@ -44,23 +43,29 @@
|
|||||||
|
|
||||||
// Custom CSS class used to format the text of the editor
|
// Custom CSS class used to format the text of the editor
|
||||||
.markdown-editor-pane {
|
.markdown-editor-pane {
|
||||||
color: rgba(255,255,255,.85) !important;
|
color: rgba(255, 255, 255, 0.85) !important;
|
||||||
border-color: black !important;
|
border-color: black !important;
|
||||||
background-color: black;
|
background-color: black;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Set the background color of the editor text input
|
// Set the background color of the editor text input
|
||||||
textarea {
|
textarea {
|
||||||
background-color: var(--gray) !important;
|
background-color: var(--gray) !important;
|
||||||
color: rgba(255,255,255,.5) !important;
|
color: rgba(255, 255, 255, 0.5) !important;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Hide extra toolbar buttons.
|
// 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;
|
display: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user