mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-11-15 04:46:58 +01:00
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
279 B
SCSS
12 lines
No EOL
279 B
SCSS
$ht-code-bgcolor: #282a36;
|
|
|
|
@import "syntax-dark.scss";
|
|
|
|
.highlight {
|
|
&::-webkit-scrollbar {
|
|
background: $ht-code-bgcolor;
|
|
}
|
|
&::-webkit-scrollbar-thumb {
|
|
background: scale-color($ht-code-bgcolor, $lightness: 23%, $saturation: -40%);
|
|
}
|
|
} |