Skip to content

Commit 382d045

Browse files
Fixed headline font sizing and padding on headline
1 parent d7485e0 commit 382d045

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

_sass/_typography.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,14 @@ h3 {
3232
.row.spaced {
3333
margin-top: 2em;
3434
}
35+
36+
#headline {
37+
font-size: 1.4em;
38+
}
39+
@media screen and (max-width: 400px) {
40+
#headline {
41+
font-size: 1.0em;
42+
padding-right: 0.4em;
43+
padding-left: 0.4em;
44+
}
45+
}

assets/css/main.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
# only Main files contain this front matter, not partials.
44
---
55

6-
$csh-pink: #b0197e;
76
$blue: #404b69;
87
$gray: #f4f4f6;
8+
$csh-pink: #b0197e;
9+
910

1011
body {
1112
width: 100%;
@@ -58,7 +59,7 @@ img.rounded,
5859
}
5960

6061
.stat_big {
61-
color: #b0197e;
62+
color: $csh-pink;
6263
font-size: 2.5em;
6364
font-weight: 600;
6465
margin: 0%;
@@ -84,7 +85,6 @@ img.rounded,
8485
}
8586

8687
.card-header {
87-
// white-space: nowrap;
8888
overflow: hidden;
8989
text-overflow: ellipsis;
9090
}

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
</div>
6161
</div>
6262

63-
<h2 style="text-align: center; font-size: 1.4em;">Getting more done <span style="color: #b0197e;">after 2am</span> than most people do all day.</h2>
63+
<h2 style="text-align: center;" id="headline">Getting more done <span style="color: #b0197e;">after 2am</span> than most people do all day.</h2>
6464

6565
<!-- Triple image set -->
6666
<div class="width_capped">
@@ -118,7 +118,7 @@ <h2 class="card-title">Visit CSH</h2>
118118
</div>
119119
</div>
120120

121-
<h2 class="left_offset" style="text-align: center;">Things we're working on ...</h2>
121+
<h2 style="text-align: center;" id="headline">Things we're working on ...</h2>
122122
<div class="quad_image">
123123
<div class="content">
124124

0 commit comments

Comments
 (0)