diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2018-10-30 07:05:27 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2018-10-30 07:05:27 +0000 |
| commit | c00dac92ca91ccf978673f59f9bfbe44101629e9 (patch) | |
| tree | c74247ed15ce7457609eb96fa81d8561f6939e28 /scss | |
| parent | update text, add lots of TODOs (diff) | |
| download | mmm-c00dac92ca91ccf978673f59f9bfbe44101629e9.tar.gz mmm-c00dac92ca91ccf978673f59f9bfbe44101629e9.zip | |
fix inline code
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/hljs.scss | 9 | ||||
| -rw-r--r-- | scss/main.scss | 9 |
2 files changed, 7 insertions, 11 deletions
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; |
