Skip to content

Commit

Permalink
link hovering fixes - Update _footer.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarbendale2004 authored Oct 2, 2024
1 parent 4fcbc04 commit fced137
Showing 1 changed file with 36 additions and 2 deletions.
38 changes: 36 additions & 2 deletions site/themes/carvel/assets/scss/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,21 @@ footer {
padding-right: 0px;
}
}

a {
color: $darkgrey;
font-weight: 300;
font-size: 12px;
font-family: $metropolis-light;
text-decoration: none;

&:hover {
color: darken($darkgrey, 15%); // Darken color on hover
font-weight: 400; // Adjust font weight on hover if needed
text-decoration: underline; // Add underline for hover state
}
}

.right-links {
padding: 0px;
li {
Expand All @@ -33,27 +48,42 @@ footer {
font-weight: 300;
font-size: 12px;
font-family: $metropolis-light;
text-decoration: none;

&:hover {
color: $blue; // Customize hover color for right-links
}
}
}
.mobile {
display: none;
}
}

.left-links {
p {
margin: 0px;
}
.copywrite {
font-size: 12px;
padding-right: 10px;
a {
a {
font-size: 12px;
color: $darkgrey;
font-family: $metropolis-light;

&:hover {
color: lighten($darkgrey, 10%); // Custom hover for copywrite links
text-decoration: underline;
}
}
}
a {
vertical-align: middle;

&:hover {
color: $blue; // Global hover style for left-links
}
}
img {
height: 46px;
Expand All @@ -74,6 +104,10 @@ footer {
font-size: 12px;
font-family: $metropolis-light;
vertical-align: middle;

&:hover {
color: $blue; // Customize hover effect for bottom links
}
}
img {
height: 30px;
Expand Down Expand Up @@ -112,4 +146,4 @@ footer {
}
}
}
}
}

0 comments on commit fced137

Please sign in to comment.