diff --git a/scss/_codeblock.scss b/scss/_codeblock.scss deleted file mode 100644 index e744ad1434bce77c2bf575ed57a9aa5ab1fe9b06..0000000000000000000000000000000000000000 --- a/scss/_codeblock.scss +++ /dev/null @@ -1,3 +0,0 @@ -pre, code { - background-color: $back-color-2 !important; -} \ No newline at end of file diff --git a/scss/_prism.scss b/scss/_prism.scss index 7f1ad746063e34709960198ea2708e3f9a5baf8f..14b60a8c26a0510dd82cdf2ded83aa4c3a388a84 100644 --- a/scss/_prism.scss +++ b/scss/_prism.scss @@ -9,7 +9,7 @@ https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+cli code[class*="language-"], pre[class*="language-"] { color: #ccc; - background: none; + background: $back-color-2; font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; text-align: left; @@ -37,11 +37,7 @@ https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+cli overflow: auto; } - :not(pre) > code[class*="language-"], - pre[class*="language-"] { - background: #2d2d2d; - } - + /* Inline code */ :not(pre) > code[class*="language-"] { padding: .1em; diff --git a/scss/style.scss b/scss/style.scss index 8b8fe920c200b01595918dff4f913d5f2dd189dd..e638d51201d80f2187afe90c443c8bfec36e6aeb 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -13,7 +13,6 @@ @import "menuMobile"; @import "mobileSmall"; @import "home"; -@import "codeblock"; @import "prism"; @import "../node_modules/basiclightbox/src/styles/main"; \ No newline at end of file