Skip to content

Commit

Permalink
adding hover states to nav
Browse files Browse the repository at this point in the history
  • Loading branch information
DanCollinz committed Feb 23, 2024
1 parent e16275f commit 835e92e
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 4 deletions.
8 changes: 7 additions & 1 deletion blocks/header/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
color: var(--gray-neutral-70);
font-weight: normal;
}
.header nav .nav-sections .top-nav.active{
border-bottom: 4px solid var(--brand-primary-strong);
color:var(--brand-primary-strong);

}

.header nav .nav-logo {
grid-area: logo;
Expand Down Expand Up @@ -131,7 +136,8 @@
display: none;
}

.header nav .nav-sections>ul>li.top-nav>a.active-arrow-down::after {
.header nav .nav-sections>ul>li.top-nav>a
.active-arrow-down::after {
background-image: url('images/down-arrow.png');
}

Expand Down
1 change: 1 addition & 0 deletions blocks/hero/default-hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@

.hero.block.default .content-wrapper .content p {
font-size: var(--body-font-size-l);
text-align:left;
}

.hero.block.default .content-wrapper .content p:nth-of-type(1) {
Expand Down
3 changes: 3 additions & 0 deletions icons/blood.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions icons/droplet.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ li {
line-height: var(--line-height-m);
color: var(--default-text-color);
gap:40px;
text-align: inherit;
text-align: center;
}

ul,
Expand Down Expand Up @@ -283,6 +283,7 @@ main .section.cards-container {
}
main .section.cards-container .default-content-wrapper:first-child p {
color: var(--brand-critical-strong);
text-align:left;
}

main .content-center .default-content-wrapper {
Expand All @@ -300,8 +301,9 @@ main .section.content-bump-out .default-content-wrapper {
position: relative;
padding-left: 58px;
}
main .section.content-bump-out .default-content-wrapperp:first-of-type {
text-align: center;

main .section.content-bump-out .default-content-wrapper p {
text-align: right;
}


Expand Down

0 comments on commit 835e92e

Please sign in to comment.