Correction des tags sur plusieurs colonnes
This commit is contained in:
parent
9d5b3e18c4
commit
51eba12355
4 changed files with 18 additions and 12 deletions
|
@ -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>
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
2
static/css/theme.min.css
vendored
2
static/css/theme.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue