2021-02-04 18:17:20 +01:00
|
|
|
|
|
|
|
// markdown editor overrides
|
|
|
|
|
|
|
|
.rc-virtual-list-scrollbar {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
.rc-md-editor {
|
2021-02-14 09:41:20 +01:00
|
|
|
border-color: var(--black) !important;
|
|
|
|
border: 1px solid var(--black);
|
|
|
|
background-color: var(--black) !important;
|
2021-02-13 08:55:59 +01:00
|
|
|
.rc-md-navigation {
|
2021-02-14 09:41:20 +01:00
|
|
|
background-color: var(--black);
|
|
|
|
border-color: var(--black);
|
2021-02-13 08:55:59 +01:00
|
|
|
}
|
2021-02-04 18:17:20 +01:00
|
|
|
// Set the background color of the preview container
|
|
|
|
.editor-container {
|
2021-02-14 09:41:20 +01:00
|
|
|
p {
|
|
|
|
color: var(--black-75);
|
|
|
|
}
|
2021-02-13 08:55:59 +01:00
|
|
|
background-color: rgba(226,232,240, 1) !important;
|
|
|
|
|
2021-02-14 09:41:20 +01:00
|
|
|
.sec-html {
|
|
|
|
background-color: white;
|
|
|
|
|
|
|
|
pre,code {
|
|
|
|
background-color: #eee;
|
|
|
|
color: #900;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-04 18:17:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Custom CSS for formatting the preview text
|
|
|
|
.markdown-editor-preview-pane {
|
|
|
|
a {
|
2021-02-13 08:55:59 +01:00
|
|
|
color: var(--owncast-purple);
|
2021-02-04 18:17:20 +01:00
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Custom CSS class used to format the text of the editor
|
|
|
|
.markdown-editor-pane {
|
2021-02-13 08:55:59 +01:00
|
|
|
color: rgba(255,255,255,.85) !important;
|
|
|
|
border-color: black !important;
|
2021-02-04 18:17:20 +01:00
|
|
|
background-color: black;
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
|
2021-02-13 08:55:59 +01:00
|
|
|
|
|
|
|
|
2021-02-04 18:17:20 +01:00
|
|
|
// Set the background color of the editor text input
|
|
|
|
textarea {
|
2021-02-14 09:41:20 +01:00
|
|
|
background-color: var(--gray) !important;
|
2021-02-13 08:55:59 +01:00
|
|
|
color: rgba(255,255,255,.5) !important;
|
2021-02-14 09:41:20 +01:00
|
|
|
overflow: auto;
|
2021-02-04 18:17:20 +01:00
|
|
|
}
|
2021-02-13 08:55:59 +01:00
|
|
|
|
2021-02-04 18:17:20 +01:00
|
|
|
|
|
|
|
// 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 {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|