add sorting filters by name

This commit is contained in:
rhiannon morris 2022-11-12 12:13:44 +01:00
parent 1b839fcc21
commit a2344f4989
3 changed files with 71 additions and 16 deletions

View file

@ -18,16 +18,11 @@
margin: 1em 0 2em 0;
}
#filters h3, #clear, #singles {
#filters h3 {
margin: 0;
}
#clear, #singles {
font-weight: 400;
font-size: 110%;
}
#filters h3, #clear {
#filters h3 {
text-align: right;
grid-area: auto / 1;
}
@ -41,12 +36,12 @@
#filters div {
grid-template-columns: auto;
}
#filters h3, #clear {
#filters h3 {
text-align: left;
}
}
#filters ul {
#filters .bb-choice {
font-weight: 400;
font-size: 90%;
margin: 0;
@ -57,11 +52,11 @@
grid-gap: 1px;
}
#filters ul:focus-within {
#filters .bb-choice:focus-within {
box-shadow: var(--focus-box);
}
#filters li {
#filters .bb-choice li {
margin: 0;
flex-grow: 1;
}
@ -85,6 +80,20 @@
padding-left: 0.25em;
}
#filterstuff {
grid-area: auto / span 2;
display: flex;
justify-content: center;
margin-top: 0;
gap: 2em;
}
#filterstuff li {
list-style: none;
font-weight: 400;
}
.grid {
padding: 0;
display: grid;