Skip to content

Commit 65dfc1d

Browse files
enhancement/issue 30 apply bold font family to key home page headings (#85)
1 parent 9158ed5 commit 65dfc1d

File tree

8 files changed

+26
-17
lines changed

8 files changed

+26
-17
lines changed

src/components/build-with-friends/build-with-friends.module.css

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
}
55

66
.heading {
7+
font-family: var(--font-primary-bold);
78
font-size: var(--font-size-6);
8-
font-weight: var(--font-weight-9);
99
}
1010

1111
.subHeading {
@@ -32,7 +32,6 @@
3232

3333
.icon span {
3434
vertical-align: middle;
35-
font-weight: var(--font-weight-9);
3635
display: inline-block;
3736
}
3837

src/components/capabilities/capabilities.css

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
}
1010

1111
.heading {
12+
font-family: var(--font-primary-bold);
1213
font-size: var(--font-size-6);
1314
}
1415

@@ -40,8 +41,8 @@
4041

4142
.section:hover strong,
4243
.active strong {
44+
font-family: var(--font-primary-bold);
4345
color: var(--color-white);
44-
font-weight: bold;
4546
}
4647

4748
.active {
@@ -67,13 +68,13 @@
6768

6869
.heading {
6970
font-size: var(--font-size-fluid-3);
70-
font-weight: bold;
71+
font-family: var(--font-primary-bold);
7172
margin: 0;
7273
}
7374

7475
.capability-heading {
7576
font-size: var(--font-size-fluid-1);
76-
font-weight: bold;
77+
font-family: var(--font-primary-bold);
7778
margin: var(--size-px-1) 0;
7879
display: inline-block;
7980
}

src/components/get-started/get-started.module.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
}
77

88
.heading {
9+
font-family: var(--font-primary-bold);
910
font-size: var(--font-size-5);
10-
font-weight: var(--font-weight-9);
1111
}
1212

1313
.snippet {

src/components/header/header.module.css

-4
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@
4848
text-decoration: underline;
4949
}
5050

51-
.navBarMenuItem:hover {
52-
font-weight: bold;
53-
}
54-
5551
.socialTray {
5652
display: flex;
5753
gap: var(--size-3);

src/components/hero-banner/hero-banner.module.css

+11-5
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
}
66

77
.heading {
8-
font-size: var(--font-size-7);
9-
font-weight: var(--font-weight-7);
8+
font-family: var(--font-primary-bold);
9+
font-size: var(--font-size-6);
1010
margin-block-start: 0;
1111
margin-block-end: 0;
1212
}
1313

1414
.headingEmphasis {
15-
font-size: var(--font-size-7);
16-
font-weight: var(--font-weight-7);
15+
font-size: var(--font-size-6);
16+
font-family: var(--font-primary-bold);
1717
font-style: italic;
1818
}
1919

@@ -104,6 +104,11 @@
104104
}
105105

106106
@media (min-width: 768px) {
107+
.heading,
108+
.headingEmphasis {
109+
font-size: var(--font-size-7);
110+
}
111+
107112
.buttonBlitz,
108113
.buttonStarted {
109114
width: 45%;
@@ -119,7 +124,8 @@
119124
}
120125
}
121126

122-
@media (min-width: 1024px) {
127+
/* use 1025 as a quick tweak for iPad Pro breakpoint */
128+
@media (min-width: 1025px) {
123129
.ctaContainer {
124130
margin: 0 auto;
125131
text-align: left;

src/components/run-anywhere/run-anywhere.module.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
}
66

77
.heading {
8+
font-family: var(--font-primary-bold);
89
font-size: var(--font-size-5);
9-
font-weight: var(--font-weight-9);
1010
margin: 0;
1111
padding: var(--size-fluid-1) 0;
1212
text-align: center;

src/components/why-greenwood/why-greenwood.module.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
}
88

99
.heading {
10+
font-family: var(--font-primary-bold);
1011
font-size: var(--font-size-6);
11-
font-weight: var(--font-weight-9);
1212
font-style: italic;
1313
}
1414

src/styles/home.css

+7
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ app-hero-banner {
1616
}
1717

1818
@media (min-width: 1024px) {
19+
app-hero-banner,
20+
app-latest-post {
21+
width: 80%;
22+
}
23+
}
24+
25+
@media (min-width: 1440px) {
1926
app-hero-banner,
2027
app-latest-post {
2128
width: 70%;

0 commit comments

Comments
 (0)