mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 04:46:05 -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 }}"
|
x-ref="{{ .ID }}"
|
||||||
@click.stop="setActive('{{ .ID }}')"
|
@click.stop="setActive('{{ .ID }}')"
|
||||||
class="block pb-1 text-blue-600 hover:text-blue-500{{ if gt .Level 2 }}
|
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 }}
|
{{ else }}
|
||||||
text-sm
|
text-sm
|
||||||
{{ end }}"
|
{{ end }}"
|
||||||
|
@ -15,7 +15,8 @@
|
|||||||
{{- $codeLang = cond (eq $ext "html") "go-html-template" $ext }}
|
{{- $codeLang = cond (eq $ext "html") "go-html-template" $ext }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<div
|
<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>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user