Skip to content

Commit

Permalink
enhancement/issue 30 apply bold font family to key home page headings (
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 authored Sep 20, 2024
1 parent 9158ed5 commit 65dfc1d
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
}

.heading {
font-family: var(--font-primary-bold);
font-size: var(--font-size-6);
font-weight: var(--font-weight-9);
}

.subHeading {
Expand All @@ -32,7 +32,6 @@

.icon span {
vertical-align: middle;
font-weight: var(--font-weight-9);
display: inline-block;
}

Expand Down
7 changes: 4 additions & 3 deletions src/components/capabilities/capabilities.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
}

.heading {
font-family: var(--font-primary-bold);
font-size: var(--font-size-6);
}

Expand Down Expand Up @@ -40,8 +41,8 @@

.section:hover strong,
.active strong {
font-family: var(--font-primary-bold);
color: var(--color-white);
font-weight: bold;
}

.active {
Expand All @@ -67,13 +68,13 @@

.heading {
font-size: var(--font-size-fluid-3);
font-weight: bold;
font-family: var(--font-primary-bold);
margin: 0;
}

.capability-heading {
font-size: var(--font-size-fluid-1);
font-weight: bold;
font-family: var(--font-primary-bold);
margin: var(--size-px-1) 0;
display: inline-block;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/get-started/get-started.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
}

.heading {
font-family: var(--font-primary-bold);
font-size: var(--font-size-5);
font-weight: var(--font-weight-9);
}

.snippet {
Expand Down
4 changes: 0 additions & 4 deletions src/components/header/header.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@
text-decoration: underline;
}

.navBarMenuItem:hover {
font-weight: bold;
}

.socialTray {
display: flex;
gap: var(--size-3);
Expand Down
16 changes: 11 additions & 5 deletions src/components/hero-banner/hero-banner.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
}

.heading {
font-size: var(--font-size-7);
font-weight: var(--font-weight-7);
font-family: var(--font-primary-bold);
font-size: var(--font-size-6);
margin-block-start: 0;
margin-block-end: 0;
}

.headingEmphasis {
font-size: var(--font-size-7);
font-weight: var(--font-weight-7);
font-size: var(--font-size-6);
font-family: var(--font-primary-bold);
font-style: italic;
}

Expand Down Expand Up @@ -104,6 +104,11 @@
}

@media (min-width: 768px) {
.heading,
.headingEmphasis {
font-size: var(--font-size-7);
}

.buttonBlitz,
.buttonStarted {
width: 45%;
Expand All @@ -119,7 +124,8 @@
}
}

@media (min-width: 1024px) {
/* use 1025 as a quick tweak for iPad Pro breakpoint */
@media (min-width: 1025px) {
.ctaContainer {
margin: 0 auto;
text-align: left;
Expand Down
2 changes: 1 addition & 1 deletion src/components/run-anywhere/run-anywhere.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
}

.heading {
font-family: var(--font-primary-bold);
font-size: var(--font-size-5);
font-weight: var(--font-weight-9);
margin: 0;
padding: var(--size-fluid-1) 0;
text-align: center;
Expand Down
2 changes: 1 addition & 1 deletion src/components/why-greenwood/why-greenwood.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
}

.heading {
font-family: var(--font-primary-bold);
font-size: var(--font-size-6);
font-weight: var(--font-weight-9);
font-style: italic;
}

Expand Down
7 changes: 7 additions & 0 deletions src/styles/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ app-hero-banner {
}

@media (min-width: 1024px) {
app-hero-banner,
app-latest-post {
width: 80%;
}
}

@media (min-width: 1440px) {
app-hero-banner,
app-latest-post {
width: 70%;
Expand Down

0 comments on commit 65dfc1d

Please sign in to comment.