tags: leverage space in terms layout #530

This commit is contained in:
Sören Weber 2023-05-19 10:15:20 +02:00
parent 55549897c5
commit 53093085bd
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 10 additions and 1 deletions

View file

@ -9,7 +9,7 @@
{{- end }}
{{- $title = printf "%s %s %s" $title (default "::" .Site.Params.titleSeparator) (.Title | humanize) }}
<h1 id="{{ $title | anchorize }}">{{ $title }}</h1>
<ul>
<ul class="columnize">
{{- range sort .Pages "Title" }}
{{- $c:=""}}{{/* display pages of a term */}}
{{- if and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableTagHiddenPages true) ) }}

View file

@ -1768,3 +1768,12 @@ html[dir="rtl"] #sidebar ul.collapsible-menu > li > label > i.fa-chevron-right {
.tax-box {
width: 18rem;
}
.columnize{
column-count: 2;
}
@media screen and (min-width: 79.25rem) {
.columnize{
column-count: 3;
}
}