Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
datapolitical committed Jul 15, 2023
1 parent f439059 commit 41949e5
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,36 +33,6 @@
<style>{% capture sass_critical %}{% include critical.scss %}{% endcapture %}{% if site.show_critical_css %}{{ sass_critical | scssify }}{% endif %}</style>

{% if page.url == "/recipes/" or page.url == "/recipes.html" %}
<style>{% for category in site.data.recipe_categories %}
[value="{{category.name}}"]:checked ~ .filters [for="{{category.name}}"]{% unless forloop.last %},
{% endunless %}{% endfor %} {
background: transparent;
color: var(--white);
border-bottom: 0.25rem solid #DCE0E6;
padding: 0.25rem;
margin-bottom: -.25rem;
}

{% for category in site.data.recipe_categories %}
[value="{{category.name}}"]:not(:checked) ~ ol li label[for="{{category.name}}"]{% unless forloop.last %},
{% endunless %}{% endfor %} {
color: #AFAFBD;
}

{% for category in site.data.recipe_categories %}
[value="{{category.name}}"]:not(:checked) ~ ol li label:hover[for="{{category.name}}"]{% unless forloop.last %},
{% endunless %}{% endfor %} {
color: #FAFA33;
}

[value="All"]:checked ~ .image-grid [data-category] {
display: block;
}
{% for category in site.data.recipe_categories offset:1 %}
[value="{{category.name}}"]:checked ~ .image-grid .image-container:not([data-category~="{{category.name}}"]){% unless forloop.last %},
{% endunless %}{% endfor %} {
display: none;
}</style>
{% include tabs-css.html %}
{% include meta-image.html %}
{% elsif page.url contains "recipes" %}
Expand Down

0 comments on commit 41949e5

Please sign in to comment.