overleaf/services/web/frontend/stylesheets/bootstrap-5/pages/website-redesign.scss
Jessica Lawshe f2d986feb8 Merge pull request #20431 from overleaf/jel-cms-bs5-card
[web] Update cards for CMS BS5 pages

GitOrigin-RevId: d398f534993c187c2010a69d8ae0e5a067ab2a40
2024-09-19 08:05:04 +00:00

43 lines
856 B
SCSS

// TODO: .website-redesign to be removed once fully rolled out
.website-redesign {
// hero section of features, enterprises, and universities will have an image that will overflow the page
overflow-x: hidden;
a {
text-decoration: none;
&:focus,
&:focus-visible {
outline: 0;
}
&:focus-visible {
@include focus-style;
}
// TODO: remove visited?
i {
vertical-align: middle;
margin-left: var(--spacing-02);
}
&.link-lg {
font-size: var(--font-size-04);
line-height: var(--line-height-03);
i {
font-size: 24px;
line-height: inherit;
}
}
}
.card {
--bs-card-bg: var(--neutral-10);
--bs-card-border-radius: var(--border-radius-large);
--bs-card-spacer-y: var(--spacing-08);
--bs-card-spacer-x: var(--spacing-08);
}
}