trying to make codeblocks look better

master
Jay 2 years ago
parent 4bc77f069b
commit df7ccfe543

@ -76,6 +76,7 @@ textarea { vertical-align: top; }
*/ */
.lineno { color: var(--code-color-1); margin-right: 15px; } .lineno { color: var(--code-color-1); margin-right: 15px; }
figure.highlight { margin: 5px 0; } figure.highlight { margin: 5px 0; }
code { background-color: var(--background-color); border: 2px; padding: 0; margin: 0; overflow:auto; font-size: $base-font-size; color: var(--text-color); line-height: 1.7 !important; font-family: $base-font-family !important; }
pre { background-color: var(--background-color); border: 2px; padding: 0; margin: 0; overflow:auto; font-size: $base-font-size; color: var(--text-color); line-height: 1.7 !important; font-family: $base-font-family !important; } pre { background-color: var(--background-color); border: 2px; padding: 0; margin: 0; overflow:auto; font-size: $base-font-size; color: var(--text-color); line-height: 1.7 !important; font-family: $base-font-family !important; }
.highlight .hll { background-color: var(--code-color-2); } .highlight .hll { background-color: var(--code-color-2); }
.highlight .c { color: var(--code-color-1); font-style: italic } /* Comment */ .highlight .c { color: var(--code-color-1); font-style: italic } /* Comment */

Loading…
Cancel
Save