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
69 lines
No EOL
3.9 KiB
SCSS
69 lines
No EOL
3.9 KiB
SCSS
.highlight .hl { background-color: #ffffd4 }
|
|
.highlight { background: $ht-code-bgcolor;}
|
|
.highlight .c { color: #6a737d } /* Comment */
|
|
.highlight .err { } /* Error */
|
|
.highlight .k { color: #d73a49 } /* Keyword */
|
|
.highlight .o { } /* Operator */
|
|
.highlight .ch { color: #6a737d } /* Comment.Hashbang */
|
|
.highlight .cm { color: #6a737d } /* Comment.Multiline */
|
|
.highlight .cp { color: #d73a49 } /* Comment.Preproc */
|
|
.highlight .cpf { color: #032f62 } /* Comment.PreprocFile */
|
|
.highlight .c1 { color: #6a737d } /* Comment.Single */
|
|
.highlight .cs { color: #6a737d } /* Comment.Special */
|
|
.highlight .gd { color: #b31d28; background-color: #ffeef0 } /* Generic.Deleted */
|
|
.highlight .ge { } /* Generic.Emph */
|
|
.highlight .gr { } /* Generic.Error */
|
|
.highlight .gh { color: #005cc5 } /* Generic.Heading */
|
|
.highlight .gi { color: #22863a; background-color: #f0fff4 } /* Generic.Inserted */
|
|
.highlight .go { } /* Generic.Output */
|
|
.highlight .gp { } /* Generic.Prompt */
|
|
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
|
.highlight .gu { color: #6f42c1; font-weight: bold } /* Generic.Subheading */
|
|
.highlight .gt { color: #0044DD } /* Generic.Traceback */
|
|
.highlight .kc { color: #005cc5 } /* Keyword.Constant */
|
|
.highlight .kd { color: #d73a49 } /* Keyword.Declaration */
|
|
.highlight .kn { color: #d73a49 } /* Keyword.Namespace */
|
|
.highlight .kp { color: #d73a49 } /* Keyword.Pseudo */
|
|
.highlight .kr { color: #d73a49 } /* Keyword.Reserved */
|
|
.highlight .kt { color: #d73a49 } /* Keyword.Type */
|
|
.highlight .m { color: #666666 } /* Literal.Number */
|
|
.highlight .s { color: #032f62 } /* Literal.String */
|
|
.highlight .na { } /* Name.Attribute */
|
|
.highlight .nb { color: #005cc5 } /* Name.Builtin */
|
|
.highlight .nc { color: #6f42c1 } /* Name.Class */
|
|
.highlight .no { color: #005cc5 } /* Name.Constant */
|
|
.highlight .nd { color: #6f42c1 } /* Name.Decorator */
|
|
.highlight .ni { color: #005cc5 } /* Name.Entity */
|
|
.highlight .ne { color: #005cc5 } /* Name.Exception */
|
|
.highlight .nf { color: #6f42c1 } /* Name.Function */
|
|
.highlight .nl { color: #005cc5 } /* Name.Label */
|
|
.highlight .nn { color: #6f42c1 } /* Name.Namespace */
|
|
.highlight .nt { color: #22863a } /* Name.Tag */
|
|
.highlight .nv { color: #24292e } /* Name.Variable */
|
|
.highlight .ow { color: #d73a49; } /* Operator.Word */
|
|
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
|
.highlight .mb { color: #005cc5 } /* Literal.Number.Bin */
|
|
.highlight .mf { color: #005cc5 } /* Literal.Number.Float */
|
|
.highlight .mh { color: #005cc5 } /* Literal.Number.Hex */
|
|
.highlight .mi { color: #005cc5 } /* Literal.Number.Integer */
|
|
.highlight .mo { color: #005cc5 } /* Literal.Number.Oct */
|
|
.highlight .sa { color: #d73a49 } /* Literal.String.Affix */
|
|
.highlight .sb { color: #032f62 } /* Literal.String.Backtick */
|
|
.highlight .sc { color: #032f62 } /* Literal.String.Char */
|
|
.highlight .dl { color: #d73a49 } /* Literal.String.Delimiter */
|
|
.highlight .sd { color: #032f62 } /* Literal.String.Doc */
|
|
.highlight .s2 { color: #032f62 } /* Literal.String.Double */
|
|
.highlight .se { color: #032f62 } /* Literal.String.Escape */
|
|
.highlight .sh { color: #032f62 } /* Literal.String.Heredoc */
|
|
.highlight .si { color: #005cc5 } /* Literal.String.Interpol */
|
|
.highlight .sx { color: #032f62 } /* Literal.String.Other */
|
|
.highlight .sr { color: #032f62 } /* Literal.String.Regex */
|
|
.highlight .s1 { color: #032f62 } /* Literal.String.Single */
|
|
.highlight .ss { color: #005cc5 } /* Literal.String.Symbol */
|
|
.highlight .bp { color: #005cc5 } /* Name.Builtin.Pseudo */
|
|
.highlight .fm { color: #005cc5 } /* Name.Function.Magic */
|
|
.highlight .vc { color: #24292e } /* Name.Variable.Class */
|
|
.highlight .vg { color: #24292e } /* Name.Variable.Global */
|
|
.highlight .vi { color: #24292e } /* Name.Variable.Instance */
|
|
.highlight .vm { color: #005cc5 } /* Name.Variable.Magic */
|
|
.highlight .il { color: #005cc5 } /* Literal.Number.Integer.Long */ |