add a custom syntax highlighting css sheet to the example site

This commit is contained in:
Gered 2023-06-30 21:13:50 -04:00
parent 35b357b1e1
commit 065f2ededf
2 changed files with 64 additions and 0 deletions

View file

@ -0,0 +1,63 @@
/*
* theme "IDLE" generated by syntect
*/
.sh-code {
color: #000000;
background-color: #ffffff;
}
.sh-comment {
color: #919191;
}
.sh-string {
color: #00a33f;
}
.sh-constant.sh-numeric {
}
.sh-constant.sh-language {
color: #a535ae;
}
.sh-constant.sh-character, .sh-constant.sh-other {
}
.sh-variable.sh-language, .sh-variable.sh-other {
}
.sh-keyword {
color: #ff5600;
}
.sh-storage {
color: #ff5600;
}
.sh-entity.sh-name.sh-type {
color: #21439c;
}
.sh-entity.sh-other.sh-inherited-class {
}
.sh-entity.sh-name.sh-function {
color: #21439c;
}
.sh-variable.sh-parameter {
}
.sh-entity.sh-name.sh-tag {
}
.sh-entity.sh-other.sh-attribute-name {
}
.sh-support.sh-function {
color: #a535ae;
}
.sh-support.sh-constant {
color: #a535ae;
}
.sh-support.sh-type, .sh-support.sh-class {
color: #a535ae;
}
.sh-support.sh-variable {
color: #a535ae;
}
.sh-invalid {
color: #ffffff;
background-color: #990000;
}
.sh-constant.sh-other.sh-placeholder.sh-py {
color: #990000;
}

View file

@ -4,6 +4,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>My Site :: {% block title %}{% endblock title %}</title> <title>My Site :: {% block title %}{% endblock title %}</title>
<link rel="stylesheet" type="text/css" href="/site.css"> <link rel="stylesheet" type="text/css" href="/site.css">
<link rel="stylesheet" type="text/css" href="/syntax-highlighting.css">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"> <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
<link rel="icon" type="image/x-icon" href="/favicon.ico"> <link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="alternate" type="application/rss+xml" title="My Site" href="/rss/"> <link rel="alternate" type="application/rss+xml" title="My Site" href="/rss/">