about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-06-07 19:59:13 +0100
committerAlan Pearce2014-06-07 19:59:13 +0100
commit36dd5b755a4a969d41bdff47e3e8de8d26fb8b0f (patch)
tree1c4d68a35aa0f0f16dfb3bf6742b385996b23e35
parentff16e96ea600db1437847f4d3fa6c5e53ce627eb (diff)
downloadwebsite-36dd5b755a4a969d41bdff47e3e8de8d26fb8b0f.tar.xz
website-36dd5b755a4a969d41bdff47e3e8de8d26fb8b0f.zip
Configure syntax highlighting with solarized CSS
-rw-r--r--config.toml1
-rw-r--r--static/css/syntax.css69
2 files changed, 70 insertions, 0 deletions
diff --git a/config.toml b/config.toml index c8faf13..e295169 100644 --- a/config.toml +++ b/config.toml
@@ -2,6 +2,7 @@ baseurl = "/"
2languageCode = "en-gb" 2languageCode = "en-gb"
3title = "Alan Pearce" 3title = "Alan Pearce"
4theme = "hyde" 4theme = "hyde"
5pygmentsuseclasses = true
5 6
6[Params] 7[Params]
7Description = "…now has a website" 8Description = "…now has a website"
diff --git a/static/css/syntax.css b/static/css/syntax.css new file mode 100644 index 0000000..a48dea9 --- /dev/null +++ b/static/css/syntax.css
@@ -0,0 +1,69 @@
1.hll { background-color: #ffffcc }
2.c { color: #93a1a1; font-style: italic } /* Comment */
3.err { color: #dc322f } /* Error */
4.g { color: #657b83 } /* Generic */
5.k { color: #859900 } /* Keyword */
6.l { color: #657b83 } /* Literal */
7.n { color: #586e75 } /* Name */
8.o { color: #657b83 } /* Operator */
9.x { color: #657b83 } /* Other */
10.p { color: #657b83 } /* Punctuation */
11.cm { color: #93a1a1; font-style: italic } /* Comment.Multiline */
12.cp { color: #93a1a1; font-style: italic } /* Comment.Preproc */
13.c1 { color: #93a1a1; font-style: italic } /* Comment.Single */
14.cs { color: #93a1a1; font-style: italic } /* Comment.Special */
15.gd { color: #657b83 } /* Generic.Deleted */
16.ge { color: #657b83 } /* Generic.Emph */
17.gr { color: #657b83 } /* Generic.Error */
18.gh { color: #657b83 } /* Generic.Heading */
19.gi { color: #657b83 } /* Generic.Inserted */
20.go { color: #657b83 } /* Generic.Output */
21.gp { color: #657b83 } /* Generic.Prompt */
22.gs { color: #657b83 } /* Generic.Strong */
23.gu { color: #657b83 } /* Generic.Subheading */
24.gt { color: #657b83 } /* Generic.Traceback */
25.kc { color: #859900 } /* Keyword.Constant */
26.kd { color: #859900 } /* Keyword.Declaration */
27.kn { color: #cb4b16 } /* Keyword.Namespace */
28.kp { color: #cb4b16 } /* Keyword.Pseudo */
29.kr { color: #859900 } /* Keyword.Reserved */
30.kt { color: #859900 } /* Keyword.Type */
31.ld { color: #657b83 } /* Literal.Date */
32.m { color: #2aa198 } /* Literal.Number */
33.s { color: #2aa198 } /* Literal.String */
34.na { color: #657b83 } /* Name.Attribute */
35.nb { color: #268bd2 } /* Name.Builtin */
36.nc { color: #268bd2 } /* Name.Class */
37.no { color: #b58900 } /* Name.Constant */
38.nd { color: #cb4b16 } /* Name.Decorator */
39.ni { color: #cb4b16 } /* Name.Entity */
40.ne { color: #cb4b16 } /* Name.Exception */
41.nf { color: #268bd2 } /* Name.Function */
42.nl { color: #657b83 } /* Name.Label */
43.nn { color: #b58900 } /* Name.Namespace */
44.nx { color: #657b83 } /* Name.Other */
45.py { color: #268bd2 } /* Name.Property */
46.nt { color: #859900 } /* Name.Tag */
47.nv { color: #cb4b16 } /* Name.Variable */
48.ow { color: #859900 } /* Operator.Word */
49.w { color: #fdf6e3 } /* Text.Whitespace */
50.mf { color: #2aa198 } /* Literal.Number.Float */
51.mh { color: #2aa198 } /* Literal.Number.Hex */
52.mi { color: #2aa198 } /* Literal.Number.Integer */
53.mo { color: #2aa198 } /* Literal.Number.Oct */
54.sb { color: #2aa198 } /* Literal.String.Backtick */
55.sc { color: #2aa198 } /* Literal.String.Char */
56.sd { color: #2aa198 } /* Literal.String.Doc */
57.s2 { color: #2aa198 } /* Literal.String.Double */
58.se { color: #cb4b16 } /* Literal.String.Escape */
59.sh { color: #2aa198 } /* Literal.String.Heredoc */
60.si { color: #cb4b16 } /* Literal.String.Interpol */
61.sx { color: #2aa198 } /* Literal.String.Other */
62.sr { color: #2aa198 } /* Literal.String.Regex */
63.s1 { color: #2aa198 } /* Literal.String.Single */
64.ss { color: #2aa198 } /* Literal.String.Symbol */
65.bp { color: #268bd2; font-weight: bold } /* Name.Builtin.Pseudo */
66.vc { color: #268bd2 } /* Name.Variable.Class */
67.vg { color: #268bd2 } /* Name.Variable.Global */
68.vi { color: #268bd2 } /* Name.Variable.Instance */
69.il { color: #2aa198 } /* Literal.Number.Integer.Long */