feat: improve members section responsiveness
This commit is contained in:
parent
efd93dc736
commit
2585f9cab2
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{% macro comrade(name, title, alt, avatar) %}
|
{% macro comrade(name, title, alt, avatar) %}
|
||||||
<div class="comrade">
|
<div class="comrade">
|
||||||
<img src="{{ avatar }}" alt-text="{{ alt }}" title="{{ title }}"></img>
|
<img class="comrade--picture" src="{{ avatar }}" alt-text="{{ alt }}" title="{{ title }}"></img>
|
||||||
<h4 aria-hidden="True">{{ name }}</h4>
|
<h4 aria-hidden="True">{{ name }}</h4>
|
||||||
</div>
|
</div>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
@ -52,7 +52,7 @@
|
||||||
where small is mighty, and fun knows no bounds!
|
where small is mighty, and fun knows no bounds!
|
||||||
{% endtrans %}
|
{% endtrans %}
|
||||||
</p>
|
</p>
|
||||||
<h2>{{ gettext("The team") }}</h2>
|
<h2 class="comrades--title">{{ gettext("The team") }}</h2>
|
||||||
<div class="comrades">
|
<div class="comrades">
|
||||||
{{ comrade(
|
{{ comrade(
|
||||||
"Aurel",
|
"Aurel",
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,10 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: var(--space-medium);
|
gap: var(--space-medium);
|
||||||
@media ($mobile-breakpoint) {
|
flex-wrap: wrap;
|
||||||
flex-direction: column;
|
|
||||||
|
&--title {
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -16,6 +18,12 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
&--picture {
|
||||||
|
@media($mobile-breakpoint) {
|
||||||
|
max-width: 120px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue