mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
76b9058acb
[web] CMS - Add styles for large black link with angled arrow GitOrigin-RevId: d33f6b121d51619cd373c4ede2266f7ef4da2754
49 lines
800 B
SCSS
49 lines
800 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);
|
|
|
|
&: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;
|
|
}
|
|
}
|