Skip to content

Commit 86bc62a

Browse files
committed
intro text in two columns
1 parent 7376759 commit 86bc62a

2 files changed

Lines changed: 50 additions & 12 deletions

File tree

website/index.html

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,28 @@
3535

3636
<div class="section" data-anchor="introduction">
3737
<h2>How have sociocultural, economic, and geopolitical contexts been reflected in the Olympics over time?</h2>
38-
<p>
39-
At first glance, the Olympics look like so-called fair Games: the best atheletes compete, and the best win.
40-
But is it really that simple?
41-
The truth is, medals are influenced by much more than talent.
42-
</p>
43-
<p>
44-
Wealth, population, politics, and opportunities all play a role in who gets on the podium.
45-
We're going to see five axes behind medals in Olympics:
46-
gender representation, geography of medal winners, athlete body types, geopolitical disruptions, and economic fairness.
47-
Scroll through the story to see how social, political, and economic contexts have shaped
48-
the Games over time.
49-
</p>
38+
<div class="intro-columns">
39+
40+
<div class="intro-column">
41+
<p>
42+
At first glance, the Olympics look like so-called fair Games: the best athletes compete,
43+
and the best win. But is it really that simple?
44+
The truth is, medals are influenced by much more than talent.
45+
</p>
46+
</div>
47+
48+
<div class="intro-column">
49+
<p>
50+
Wealth, population, politics, and opportunities all play a role in who gets on the podium.
51+
We're going to see five axes behind medals in Olympics:
52+
gender representation, geography of medal winners, athlete body types,
53+
geopolitical disruptions, and economic fairness.
54+
Scroll through the story to see how social, political, and economic contexts
55+
have shaped the Games over time.
56+
</p>
57+
</div>
58+
59+
</div>
5060

5161
</div>
5262

website/styles.css

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,26 @@ p {
171171
flex-direction: column;
172172
}
173173

174+
.intro-columns {
175+
display: flex;
176+
justify-content: center;
177+
gap: 80px;
178+
width: 80%;
179+
margin: 0 auto;
180+
margin-top: 40px;
181+
}
182+
183+
.intro-column {
184+
flex: 1;
185+
max-width: 500px;
186+
}
187+
188+
.intro-column p {
189+
width: 100%;
190+
text-align: justify;
191+
margin: 0;
192+
}
193+
174194
/* =============================================
175195
Gender section
176196
=========================================== */
@@ -457,6 +477,14 @@ p {
457477
}
458478
}
459479

480+
@media (max-width: 900px) {
481+
.intro-columns {
482+
flex-direction: column;
483+
gap: 30px;
484+
width: 90%;
485+
}
486+
}
487+
460488
/* =============================================
461489
Geopolitics section
462490
=========================================== */

0 commit comments

Comments
 (0)