Correction des tags sur plusieurs colonnes

This commit is contained in:
Stanislas Jouffroy 2025-03-25 23:37:24 +01:00
parent 9d5b3e18c4
commit 51eba12355
4 changed files with 18 additions and 12 deletions

View file

@ -1,10 +1,10 @@
{{ define "main" }} {{ define "main" }}
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
{{ .Content }} {{ .Content }}
<div class="taxonomy"> <div>
<ul> <ul class="taxonomy-list">
{{ range .Pages }} {{ range .Pages }}
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li> <li class="taxonomy-item"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
{{ end }} {{ end }}
</ul> </ul>
</div> </div>

View file

@ -262,10 +262,13 @@ figure > figcaption h4 {
} }
.taxonomy { .taxonomy-list {
-webkit-column-width: 200px; display: grid;
-moz-column-width: 200px; grid-template-columns: repeat(auto-fit,minmax(150px, 1fr));
column-width: 200px; }
.taxonomy-item {
width: 80%;
} }
.ais-SearchBox { .ais-SearchBox {

View file

@ -985,10 +985,13 @@ figure > figcaption h4 {
margin-left: 10rem; margin-left: 10rem;
} }
.taxonomy { .taxonomy-list {
-webkit-column-width: 150px; display: grid;
-moz-column-width: 150px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
column-width: 150px; }
.taxonomy-item {
width: 80%;
} }
.ais-SearchBox .ais-SearchBox-input { .ais-SearchBox .ais-SearchBox-input {

File diff suppressed because one or more lines are too long