fix code blocks

main
CrimsonTome 2022-09-04 13:19:52 +00:00 committed by Matt Clark
parent d8c4fa989a
commit fce85ca585
2 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,7 @@
--border: #C0C0C0; --border: #C0C0C0;
--text: #fff; --text: #fff;
--visited: #660066; --visited: #660066;
--link: #0000FF; --link: #fff;
--bg: #fff; --bg: #fff;
--code-bg: #f6f6f6; --code-bg: #f6f6f6;
--header-text: #333; --header-text: #333;
@ -37,6 +37,8 @@
/* Global stylesheet */ /* Global stylesheet */
* { * {
box-sizing: border-box; box-sizing: border-box;
/*border: 3px solid #73AD21; toggle to debug borders */
} }
html, html,

View File

@ -15,11 +15,12 @@ code[class*="language-"], pre[class*="language-"] {
hyphens: none; hyphens: none;
background: #272822; background: #272822;
color: #f8f8f2; color: #f8f8f2;
max-width: 600px !important;
} }
pre[class*="language-"] { pre[class*="language-"] {
padding: 1.5em 0; padding: 1.5em 0;
margin: .5em 0; margin: .5em 0;
overflow: auto;
} }
:not(pre) > code[class*="language-"] { :not(pre) > code[class*="language-"] {
padding: .1em; padding: .1em;