diff --git a/_includes/head.html b/_includes/head.html index 10e7c60..65a3b1d 100755 --- a/_includes/head.html +++ b/_includes/head.html @@ -22,5 +22,6 @@ {% endif %} + diff --git a/content/_minutes/2022-01-28-mgm-minutes.md b/content/_minutes/2022-01-28-mgm-minutes.md index 2f6b23d..9c1d564 100644 --- a/content/_minutes/2022-01-28-mgm-minutes.md +++ b/content/_minutes/2022-01-28-mgm-minutes.md @@ -29,7 +29,7 @@ This has previously been discussed on the [July 2021 MGM][2021-07-sm], and the
Patch for bylaws change -```patch +{% highlight diff %} bylaws.md | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) @@ -133,7 +133,7 @@ index 0000000..0000000 100644 ## Specialised Committees 1. There are three specialised committees: Operations, Engineering, and -``` +{% endhighlight %}
@@ -149,7 +149,7 @@ adopted. This increases the retention period for abuse mitigation data.
Patch for privacy policy change -```patch +{% highlight diff %} privacy.md | 10 ++++++++++ 1 file changed, 10 insertions(+) @@ -174,7 +174,7 @@ index 0000000..0000000 100644 Data collected by email or our support system in relation to project registration, sponsorship and channel namespace management will be stored at least until the project is deregistered or the sponsorship is terminated, this -``` +{% endhighlight %}
diff --git a/static/css/additional-styles.css b/static/css/additional-styles.css index 16a82d2..0c3253e 100644 --- a/static/css/additional-styles.css +++ b/static/css/additional-styles.css @@ -25,8 +25,8 @@ font-display: swap; } -code, pre, kbd { - font-family: 'Ubuntu Mono', monospace; +code, pre, kbd, code *, pre *, kbd * { + font-family: 'Ubuntu Mono', monospace !important; background-color: var(--c-bg-secondary); overflow-x: auto; border-radius: .3rem; diff --git a/static/css/code-style.css b/static/css/code-style.css new file mode 100644 index 0000000..eef1ace --- /dev/null +++ b/static/css/code-style.css @@ -0,0 +1,78 @@ +.highlight table td { padding: 5px; } +.highlight table pre { margin: 0; } +.highlight, .highlight .w { + color: #f8f8f2; + background-color: #272822; +} +.highlight .err { + color: #151515; + background-color: #ac4142; +} +.highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs { + color: #505050; +} +.highlight .cp { + color: #f4bf75; +} +.highlight .nt { + color: #f4bf75; +} +.highlight .o, .highlight .ow { + color: #d0d0d0; +} +.highlight .p, .highlight .pi { + color: #d0d0d0; +} +.highlight .gi { + color: #90a959; +} +.highlight .gd { + color: #ac4142; +} +.highlight .gh { + color: #6a9fb5; + background-color: #151515; + font-weight: bold; +} +.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv { + color: #aa759f; +} +.highlight .kc { + color: #d28445; +} +.highlight .kt { + color: #d28445; +} +.highlight .kd { + color: #d28445; +} +.highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 { + color: #90a959; +} +.highlight .sr { + color: #75b5aa; +} +.highlight .si { + color: #8f5536; +} +.highlight .se { + color: #8f5536; +} +.highlight .nn { + color: #f4bf75; +} +.highlight .nc { + color: #f4bf75; +} +.highlight .no { + color: #f4bf75; +} +.highlight .na { + color: #6a9fb5; +} +.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx { + color: #90a959; +} +.highlight .ss { + color: #90a959; +}