Merge pull request #21956 from overleaf/td-link-underlines

Use CSS variable for link hover underlines

GitOrigin-RevId: 7fa82edab808ed593bb52126869f286673915e18
This commit is contained in:
Tim Down 2024-11-26 15:27:38 +00:00 committed by Copybot
parent 3d7254b419
commit d0ca742a93
2 changed files with 3 additions and 4 deletions

View file

@ -8,6 +8,7 @@
--link-color-dark: var(--link-ui-dark);
--link-hover-color-dark: var(--link-ui-hover-dark);
--link-visited-color-dark: var(--link-ui-visited-dark);
--link-hover-text-decoration: none;
}
a {
@ -19,6 +20,7 @@ a {
&:hover {
color: var(--link-hover-color);
text-decoration: var(--link-hover-text-decoration);
}
}

View file

@ -33,10 +33,7 @@
--link-color: var(--link-web);
--link-hover-color: var(--link-web-hover);
--link-visited-color: var(--link-web-visited);
a:hover {
text-decoration: underline;
}
--link-hover-text-decoration: underline;
}
// hero section of features, enterprises, and universities will have an image that will overflow the page