From 4330fa1f857094462920420b78c4b44f90aba5fd Mon Sep 17 00:00:00 2001 From: lolabird Date: Sun, 20 Aug 2023 15:01:22 -0600 Subject: [PATCH] Fix inline code styles on 'read only' mode. --- stellar-dark.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stellar-dark.css b/stellar-dark.css index 5940eb4..e7aa54c 100644 --- a/stellar-dark.css +++ b/stellar-dark.css @@ -411,7 +411,7 @@ div.backlinks-items div:hover { /*****CODE IN TEXT NOTES)*****/ /***code blocks***/ -.ck.ck-editor__editable pre { +.ck-content pre { background: var(--supa-dark); font-family: monospace; font-size: 0.9rem; @@ -431,13 +431,13 @@ pre::after{ } /***inline code***/ -.ck.ck-editor__editable code { +.ck-content code { font-family: monospace; font-size: 0.9rem; background: var(--supa-dark); color: var(--shallow-sea-blue) !important; } -.ck.ck-editor__editable .ck-code_selected { +.ck-content .ck-code_selected { background-color: var(--earth-sun) !important; } @@ -603,4 +603,4 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #c60101;} /***code errors***/ .cm-s-default .cm-error {color: #f00;} -.cm-invalidchar {color: #f00;} +.cm-invalidchar {color: #f00;} \ No newline at end of file