overleaf/services/web/frontend/stylesheets/bootstrap-5/base/links.scss
Jessica Lawshe 3b839dc885 Merge pull request #20382 from overleaf/jel-bs5-website-redesign
[web] Begin to migrate `website-redesign.less` to BS5

GitOrigin-RevId: e3cf2162e819f7c137bbc2715dcd9a9fe6d72f3f
2024-09-17 08:06:21 +00:00

31 lines
505 B
SCSS

// Links
// Use CSS variables for link colors to make it easy to override in marketing page
:root {
--link-color: var(--link-ui);
--link-hover-color: var(--link-ui-hover);
--link-visited-color: var(--link-ui-visited);
}
a {
color: var(--link-color);
&:hover {
color: var(--link-hover-color);
}
&:visited {
color: var(--link-visited-color);
}
}
.link-monospace {
@extend .dm-mono;
font-weight: 500;
color: var(--green-50);
&:hover {
color: var(--green-60);
}
}