overleaf/services/web/frontend/stylesheets/bootstrap-5/base/links.scss
Tim Down 4138f9707a Merge pull request #20860 from overleaf/td-bs5-history-versions-list
Migrate history versions list to Bootstrap 5

GitOrigin-RevId: 4e006ad353cb11eadaefb2df41d2b8591003c664
2024-10-14 11:11:01 +00:00

52 lines
954 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);
--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);
}
a {
color: var(--link-color);
&:visited {
color: var(--link-visited-color);
}
&:hover {
color: var(--link-hover-color);
}
}
.link-monospace {
@extend .dm-mono;
font-weight: 500;
color: var(--green-50);
&:hover {
color: var(--green-60);
}
}
.link-black-full-width {
display: flex;
width: 100%;
justify-content: space-between;
color: var(--neutral-90);
font-weight: 600;
text-decoration: none;
&:visited {
color: var(--neutral-90);
}
&:hover {
color: var(--neutral-90);
text-decoration: underline;
}
}