Files
overleaf-cep/services/web/frontend/stylesheets/base/links.scss
Rebeka Dekany 3f11776ecd Remove LESS stylesheets and dependencies (#27409)
* Remove components, core and modules LESS stylesheets

* Remove variables LESS stylesheets

* Remove app LESS stylesheets

* Remove github-sync, onboarding LESS stylesheets

* Remove main-light and IEEE LESS stylesheets

* Remove Less loader configuration

* Remove bootstrap-3 entrypoint

* Rename bootstrap-5 entrypoint to bootstrap

* Remove bootstrap-5 CSS folder and move stylesheets

* Update CSS variables

* Restore and update github-sync.scss path

* Fix try-premium.scss path and fix undefined mixin error

* Restore entrypoints

* Simplify buildCssPath to always use main-style.css

* Remove less from prettier formatting scripts

* Remove less from addHook extension

* Source format

* Remove nvd3 file reference from prettierignore (equivalent of nvd3.scss)

* Remove less and less-loader

* Add SCSS files to pirates require hook

GitOrigin-RevId: bd83c79f4d6ef7305d75993959a4dc5e7714ef9c
2025-08-06 08:05:38 +00:00

62 lines
1.2 KiB
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);
--link-text-decoration: underline;
--link-hover-text-decoration: none;
}
a {
color: var(--link-color);
text-decoration: var(--link-text-decoration);
&:visited {
color: var(--link-visited-color);
}
&:hover {
color: var(--link-hover-color);
text-decoration: var(--link-hover-text-decoration);
}
}
.link-monospace {
@include font-mono;
font-weight: 500;
color: var(--link-web);
&:hover {
color: var(--link-web-hover);
}
}
.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;
}