Dark codeblocks by default

This commit is contained in:
John O'Nolan 2021-03-08 15:59:11 -05:00
parent 372dca859b
commit b7faac9eda
3 changed files with 9 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -964,9 +964,14 @@ is the very first element in the post content */
}
.gh-content > pre {
overflow-x: auto;
overflow: scroll;
padding: 16px 20px;
background: rgba(255,255,255,0.8);
padding: 20px;
border: 1px solid color-mod(var(--color-darkgrey) l(-20%));
color: var(--color-wash);
font-size: 1.4rem;
line-height: 1.5em;
background: var(--color-darkgrey);
border-radius: 5px;
box-shadow: 0 2px 6px -2px rgba(0,0,0,.1), 0 0 1px rgba(0,0,0,.4);
}