diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-05-10 23:27:16 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-05-10 23:27:16 +0200 |
commit | 91a34506323340485a9f83cd0cff220333befa44 (patch) | |
tree | b2bf149ddbb6829963926023dec7dd4284a2dba4 | |
parent | bb05796aad9676488a00bb53b792bc9260204e51 (diff) | |
download | website-91a34506323340485a9f83cd0cff220333befa44.tar.xz |
Switch from default to friendly pygments theme
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/pygments-default.css | 63 | ||||
-rw-r--r-- | src/pygments.css | 63 | ||||
-rw-r--r-- | src/templates/layout-journal.html | 2 |
4 files changed, 65 insertions, 65 deletions
@@ -1,5 +1,5 @@ HTML := index.html journal.html about.html -CSS := style.css pygments-default.css journal/isso.css +CSS := style.css pygments.css journal/isso.css RESOURCES := glider.png me.jpg TEMPLATES := $(shell find src/templates) diff --git a/src/pygments-default.css b/src/pygments-default.css deleted file mode 100644 index d96c334..0000000 --- a/src/pygments-default.css +++ /dev/null @@ -1,63 +0,0 @@ -/* generated with ``pygmentize -S default -f html -a pre.code`` */ -pre.code .hll { background-color: #ffffcc } -pre.code { background: #f8f8f8; } -pre.code .c { color: #408080; font-style: italic } /* Comment */ -pre.code .err { border: 1px solid #FF0000 } /* Error */ -pre.code .k { color: #008000; font-weight: bold } /* Keyword */ -pre.code .o { color: #666666 } /* Operator */ -pre.code .cm { color: #408080; font-style: italic } /* Comment.Multiline */ -pre.code .cp { color: #BC7A00 } /* Comment.Preproc */ -pre.code .c1 { color: #408080; font-style: italic } /* Comment.Single */ -pre.code .cs { color: #408080; font-style: italic } /* Comment.Special */ -pre.code .gd { color: #A00000 } /* Generic.Deleted */ -pre.code .ge { font-style: italic } /* Generic.Emph */ -pre.code .gr { color: #FF0000 } /* Generic.Error */ -pre.code .gh { color: #000080; font-weight: bold } /* Generic.Heading */ -pre.code .gi { color: #00A000 } /* Generic.Inserted */ -pre.code .go { color: #808080 } /* Generic.Output */ -pre.code .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ -pre.code .gs { font-weight: bold } /* Generic.Strong */ -pre.code .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ -pre.code .gt { color: #0040D0 } /* Generic.Traceback */ -pre.code .kc { color: #008000; font-weight: bold } /* Keyword.Constant */ -pre.code .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ -pre.code .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */ -pre.code .kp { color: #008000 } /* Keyword.Pseudo */ -pre.code .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ -pre.code .kt { color: #B00040 } /* Keyword.Type */ -pre.code .m { color: #666666 } /* Literal.Number */ -pre.code .s { color: #BA2121 } /* Literal.String */ -pre.code .na { color: #7D9029 } /* Name.Attribute */ -pre.code .nb { color: #008000 } /* Name.Builtin */ -pre.code .nc { color: #0000FF; font-weight: bold } /* Name.Class */ -pre.code .no { color: #880000 } /* Name.Constant */ -pre.code .nd { color: #AA22FF } /* Name.Decorator */ -pre.code .ni { color: #999999; font-weight: bold } /* Name.Entity */ -pre.code .ne { color: #D2413A; font-weight: bold } /* Name.Exception */ -pre.code .nf { color: #0000FF } /* Name.Function */ -pre.code .nl { color: #A0A000 } /* Name.Label */ -pre.code .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ -pre.code .nt { color: #008000; font-weight: bold } /* Name.Tag */ -pre.code .nv { color: #19177C } /* Name.Variable */ -pre.code .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ -pre.code .w { color: #bbbbbb } /* Text.Whitespace */ -pre.code .mf { color: #666666 } /* Literal.Number.Float */ -pre.code .mh { color: #666666 } /* Literal.Number.Hex */ -pre.code .mi { color: #666666 } /* Literal.Number.Integer */ -pre.code .mo { color: #666666 } /* Literal.Number.Oct */ -pre.code .sb { color: #BA2121 } /* Literal.String.Backtick */ -pre.code .sc { color: #BA2121 } /* Literal.String.Char */ -pre.code .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ -pre.code .s2 { color: #BA2121 } /* Literal.String.Double */ -pre.code .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ -pre.code .sh { color: #BA2121 } /* Literal.String.Heredoc */ -pre.code .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ -pre.code .sx { color: #008000 } /* Literal.String.Other */ -pre.code .sr { color: #BB6688 } /* Literal.String.Regex */ -pre.code .s1 { color: #BA2121 } /* Literal.String.Single */ -pre.code .ss { color: #19177C } /* Literal.String.Symbol */ -pre.code .bp { color: #008000 } /* Name.Builtin.Pseudo */ -pre.code .vc { color: #19177C } /* Name.Variable.Class */ -pre.code .vg { color: #19177C } /* Name.Variable.Global */ -pre.code .vi { color: #19177C } /* Name.Variable.Instance */ -pre.code .il { color: #666666 } /* Literal.Number.Integer.Long */ diff --git a/src/pygments.css b/src/pygments.css new file mode 100644 index 0000000..e1b0b51 --- /dev/null +++ b/src/pygments.css @@ -0,0 +1,63 @@ +pre.code .hll { background-color: #ffffcc } +pre.code { background: #f0f0f0; } +pre.code .c { color: #60a0b0; font-style: italic } /* Comment */ +pre.code .err { border: 1px solid #FF0000 } /* Error */ +pre.code .k { color: #007020; font-weight: bold } /* Keyword */ +pre.code .o { color: #666666 } /* Operator */ +pre.code .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */ +pre.code .cp { color: #007020 } /* Comment.Preproc */ +pre.code .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */ +pre.code .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */ +pre.code .gd { color: #A00000 } /* Generic.Deleted */ +pre.code .ge { font-style: italic } /* Generic.Emph */ +pre.code .gr { color: #FF0000 } /* Generic.Error */ +pre.code .gh { color: #000080; font-weight: bold } /* Generic.Heading */ +pre.code .gi { color: #00A000 } /* Generic.Inserted */ +pre.code .go { color: #888888 } /* Generic.Output */ +pre.code .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ +pre.code .gs { font-weight: bold } /* Generic.Strong */ +pre.code .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +pre.code .gt { color: #0044DD } /* Generic.Traceback */ +pre.code .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ +pre.code .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ +pre.code .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ +pre.code .kp { color: #007020 } /* Keyword.Pseudo */ +pre.code .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ +pre.code .kt { color: #902000 } /* Keyword.Type */ +pre.code .m { color: #40a070 } /* Literal.Number */ +pre.code .s { color: #4070a0 } /* Literal.String */ +pre.code .na { color: #4070a0 } /* Name.Attribute */ +pre.code .nb { color: #007020 } /* Name.Builtin */ +pre.code .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ +pre.code .no { color: #60add5 } /* Name.Constant */ +pre.code .nd { color: #555555; font-weight: bold } /* Name.Decorator */ +pre.code .ni { color: #d55537; font-weight: bold } /* Name.Entity */ +pre.code .ne { color: #007020 } /* Name.Exception */ +pre.code .nf { color: #06287e } /* Name.Function */ +pre.code .nl { color: #002070; font-weight: bold } /* Name.Label */ +pre.code .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ +pre.code .nt { color: #062873; font-weight: bold } /* Name.Tag */ +pre.code .nv { color: #bb60d5 } /* Name.Variable */ +pre.code .ow { color: #007020; font-weight: bold } /* Operator.Word */ +pre.code .w { color: #bbbbbb } /* Text.Whitespace */ +pre.code .mb { color: #40a070 } /* Literal.Number.Bin */ +pre.code .mf { color: #40a070 } /* Literal.Number.Float */ +pre.code .mh { color: #40a070 } /* Literal.Number.Hex */ +pre.code .mi { color: #40a070 } /* Literal.Number.Integer */ +pre.code .mo { color: #40a070 } /* Literal.Number.Oct */ +pre.code .sb { color: #4070a0 } /* Literal.String.Backtick */ +pre.code .sc { color: #4070a0 } /* Literal.String.Char */ +pre.code .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ +pre.code .s2 { color: #4070a0 } /* Literal.String.Double */ +pre.code .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ +pre.code .sh { color: #4070a0 } /* Literal.String.Heredoc */ +pre.code .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ +pre.code .sx { color: #c65d09 } /* Literal.String.Other */ +pre.code .sr { color: #235388 } /* Literal.String.Regex */ +pre.code .s1 { color: #4070a0 } /* Literal.String.Single */ +pre.code .ss { color: #517918 } /* Literal.String.Symbol */ +pre.code .bp { color: #007020 } /* Name.Builtin.Pseudo */ +pre.code .vc { color: #bb60d5 } /* Name.Variable.Class */ +pre.code .vg { color: #bb60d5 } /* Name.Variable.Global */ +pre.code .vi { color: #bb60d5 } /* Name.Variable.Instance */ +pre.code .il { color: #40a070 } /* Literal.Number.Integer.Long */ diff --git a/src/templates/layout-journal.html b/src/templates/layout-journal.html index 4ad4589..e58daa3 100644 --- a/src/templates/layout-journal.html +++ b/src/templates/layout-journal.html @@ -4,7 +4,7 @@ <meta charset="UTF-8"> <title>{{ title }}</title> <link href="../style.css" rel="stylesheet"> - <link href="../pygments-default.css" rel="stylesheet"> + <link href="../pygments.css" rel="stylesheet"> <link rel="icon" type="image/png" href="../resources/glider.png" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> |