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;
--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,

View File

@ -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;