mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-02 18:40:21 -05:00
ce0fa69402
Bootstrap 5 Sass code tidy GitOrigin-RevId: 550add757c5bf1476446ad31c386c0a4e5522a9e
57 lines
1,007 B
SCSS
57 lines
1,007 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 {
|
|
@include font-mono;
|
|
|
|
font-weight: 500;
|
|
color: var(--green-50);
|
|
|
|
&:hover {
|
|
color: var(--green-60);
|
|
}
|
|
}
|
|
|
|
.link-black-text {
|
|
color: var(--neutral-90);
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
|
|
&:visited {
|
|
color: var(--neutral-90);
|
|
}
|
|
|
|
&:hover {
|
|
color: var(--neutral-90);
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.link-black-full-width {
|
|
@extend .link-black-text;
|
|
|
|
display: flex;
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
}
|