Skip to content

Commit

Permalink
Link-style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Mar 12, 2023
1 parent b910afc commit cf99ac0
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions assets/scss/_styles_project.scss
Expand Up @@ -35,6 +35,10 @@
> a {
@extend .btn;
margin: 0.25rem;

&:hover {
text-decoration: none;
}
}
}
}
Expand Down Expand Up @@ -135,21 +139,21 @@
}
}

.td-box--dark a,
.td-box--primary a {
color: lighten($primary, 25%) !important;

&:hover {
.td-default, // E.g.: Homepage, Status, Search, 404; excludes navbar
.td-section main, .td-page main, // Doc and blog main content without left/right navs
.td-page-meta {
a:hover {
text-decoration: underline;
}
}

.td-box--secondary a {
color: darken($primary, 25%) !important;
.td-box--dark a,
.td-box--primary a {
color: lighten($primary, 25%) !important; // TODO: upstream
}

&:hover {
text-decoration: underline;
}
.td-box--secondary a {
color: darken($primary, 25%) !important; // TODO: upstream
}

// Adjust anchors scroll snap (https://github.com/open-telemetry/opentelemetry.io/pull/348)
Expand Down

0 comments on commit cf99ac0

Please sign in to comment.