Skip to content

Commit 5263d15

Browse files
committed
Add boisdunant
1 parent 1bfc6f0 commit 5263d15

3 files changed

Lines changed: 27 additions & 9 deletions

File tree

data/organizations.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,6 @@ wilderauke:
9191
baieattitude:
9292
name: Baie-Attitude
9393
url: https://www.baie-attitude.ch
94+
boisdunant:
95+
name: La Ferme de Bois du Nant
96+
url: https://ferme-boisdunant.ch

source/_index.slim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ h3 class='mt-24 mx-auto md:w-5/6 text-center tracking-tight text-2xl md:text-4xl
5252
p class='mt-2 mx-auto md:w-7/12 text-center md:leading-normal text-xl font-normal'
5353
= t("features.subtitle2")
5454

55-
div class='mt-10 md:grid md:grid-cols-3 md:gap-6'
55+
div class='mt-10 md:grid md:grid-cols-3 mg:gap-4 lg:gap-6'
5656
= partial 'feature', locals: { \
5757
logo: 'building-storefront', \
5858
title: t('features.shop.title'), \
@@ -74,10 +74,10 @@ h3 id='organizations' class='mt-16 pt-8 mx-auto md:w-5/6 text-center tracking-ti
7474
p class='mt-2 mx-auto md:w-7/12 text-center md:leading-normal text-xl font-normal'
7575
= t("organizations.subtitle")
7676

77-
div class='mt-10 mx-auto px-4 grid grid-cols-3 md:grid-cols-8 gap-8'
77+
div class='mt-10 mx-auto px-4 grid grid-cols-3 md:grid-cols-8 gap-6 lg:gap-8'
7878
- data.organizations.each do |org, data|
79-
= link_to data.url, class: 'flex items-center no-underline', title: data.name
80-
= image_tag "https://cdn.csa-admin.org/logos/#{org}", class: 'size-16 md:size-24 mx-auto', alt: "#{data.name} (logo)", title: data.name
79+
= link_to data.url, class: 'size-16 md:size-20 lg:size-24 mx-auto flex items-center no-underline', title: data.name
80+
= image_tag "https://cdn.csa-admin.org/logos/#{org}", alt: "#{data.name} (logo)", title: data.name
8181

8282

8383
h4 id='contact' class='mt-20 pt-8 mx-auto md:w-5/6 text-center text-xl md:text-3xl font-bold'

source/stylesheets/site.css

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -752,8 +752,8 @@ strong {
752752
gap: 1rem;
753753
}
754754

755-
.gap-8 {
756-
gap: 2rem;
755+
.gap-6 {
756+
gap: 1.5rem;
757757
}
758758

759759
.scroll-smooth {
@@ -1062,9 +1062,9 @@ strong {
10621062
display: grid;
10631063
}
10641064

1065-
.md\:size-24 {
1066-
width: 6rem;
1067-
height: 6rem;
1065+
.md\:size-20 {
1066+
width: 5rem;
1067+
height: 5rem;
10681068
}
10691069

10701070
.md\:h-12 {
@@ -1166,3 +1166,18 @@ strong {
11661166
line-height: 1.5;
11671167
}
11681168
}
1169+
1170+
@media (min-width: 1024px) {
1171+
.lg\:size-24 {
1172+
width: 6rem;
1173+
height: 6rem;
1174+
}
1175+
1176+
.lg\:gap-6 {
1177+
gap: 1.5rem;
1178+
}
1179+
1180+
.lg\:gap-8 {
1181+
gap: 2rem;
1182+
}
1183+
}

0 commit comments

Comments
 (0)