mirror of
https://git.coop/cotech/website.git
synced 2024-11-21 22:33:05 +00:00
vertical align co-op images on technology pages
This commit is contained in:
parent
540911839d
commit
ac96faf6ba
@ -42,8 +42,8 @@
|
||||
{% for coop in site.coops %}
|
||||
{% if coop.services contains page.slug %}
|
||||
<div class="column">
|
||||
<a href="{{ coop.url | relative_url }}" class="coop-thumb">
|
||||
<img src="/images/coops/{{ coop.slug }}" alt="{{ coop.name }}" id="#{{ coop.slug }}">
|
||||
<a href="{{ coop.url | relative_url }}" class="coop-thumb" id="#{{ coop.slug }}">
|
||||
<img src="/images/coops/{{ coop.slug }}" alt="{{ coop.name }}">
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@ -42,7 +42,7 @@
|
||||
{% for coop in site.coops %}
|
||||
{% if coop.technologies contains page.slug %}
|
||||
<div class="column">
|
||||
<a href="{{ coop.url | relative_url }}" class="coop-thumb">
|
||||
<a href="{{ coop.url | relative_url }}" class="coop-thumb" id="#{{ coop.slug }}">
|
||||
<img src="/images/coops/{{ coop.slug }}" alt="{{ coop.name }}">
|
||||
</a>
|
||||
</div>
|
||||
|
@ -6683,7 +6683,8 @@ a:focus {
|
||||
.coop-thumb img {
|
||||
max-height: 100%; }
|
||||
|
||||
/* Vertical align coop logos on services pages */
|
||||
/* Vertical align coop logos on technology and services pages */
|
||||
.technology #grid .coop-thumb,
|
||||
.service #grid .coop-thumb {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
Loading…
Reference in New Issue
Block a user