From 74e7e69a3a3e6d990f3bf95a553a5e5f10fcebb6 Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 16 Jan 2024 16:10:24 +0100 Subject: [PATCH] Implement changes for supplementary website redesign pages (#16535) * Fix space between 'See all plans' and 'or' * Tweak hero cards on /for/ pages to closer match design * Fix 'See all plans' text size and link underlines * Change info card padding after markup feedback * Underline inline green link * Reduce LaTeX on Overleaf padding by half (100->50px) GitOrigin-RevId: b83e43725e8ced55904837a270104fdc414fe639 --- .../stylesheets/app/website-redesign.less | 33 +++++++++++++++---- 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/services/web/frontend/stylesheets/app/website-redesign.less b/services/web/frontend/stylesheets/app/website-redesign.less index 90313d8ff3..2d54988f44 100644 --- a/services/web/frontend/stylesheets/app/website-redesign.less +++ b/services/web/frontend/stylesheets/app/website-redesign.less @@ -113,6 +113,10 @@ } } + .plans-bottom-text { + font-size: 1.125rem; + } + .info-cards { @media (min-width: @screen-md-min) { display: flex; /* equal heights */ @@ -120,19 +124,14 @@ } .info-card-container { - min-height: 348px; margin-bottom: 16px; - @media (max-width: @screen-sm-max) { - min-height: unset; - } - .info-card { border-radius: 8px; height: 100%; box-shadow: 0px 2px 4px 0px rgba(30, 37, 48, 0.16); border-top: 8px solid #2f4858; - padding: 48px 40px 48px 40px; + padding: 32px 40px 32px 40px; &.info-card-big-text { h3 { @@ -237,6 +236,21 @@ } } + .features-card-hero { + /* borrow from features-card, but rewrite if needed before adding too many overrides */ + .features-card; + + padding-top: @line-height-computed * 2; + + .features-card-description, + .features-card-description-list { + p { + font-size: 1.25rem; + width: 90%; + } + } + } + .top-image-cards { .top-image-card { > img.img-responsive { @@ -538,6 +552,13 @@ } } + .green-link-underline { + .green-link; + + /* TODO: implement standard links correctly when design fully rolls out */ + text-decoration: underline; + } + .white-link { .link-with-arrow; color: white;