Skip to content

Commit 78a701b

Browse files
committed
Update layout TeamMember
1 parent e8f5981 commit 78a701b

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

src/components/sections/heros/TeamMember.astro

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ const { reversed } = Astro.props;
2727
margin: var(--section-margin) auto;
2828
min-height: clamp(90vh, 100vw, calc(100vh - var(--navbar-height)));
2929
display: grid;
30-
grid-template-columns: 1fr 1fr;
31-
align-items: left;
32-
gap: 0rem;
30+
grid-template-columns: 15% 85%;
31+
align-items: center;
32+
gap: 2rem;
3333
}
3434
.text-and-image__section--reversed .text-and-image__text {
3535
order: 2;
3636
}
3737
.text-and-image__text {
3838
padding: 0rem 0;
3939
justify-self: left;
40-
max-width: 25rem;
40+
max-width: 50rem;
4141
}
4242
.text-and-image__image :global(img) {
4343
width: 100%;
@@ -48,11 +48,11 @@ const { reversed } = Astro.props;
4848
}
4949
@media (max-width: 768px) {
5050
.text-and-image__section {
51-
margin: 2rem auto 0 auto;
51+
margin: 1rem auto 0 auto;
5252
grid-template-columns: 1fr;
5353
}
5454
.text-and-image__text {
55-
padding: 2rem 0;
55+
padding: 1rem 0;
5656
}
5757
}
5858
</style>

src/pages/apusok/software.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const seo = {
2323

2424
<p class="h_theme"> Primary development of </p>
2525
<TeamMember reversed>
26-
<div slot="text-container" style="margin-left: -230px;">
26+
<div slot="text-container">
2727
<h3 class="h_theme">FD-PDE Framework</h3>
2828
<ul class="h_theme">
2929
<li>The FD-PDE framework uses finite difference staggered grids for solving partial differential equations (PDEs)
@@ -38,7 +38,7 @@ const seo = {
3838
<Icon name="ic:baseline-chevron-right" />
3939
</Fragment></Button>
4040
</div>
41-
<picture slot="image-container" style="width: 40%;">
41+
<picture slot="image-container" style="width: 80%;">
4242
<img
4343
src="../../../assets/img/logo_transparent_small.png"
4444
alt="author"
@@ -62,7 +62,7 @@ const seo = {
6262
<Icon name="ic:baseline-chevron-right" />
6363
</Fragment></Button>
6464
</div>
65-
<picture slot="image-container">
65+
<picture slot="image-container" style="width: 80%;">
6666
<img
6767
src="../../../assets/img/logo_transparent_small.png"
6868
alt="author"

src/pages/apusok/team.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const seo = {
3232
Email: <a class="a_theme" href="mailto:[email protected]" rel="nofollow">[email protected]</a>
3333
</h4>
3434
</div>
35-
<picture slot="image-container" style="width: 40%;">
35+
<picture slot="image-container">
3636
<img
3737
src="../../../assets/img/profile2020.jpg"
3838
alt="author"
@@ -49,7 +49,7 @@ const seo = {
4949
<li>Melt extraction across the lithosphere</li>
5050
</ul>
5151
</div>
52-
<picture slot="image-container" style="width: 40%;">
52+
<picture slot="image-container">
5353
<img
5454
src="../../../assets/img/dandelion-seed.jpeg"
5555
alt="OceanMelt"
@@ -66,7 +66,7 @@ const seo = {
6666
<li>Formation of conjugate strike-slip fault systems</li>
6767
</ul>
6868
</div>
69-
<picture slot="image-container" style="width: 40%;">
69+
<picture slot="image-container">
7070
<img
7171
src="../../../assets/img/dandelion-seed.jpeg"
7272
alt="OceanMelt"

0 commit comments

Comments
 (0)