Commit 58f14525 authored by Tobias Bengfort's avatar Tobias Bengfort
Browse files

fix filter display

inherit may not be correct, better not to overwrite it in the first
place
parent 38c3a4ae
......@@ -281,16 +281,11 @@ a.card:hover {
cursor: pointer;
margin-bottom: 0.4em;
}
#filter-full-game:not(:checked) ~ .tiles [data-category="full game"],
#filter-jam:not(:checked) ~ .tiles [data-category="jam"],
#filter-prototype:not(:checked) ~ .tiles [data-category="prototype"] {
#filter-all:not(:checked) ~ #filter-full-game:not(:checked) ~ .tiles [data-category="full game"],
#filter-all:not(:checked) ~ #filter-jam:not(:checked) ~ .tiles [data-category="jam"],
#filter-all:not(:checked) ~ #filter-prototype:not(:checked) ~ .tiles [data-category="prototype"] {
display: none !important;
}
#filter-all:checked ~ .tiles [data-category="prototype"],
#filter-all:checked ~ .tiles [data-category="jam"],
#filter-all:checked ~ .tiles [data-category="full game"] {
display: inherit !important;
}
#filter-all:checked ~ #filters [for="filter-all"],
#filter-full-game:checked ~ #filters [for="filter-full-game"],
#filter-jam:checked ~ #filters [for="filter-jam"],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment