collapsed menu right arrow, uncollapsed down arrow (#332)

This commit is contained in:
Pim Snel 2021-05-03 21:18:49 +02:00 committed by GitHub
parent 51140a8026
commit e0823c2138
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -125,6 +125,14 @@ ul.pagination {
input.toggle:checked + label + ul { input.toggle:checked + label + ul {
display: block; display: block;
} }
input.toggle + label::after {
content: "";
}
input.toggle:checked + label::after {
content: "";
}
} }
.book-section-flat { .book-section-flat {

View file

@ -34,7 +34,6 @@
<a {{ if .Page.Content }}href="{{ .Page.Permalink }}"{{ end }} class="{{ if $current }}active{{ end }}"> <a {{ if .Page.Content }}href="{{ .Page.Permalink }}"{{ end }} class="{{ if $current }}active{{ end }}">
{{- partial "docs/title" .Page -}} {{- partial "docs/title" .Page -}}
</a> </a>
<span></span>
</label> </label>
{{ else if .Page.Content }} {{ else if .Page.Content }}
<a href="{{ .Page.Permalink }}" class="{{ if $current }} active{{ end }}"> <a href="{{ .Page.Permalink }}" class="{{ if $current }} active{{ end }}">