Permalink
Browse files

Include syntax.css

  • Loading branch information...
bcl committed Dec 22, 2018
1 parent baeeace commit d660a616c84fb6c122302104065b8d67afca04e7
Showing with 66 additions and 1 deletion.
  1. +2 −1 layouts/_default/baseof.html
  2. +64 −0 static/css/syntax.css
@@ -17,6 +17,7 @@
{{ end -}}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700">
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
<link rel="stylesheet" href="{{ "css/syntax.css" | relURL }}">
<link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}">
{{- if not .Site.IsServer }}
{{ template "_internal/google_analytics_async.html" . }}
@@ -42,4 +43,4 @@
<script async defer src="{{ "js/menu.js" | relURL }}"></script>
{{- partial "mathjax.html" . -}}
</body>
</html>
</html>
@@ -0,0 +1,64 @@
/* Background */ .chroma { background-color: #ffffff }
/* Error */ .chroma .err { color: #ff0000; background-color: #ffaaaa }
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; }
/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc }
/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em; }
/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em; }
/* Keyword */ .chroma .k { color: #0000aa }
/* KeywordConstant */ .chroma .kc { color: #0000aa }
/* KeywordDeclaration */ .chroma .kd { color: #0000aa }
/* KeywordNamespace */ .chroma .kn { color: #0000aa }
/* KeywordPseudo */ .chroma .kp { color: #0000aa }
/* KeywordReserved */ .chroma .kr { color: #0000aa }
/* KeywordType */ .chroma .kt { color: #00aaaa }
/* NameAttribute */ .chroma .na { color: #1e90ff }
/* NameBuiltin */ .chroma .nb { color: #00aaaa }
/* NameClass */ .chroma .nc { color: #00aa00 }
/* NameConstant */ .chroma .no { color: #aa0000 }
/* NameDecorator */ .chroma .nd { color: #888888 }
/* NameEntity */ .chroma .ni { color: #880000; font-weight: bold }
/* NameFunction */ .chroma .nf { color: #00aa00 }
/* NameNamespace */ .chroma .nn { color: #00aaaa }
/* NameTag */ .chroma .nt { color: #1e90ff; font-weight: bold }
/* NameVariable */ .chroma .nv { color: #aa0000 }
/* LiteralString */ .chroma .s { color: #aa5500 }
/* LiteralStringAffix */ .chroma .sa { color: #aa5500 }
/* LiteralStringBacktick */ .chroma .sb { color: #aa5500 }
/* LiteralStringChar */ .chroma .sc { color: #aa5500 }
/* LiteralStringDelimiter */ .chroma .dl { color: #aa5500 }
/* LiteralStringDoc */ .chroma .sd { color: #aa5500 }
/* LiteralStringDouble */ .chroma .s2 { color: #aa5500 }
/* LiteralStringEscape */ .chroma .se { color: #aa5500 }
/* LiteralStringHeredoc */ .chroma .sh { color: #aa5500 }
/* LiteralStringInterpol */ .chroma .si { color: #aa5500 }
/* LiteralStringOther */ .chroma .sx { color: #aa5500 }
/* LiteralStringRegex */ .chroma .sr { color: #009999 }
/* LiteralStringSingle */ .chroma .s1 { color: #aa5500 }
/* LiteralStringSymbol */ .chroma .ss { color: #0000aa }
/* LiteralNumber */ .chroma .m { color: #009999 }
/* LiteralNumberBin */ .chroma .mb { color: #009999 }
/* LiteralNumberFloat */ .chroma .mf { color: #009999 }
/* LiteralNumberHex */ .chroma .mh { color: #009999 }
/* LiteralNumberInteger */ .chroma .mi { color: #009999 }
/* LiteralNumberIntegerLong */ .chroma .il { color: #009999 }
/* LiteralNumberOct */ .chroma .mo { color: #009999 }
/* OperatorWord */ .chroma .ow { color: #0000aa }
/* Comment */ .chroma .c { color: #aaaaaa; font-style: italic }
/* CommentHashbang */ .chroma .ch { color: #aaaaaa; font-style: italic }
/* CommentMultiline */ .chroma .cm { color: #aaaaaa; font-style: italic }
/* CommentSingle */ .chroma .c1 { color: #aaaaaa; font-style: italic }
/* CommentSpecial */ .chroma .cs { color: #0000aa; font-style: italic }
/* CommentPreproc */ .chroma .cp { color: #4c8317 }
/* CommentPreprocFile */ .chroma .cpf { color: #4c8317 }
/* GenericDeleted */ .chroma .gd { color: #aa0000 }
/* GenericEmph */ .chroma .ge { font-style: italic }
/* GenericError */ .chroma .gr { color: #aa0000 }
/* GenericHeading */ .chroma .gh { color: #000080; font-weight: bold }
/* GenericInserted */ .chroma .gi { color: #00aa00 }
/* GenericOutput */ .chroma .go { color: #888888 }
/* GenericPrompt */ .chroma .gp { color: #555555 }
/* GenericStrong */ .chroma .gs { font-weight: bold }
/* GenericSubheading */ .chroma .gu { color: #800080; font-weight: bold }
/* GenericTraceback */ .chroma .gt { color: #aa0000 }
/* TextWhitespace */ .chroma .w { color: #bbbbbb }

0 comments on commit d660a61

Please sign in to comment.