From fce85ca58579c7e84bb5f3fd41d7b58ea660095c Mon Sep 17 00:00:00 2001 From: CrimsonTome Date: Sun, 4 Sep 2022 13:19:52 +0000 Subject: [PATCH] fix code blocks --- css/index.css | 4 +++- css/prism-base16-monokai.dark.css | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/css/index.css b/css/index.css index ee07159..dea1e39 100644 --- a/css/index.css +++ b/css/index.css @@ -4,7 +4,7 @@ --border: #C0C0C0; --text: #fff; --visited: #660066; - --link: #0000FF; + --link: #fff; --bg: #fff; --code-bg: #f6f6f6; --header-text: #333; @@ -37,6 +37,8 @@ /* Global stylesheet */ * { box-sizing: border-box; + + /*border: 3px solid #73AD21; toggle to debug borders */ } html, diff --git a/css/prism-base16-monokai.dark.css b/css/prism-base16-monokai.dark.css index 4a7889a..7532b4f 100644 --- a/css/prism-base16-monokai.dark.css +++ b/css/prism-base16-monokai.dark.css @@ -15,11 +15,12 @@ code[class*="language-"], pre[class*="language-"] { hyphens: none; background: #272822; color: #f8f8f2; + max-width: 600px !important; + } pre[class*="language-"] { padding: 1.5em 0; margin: .5em 0; - overflow: auto; } :not(pre) > code[class*="language-"] { padding: .1em;