From c00dac92ca91ccf978673f59f9bfbe44101629e9 Mon Sep 17 00:00:00 2001 From: s-ol Date: Tue, 30 Oct 2018 18:05:27 +1100 Subject: fix inline code --- scss/hljs.scss | 9 +++++++-- scss/main.scss | 9 --------- 2 files changed, 7 insertions(+), 11 deletions(-) (limited to 'scss') diff --git a/scss/hljs.scss b/scss/hljs.scss index 1b4121c..0acf4a2 100644 --- a/scss/hljs.scss +++ b/scss/hljs.scss @@ -6,11 +6,16 @@ vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid) /*background color*/ .hljs { + background: #1d1f21; + border-radius: 6px; + padding: 0.2em 0.5em; + white-space: nowrap; +} + +pre > .hljs { display: block; overflow-x: auto; padding: 1em; - background: #1d1f21; - border-radius: 10px; white-space: pre-wrap; margin: 0 2em; } diff --git a/scss/main.scss b/scss/main.scss index 86fe58e..ca2f11c 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -41,15 +41,6 @@ body { } } -pre { - color: #eeeeee; - background-color: #212121; - border-radius: 10px; - padding: 1em; - white-space: pre-wrap; - margin: 0 2em; -} - h1 .icons { display: inline-flex; float: right; -- cgit v1.2.3