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" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
<div class="taxonomy">
|
||||
<ul>
|
||||
<div>
|
||||
<ul class="taxonomy-list">
|
||||
{{ range .Pages }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
||||
<li class="taxonomy-item"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -262,10 +262,13 @@ figure > figcaption h4 {
|
|||
|
||||
}
|
||||
|
||||
.taxonomy {
|
||||
-webkit-column-width: 200px;
|
||||
-moz-column-width: 200px;
|
||||
column-width: 200px;
|
||||
.taxonomy-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit,minmax(150px, 1fr));
|
||||
}
|
||||
|
||||
.taxonomy-item {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.ais-SearchBox {
|
||||
|
|
|
@ -985,10 +985,13 @@ figure > figcaption h4 {
|
|||
margin-left: 10rem;
|
||||
}
|
||||
|
||||
.taxonomy {
|
||||
-webkit-column-width: 150px;
|
||||
-moz-column-width: 150px;
|
||||
column-width: 150px;
|
||||
.taxonomy-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
||||
}
|
||||
|
||||
.taxonomy-item {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.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