Skip to content

Commit

Permalink
fix: homepage style bugs (#296)
Browse files Browse the repository at this point in the history
* fix: homepage style bugs

* chore: fix homepage link styles
  • Loading branch information
alisonjoseph authored and vpicone committed Aug 1, 2019
1 parent 292b43b commit dfdd85c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ const Container = ({ children, homepage }) => {
/>
<div
aria-hidden={overlayVisible}
className={`${homepage ? 'container--homepage' : 'container'}`}
className={`${
homepage ? 'container--homepage container' : 'container'
}`}
>
{children}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@
.secondColumn {
@include carbon--type-style('expressive-paragraph-01', true);
}

.grid a {
text-decoration: none;

&:hover {
text-decoration: underline;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

.container--homepage a {
color: $carbon--blue-40;
text-decoration: none;

&:hover {
text-decoration: underline;
}
}

// Homepage image header area
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

.resource-card-group .#{$prefix}--resource-card--dark {
border-top-color: 1px solid $carbon--black-100;
border-top-color: $carbon--black-100;
}

.resource-card-group
Expand Down

1 comment on commit dfdd85c

@vercel
Copy link

@vercel vercel bot commented on dfdd85c Aug 1, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.