1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 18:06:38 -04:00

Update _syntax.scss

This commit is contained in:
2020-11-09 16:51:59 -05:00
parent 6ada1afd4a
commit ab70fabeab

View File

@ -33,6 +33,11 @@ div.highlight {
padding-left: 1.5em;
margin: 1em 0;
}
// code fences without syntax highlighting
> pre > code {
padding-right: 1.5em;
}
}
// global table styles for line numbers and font styles
@ -52,6 +57,11 @@ div.highlight {
padding: 0;
margin: 0;
border: 0;
// add right padding to second column (the code) when fence overflows
&:nth-of-type(2) {
padding-right: 1em;
}
}
// line numbers
.ln,