3
0
mirror of https://git.coop/cotech/website.git synced 2025-12-23 07:17:32 +00:00

Display co-op logos and services in a grid

This commit is contained in:
Chris Lowis
2025-12-15 13:17:39 +00:00
parent 702d42f892
commit 4648499813
2 changed files with 73 additions and 46 deletions

View File

@ -177,7 +177,6 @@ section {
display: flex;
justify-content: center;
}
}
.stack {
display: flex;
@ -215,6 +214,32 @@ section {
color: var(--cotech-white);
}
.grid {
display: grid;
grid-gap: var(--space-sm);
grid-template-columns: 1fr;
align-items: stretch;
}
.grid a {
display: flex;
height: 100%;
}
.grid-dense {
grid-template-columns: 1fr 1fr;
}
@media (min-width: 420px) {
.grid {
grid-template-columns: 1fr 1fr;
}
.grid-dense {
grid-template-columns: 1fr 1fr 1fr 1fr;
}
}
.header {
display: flex;
padding: var(--space-lg) var(--space-md);

View File

@ -22,6 +22,7 @@ layout: default
particularly when it comes to democratic ownership and
decision-making.</p>
<div class="grid">
<div class="box stack">
<h3 class="title">Digital products & platforms</h3>
<ul>
@ -70,13 +71,14 @@ layout: default
<li>Service Design</li>
</ul>
</div>
</div>
</section>
<section id="members" class="stack">
<h2>Our members</h2>
<p class="intro">Meet the coops behind CoTech</p>
<div>
<div class="grid grid-dense">
{% for coop in site.coops %}
<a href="{{ coop.url | relative_url }}">
<div class="box">