theme: Misc style adjustments

* Indent the toc level 2 a little
* Adjust code shortcode file bacground and make it unselectable

Closes #2882
This commit is contained in:
Bjørn Erik Pedersen
2025-02-12 10:09:27 +01:00
parent ecad978216
commit b03b96082d
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -15,7 +15,8 @@
{{- $codeLang = cond (eq $ext "html") "go-html-template" $ext }}
{{- end }}
<div
class="san-serif text-sm inline-block leading-none pl-2 py-3 bg-slate-700 dark: w-full">
class="san-serif text-sm inline-block leading-none pl-2 py-3 bg-gray-300 dark:bg-slate-700 dark: w-full select-none
">
{{ . }}
</div>
{{- end -}}