Merge pull request #16557 from overleaf/mf-fix-quote-card

Website-redesign - Change quote-card for all of the related website-redesign pages according to the figma design

GitOrigin-RevId: dd9a857a9b6ba18ad378676506721773b17118a3
This commit is contained in:
M Fahru 2024-01-17 09:55:48 -07:00 committed by Copybot
parent 0a8b79e519
commit 2ca2f1d360
6 changed files with 16 additions and 74 deletions

View file

@ -348,21 +348,20 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
padding: 48px; padding: 32px;
background: #2f4858; background: var(--deep-green);
color: white; color: white;
border-radius: 16px; border-radius: 16px;
.quote-card-quote { blockquote {
font-size: 1.875rem; // 30px font-size: 1.875rem; // 30px
font-weight: 600; font-weight: 600;
line-height: 2.5rem; // 40px line-height: 1.26;
letter-spacing: 0em;
text-align: center; text-align: center;
@media (max-width: @screen-sm-max) { @media (max-width: @screen-sm-max) {
font-size: 1.5rem; // 24px font-size: 1.5rem; // 24px
line-height: 2rem; // 32px line-height: 1.333;
} }
} }
@ -399,67 +398,6 @@
} }
} }
.testimonial-media {
border-radius: 24px;
.testimonial-media-text {
display: flex;
flex-direction: column;
min-height: 352px;
background-color: #2f4858;
color: var(--white);
border-top-left-radius: 24px;
border-top-right-radius: 0;
border-bottom-left-radius: 24px;
padding: 64px 56px;
@media (max-width: @screen-sm-max) {
border-top-left-radius: 24px;
border-top-right-radius: 24px;
border-bottom-left-radius: 0;
min-height: 316px;
padding: 56px 24px;
}
blockquote {
flex-grow: 1;
}
.testimonial-media-author {
font-size: 1.125rem;
line-height: 1.333;
@media (max-width: @screen-sm-max) {
font-size: 1rem;
line-height: 1.375;
}
}
}
.testimonial-media-video {
height: 100%;
min-height: 352px;
background-color: var(--neutral-20);
border-top-right-radius: 24px;
border-bottom-right-radius: 24px;
border-bottom-left-radius: 0;
display: flex;
align-items: center;
justify-content: center;
@media (max-width: @screen-sm-max) {
border-top-right-radius: 0;
border-bottom-right-radius: 24px;
border-bottom-left-radius: 24px;
}
video {
height: 100%;
width: 100%;
}
}
}
.security-info { .security-info {
.security-info-first-row { .security-info-first-row {
margin-bottom: 32px; margin-bottom: 32px;
@ -576,18 +514,18 @@
.round-background { .round-background {
border-radius: 50%; border-radius: 50%;
font-size: 25px; font-size: 1.5rem;
top: 4px; top: 4px;
vertical-align: middle; vertical-align: middle;
margin-right: 8px; margin-right: 8px;
width: 25px; width: 24px;
height: 25px; height: 24px;
} }
.green-round-background { .green-round-background {
.round-background; .round-background;
background: var(--green-10); background: var(--mint-green);
color: var(--green-40); color: var(--deep-green);
} }
.blue-round-background { .blue-round-background {
@ -602,7 +540,7 @@
font-size: 1.875rem; font-size: 1.875rem;
line-height: 1.333; line-height: 1.333;
font-weight: 600; font-weight: 600;
quotes: '\0022''\0022'; // use straight (" ") instead of curly ones (“ ”) quotes: '\201C''\201D'; // override default quotes
padding: unset; padding: unset;
margin: unset; margin: unset;
font-family: 'Noto Sans', sans-serif; font-family: 'Noto Sans', sans-serif;

View file

@ -92,8 +92,10 @@
@content-disabled: @content-disabled-on-light-bg; @content-disabled: @content-disabled-on-light-bg;
@content-placeholder: @content-placeholder-on-light-bg; @content-placeholder: @content-placeholder-on-light-bg;
// == website-redesign // == Website Redesign ==
@emerald-green: #098842; @emerald-green: #098842;
@mint-green: #80cb9c;
@deep-green: #0f2715;
@sapphire-blue: #4354a3; @sapphire-blue: #4354a3;
@sapphire-blue-dark: #3c4c93; @sapphire-blue-dark: #3c4c93;

View file

@ -82,6 +82,8 @@
// website-redesign // website-redesign
--emerald-green: @emerald-green; --emerald-green: @emerald-green;
--mint-green: @mint-green;
--deep-green: @deep-green;
--sapphire-blue: @sapphire-blue; --sapphire-blue: @sapphire-blue;
--sapphire-blue-dark: @sapphire-blue-dark; --sapphire-blue-dark: @sapphire-blue-dark;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB