mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 22:54:41 -04:00
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:
parent
ecad978216
commit
b03b96082d
@ -24,7 +24,7 @@
|
||||
x-ref="{{ .ID }}"
|
||||
@click.stop="setActive('{{ .ID }}')"
|
||||
class="block pb-1 text-blue-600 hover:text-blue-500{{ if gt .Level 2 }}
|
||||
ml-1 text-sm
|
||||
ml-2 lg:ml-3 text-sm
|
||||
{{ else }}
|
||||
text-sm
|
||||
{{ end }}"
|
||||
|
@ -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 -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user