Skip to content

Commit aca9129

Browse files
committed
title for gender
1 parent 40f0b6c commit aca9129

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

website/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ <h2>How has gender representation evolved across Olympic sports and disciplines
8989
</div>
9090
<div class="slide" data-anchor="gender-container">
9191
<div id="gender-viz">
92+
<h2 class="gender-viz-title">Gender representation in Olympic sports</h2>
93+
<p class="gender-viz-subtitle">
94+
Hover over the disciplines to explore how men’s and women’s participation differs across sports and disciplines.
95+
</p>
96+
9297
<div id="gender-pie"></div>
9398

9499
<div class="gender-controls">

website/styles.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,25 @@ p {
382382
padding: 20px;
383383
}
384384

385+
.gender-viz-title {
386+
font-family: "Elms Sans", sans-serif;
387+
font-size: 28px;
388+
font-weight: 700;
389+
width: 100%;
390+
padding-bottom: 6px;
391+
margin: 0 auto;
392+
}
393+
394+
.gender-viz-subtitle {
395+
font-family: "Elms Sans", sans-serif;
396+
width: 70%;
397+
margin: 0 auto 10px;
398+
text-align: center;
399+
font-size: 16px;
400+
line-height: 1.25;
401+
color: rgba(255,255,255,0.75);
402+
}
403+
385404
/* =============================================
386405
Delegations section
387406
=========================================== */

0 commit comments

Comments
 (0)