fix code blocks
parent
d8c4fa989a
commit
fce85ca585
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue