summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-09-14 18:01:51 +0100
committerYann Herklotz <git@yannherklotz.com>2021-09-14 18:01:51 +0100
commit71ec37281fdd4426e76db3340ad17739538b702d (patch)
tree16ab48b615a7e87de99f8530d6c22a6be858349d
parent706219525d8598be3c28a05d188a0052e79898ae (diff)
downloadhugo-ymherklotz-71ec37281fdd4426e76db3340ad17739538b702d.tar.gz
hugo-ymherklotz-71ec37281fdd4426e76db3340ad17739538b702d.zip
Update style sheets
-rw-r--r--layouts/partials/head.html1
-rw-r--r--static/css/default.css1
-rw-r--r--static/css/syntax.css69
-rw-r--r--static/css/syntax_dark.css0
4 files changed, 1 insertions, 70 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index fc85b57..990de45 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -23,6 +23,7 @@
crossorigin="anonymous">
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/fonts.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/syntax.css" />
+ <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/syntax_dark.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/colours.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/default.css" />
diff --git a/static/css/default.css b/static/css/default.css
index 70612b2..57dc2ef 100644
--- a/static/css/default.css
+++ b/static/css/default.css
@@ -87,7 +87,6 @@ h3 {
}
code {
- padding: 0.1em 0.2em;
font-family: 'Iosevka Web', monospace;
font-size: 1rem;
}
diff --git a/static/css/syntax.css b/static/css/syntax.css
index 2fb775c..e69de29 100644
--- a/static/css/syntax.css
+++ b/static/css/syntax.css
@@ -1,69 +0,0 @@
-.highlight .hll { background-color: #ffffcc }
-.highlight { /* background */ }
-.highlight .c { color: #008800; font-style: italic } /* Comment */
-.highlight .err { border: 1px solid #FF0000 } /* Error */
-.highlight .k { color: #AA22FF; font-weight: bold } /* Keyword */
-.highlight .o { color: #666666 } /* Operator */
-.highlight .ch { color: #008800; font-style: italic } /* Comment.Hashbang */
-.highlight .cm { color: #008800; font-style: italic } /* Comment.Multiline */
-.highlight .cp { color: #008800 } /* Comment.Preproc */
-.highlight .cpf { color: #008800; font-style: italic } /* Comment.PreprocFile */
-.highlight .c1 { color: #008800; font-style: italic } /* Comment.Single */
-.highlight .cs { color: #008800; font-weight: bold } /* Comment.Special */
-.highlight .gd { color: #A00000 } /* Generic.Deleted */
-.highlight .ge { font-style: italic } /* Generic.Emph */
-.highlight .gr { color: #FF0000 } /* Generic.Error */
-.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
-.highlight .gi { color: #00A000 } /* Generic.Inserted */
-.highlight .go { color: #888888 } /* Generic.Output */
-.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
-.highlight .gs { font-weight: bold } /* Generic.Strong */
-.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
-.highlight .gt { color: #0044DD } /* Generic.Traceback */
-.highlight .kc { color: #AA22FF; font-weight: bold } /* Keyword.Constant */
-.highlight .kd { color: #AA22FF; font-weight: bold } /* Keyword.Declaration */
-.highlight .kn { color: #AA22FF; font-weight: bold } /* Keyword.Namespace */
-.highlight .kp { color: #AA22FF } /* Keyword.Pseudo */
-.highlight .kr { color: #AA22FF; font-weight: bold } /* Keyword.Reserved */
-.highlight .kt { color: #00BB00; font-weight: bold } /* Keyword.Type */
-.highlight .m { color: #666666 } /* Literal.Number */
-.highlight .s { color: #BB4444 } /* Literal.String */
-.highlight .na { color: #BB4444 } /* Name.Attribute */
-.highlight .nb { color: #AA22FF } /* Name.Builtin */
-.highlight .nc { color: #0000FF } /* Name.Class */
-.highlight .no { color: #880000 } /* Name.Constant */
-.highlight .nd { color: #AA22FF } /* Name.Decorator */
-.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
-.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
-.highlight .nf { color: #00A000 } /* Name.Function */
-.highlight .nl { color: #A0A000 } /* Name.Label */
-.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
-.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
-.highlight .nv { color: #B8860B } /* Name.Variable */
-.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
-.highlight .w { color: #bbbbbb } /* Text.Whitespace */
-.highlight .mb { color: #666666 } /* Literal.Number.Bin */
-.highlight .mf { color: #666666 } /* Literal.Number.Float */
-.highlight .mh { color: #666666 } /* Literal.Number.Hex */
-.highlight .mi { color: #666666 } /* Literal.Number.Integer */
-.highlight .mo { color: #666666 } /* Literal.Number.Oct */
-.highlight .sa { color: #BB4444 } /* Literal.String.Affix */
-.highlight .sb { color: #BB4444 } /* Literal.String.Backtick */
-.highlight .sc { color: #BB4444 } /* Literal.String.Char */
-.highlight .dl { color: #BB4444 } /* Literal.String.Delimiter */
-.highlight .sd { color: #BB4444; font-style: italic } /* Literal.String.Doc */
-.highlight .s2 { color: #BB4444 } /* Literal.String.Double */
-.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
-.highlight .sh { color: #BB4444 } /* Literal.String.Heredoc */
-.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
-.highlight .sx { color: #008000 } /* Literal.String.Other */
-.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
-.highlight .s1 { color: #BB4444 } /* Literal.String.Single */
-.highlight .ss { color: #B8860B } /* Literal.String.Symbol */
-.highlight .bp { color: #AA22FF } /* Name.Builtin.Pseudo */
-.highlight .fm { color: #00A000 } /* Name.Function.Magic */
-.highlight .vc { color: #B8860B } /* Name.Variable.Class */
-.highlight .vg { color: #B8860B } /* Name.Variable.Global */
-.highlight .vi { color: #B8860B } /* Name.Variable.Instance */
-.highlight .vm { color: #B8860B } /* Name.Variable.Magic */
-.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
diff --git a/static/css/syntax_dark.css b/static/css/syntax_dark.css
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/static/css/syntax_dark.css