forked from mirrors/hugo-tufte
ba23674640
* add highlight config for code highlighter * add default pygment css "github" * fix styles for code blocks * remove dead html from margin note *These don't appear to do anything? * Fix scrolling in code block * More CSS fixes for code blocks * ignore generated scss files. Probably other generated files too * Use scss to generate more powerful styles for code blocks * Document new code blocks style option Improve code blocks styling
12 lines
No EOL
281 B
SCSS
12 lines
No EOL
281 B
SCSS
$ht-code-bgcolor: #dde2ff;
|
|
|
|
@import "syntax-light.scss";
|
|
|
|
.highlight {
|
|
&::-webkit-scrollbar {
|
|
background: $ht-code-bgcolor;
|
|
}
|
|
&::-webkit-scrollbar-thumb {
|
|
background: scale-color($ht-code-bgcolor, $lightness: -13%, $saturation: -80%);
|
|
}
|
|
} |