diff --git a/_sass/components/_toolkit.scss b/_sass/components/_toolkit.scss index 874856d1d3..feeaf90093 100644 --- a/_sass/components/_toolkit.scss +++ b/_sass/components/_toolkit.scss @@ -151,6 +151,12 @@ .toolkit__card-list { margin-bottom: 10rem; + @media (min-width: 1232px) and (max-width: 1400px) { + padding-top: 1.7rem; + } + @media #{$bp-desktop-large-up} { + padding-top: 1.7rem; + } } @media only screen and (max-width: 1430px) { diff --git a/pages/toolkit.html b/pages/toolkit.html index fa96580a8d..799bfb6a3c 100644 --- a/pages/toolkit.html +++ b/pages/toolkit.html @@ -2,14 +2,17 @@ layout: default title: Toolkit permalink: /toolkit/ ---- +---

Our Toolkit

Toolkit implies that there is one set of tools that is perfect for the job you are tackling! - What you will find here are tools we have found to be effective. Think of this as the most awesome collective tool shed! - Here you can find, share, and suggest tools that are of use to the open source civic tech software community.

+ What you will find here are tools we have found to be effective. Think of this as the most awesome + collective tool shed! + Here you can find, share, and suggest tools that are of use to the open source civic tech software + community. +

@@ -18,14 +21,15 @@

Our Toolkit

{% assign category_list = "All, Development, Design, Project Management, Professional Development" | split: ", " %} {% for category in category_list %} {% if category == "All" %} - {{category}} + {{category}} {% else %} - {{ category }} + {{ category }} {% endif %} {% endfor %}
+
@@ -47,88 +51,93 @@

Guides

{%- include guide-card.html guide=item -%} {%- endif -%} {%- endfor -%} +
-
- + let cardContainers = document.querySelectorAll("[data-article-type]"); + let guidesCategories = ["all", "development", "design", "projectmanagement", "professionaldevelopment"] + if(guidesCategories.includes(currentHash)){ + cardContainers.forEach((card) => { + if (currentHash == 'all') { + card.style.display = 'block'; + return; + } + card.dataset.articleType == currentHash ? card.style.display = "block" : card.style.display = "none"; + }); + } + } + -
-
-
-

External Resources

- -
- -
- {%- for item in site.data.internal.toolkitresources -%} - {%- if item.display == true -%} -
- {%- if item.svg -%} -
- {% include {{ item.svg }} %} -
- {%- endif -%} + +
+
+
+

External Resources

+ +
+ +
+ {%- for item in site.data.internal.toolkitresources -%} + {%- if item.display == true -%} +
+ {%- if item.svg -%} +
+ {% include {{ item.svg }} %} +
+ {%- endif -%} -
-

{{ item.title }}

-

{{ item.description }}

-
- - {% include {{ item.link-svg }} %} - +
+

{{ item.title }}

+

{{ item.description }}

+
+ + {% include {{ item.link-svg }} %} + +
+ {%- endif -%} + {%- endfor -%} +
- {%- endif -%} - {%- endfor -%} -
-
-
+
\ No newline at end of file