some tidying, added screenshots

This commit is contained in:
Robert McGovern 2022-11-04 14:15:56 +00:00
parent b1b5630200
commit 3f09aa4445
4 changed files with 76 additions and 78 deletions

View File

@ -44,17 +44,17 @@
/* Typography */ /* Typography */
--fs-heading-xl: 3.5rem; --fs-heading-xl: 3.5rem;
--lh-heading-xl: 71px; --lh-heading-xl: 4.4375rem;
--fw-headings: 800; --fw-headings: 800;
--fs-heading-l: 2.5rem; --fs-heading-l: 2.5rem;
--lh-heading-l: 3.1875rem; --lh-heading-l: 3.1875rem;
--fs-heading-m: 24px; --fs-heading-m: 1.5rem;
--lh-heading-m: 2rem; --lh-heading-m: 2rem;
--fs-heading-s: 20px; --fs-heading-s: 1.25rem;
--lh-heading-s: 25px; --lh-heading-s: 1.5625rem;
--fs-body-m: 1.125rem; --fs-body-m: 1.125rem;
--lh-body-m: 1.75rem; --lh-body-m: 1.75rem;
@ -91,11 +91,11 @@ body {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 16px 16px 0px 16px; padding: 1rem 1rem 0 1rem;
} }
.logo { .logo {
width: 89px; width: 5.5625rem;
vertical-align: center; vertical-align: center;
} }
@ -107,7 +107,7 @@ body {
line-height: var(--lh-body-s); line-height: var(--lh-body-s);
font-weight: 700; font-weight: 700;
padding: 10px 24px; padding: 0.625rem 1.5rem;
border-radius: var(--border-radius); border-radius: var(--border-radius);
text-decoration: none; text-decoration: none;
} }
@ -122,8 +122,8 @@ body {
} }
.intro { .intro {
margin-top: 38px; margin-top: 2.375rem;
margin-inline: 16px; margin-inline: 1rem;
overflow: hidden; overflow: hidden;
} }
.intro__header { .intro__header {
@ -143,23 +143,28 @@ body {
color: var(--col-light-purple); color: var(--col-light-purple);
} }
.intro__body { .intro__body {
margin-top: 26px; margin-top: 1.625rem;
} }
.intro__getting-started { .intro__getting-started {
display: inline-block; display: inline-block;
margin-top: 24px; margin-top: 1.5rem;
padding: 15px 37.5px; padding: 0.9375rem 2.3438rem;
background: var(--col-orange-to-pink); background: var(--col-orange-to-pink);
color: var(--col-white); color: var(--col-white);
align-self: center; align-self: center;
} }
.intro__getting-started:where(:focus, :hover) {
background: var(--col-orange-to-pink-hover);
}
.intro__image { .intro__image {
display: block; display: block;
margin-top: 30px; margin-top: 1.875rem;
/* width: 100%; */ /* width: 100%; */
z-index: -1;
} }
.intro__image img { .intro__image img {
@ -173,21 +178,17 @@ body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-top: -18px; margin-top: -1.125rem;
margin-inline: 16px; margin-inline: 1rem;
gap: 38px; gap: 2.375rem;
} }
.card { .card {
/* display: flex; border-radius: 0.625rem;
flex-direction: column; */
border-radius: 10px;
background: white; background: white;
/* margin-top: 42px; */ padding-inline: 1.75rem;
padding-inline: 28px;
max-width: 350px; max-width: 21.875rem;
} }
.cards__header { .cards__header {
font-size: var(--fs-heading-m); font-size: var(--fs-heading-m);
@ -196,16 +197,16 @@ body {
color: var(--col-white); color: var(--col-white);
background: var(--col-orange-to-pink); background: var(--col-orange-to-pink);
padding: 24px 30px 32px 27px; padding: 1.5rem 1.875rem 2rem 1.6875rem;
} }
.card__image { .card__image {
position: relative; position: relative;
width: 56px; width: 3.5rem;
height: 56px; height: 3.5rem;
top: -23px; top: -1.4375rem;
} }
.card__header { .card__header {
margin-top: 0px; margin-top: 0rem;
font-size: var(--fs-heading-s); font-size: var(--fs-heading-s);
line-height: var(--lh-heading-s); line-height: var(--lh-heading-s);
@ -214,14 +215,14 @@ body {
color: var(--col-dark-purple); color: var(--col-dark-purple);
} }
.card__body { .card__body {
margin-top: 16px; margin-top: 1rem;
} }
.card__getting-started { .card__getting-started {
display: inline-block; display: inline-block;
font-size: 1.125rem; font-size: 1.125rem;
padding: unset; padding: unset;
margin-top: 24px; margin-top: 1.5rem;
margin-bottom: 32px; margin-bottom: 2rem;
color: var(--col-hot-pink); color: var(--col-hot-pink);
} }
@ -231,13 +232,13 @@ body {
} }
.footer { .footer {
margin-top: 84px; margin-top: 5.25rem;
background: var(--col-dark-purple); background: var(--col-dark-purple);
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 36px 16px; padding: 2.25rem 1rem;
} }
.footer__logo { .footer__logo {
} }
@ -257,17 +258,17 @@ body {
overflow: hidden; overflow: hidden;
} }
.banner { .banner {
padding: 24px 39.5px 0px 39.5px; padding: 1.5rem 2.4688rem 0 2.4688rem;
} }
.intro { .intro {
margin-top: 99px; margin-top: 6.1875rem;
margin-left: 39.5px; margin-left: 2.4688rem;
overflow: unset; overflow: unset;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex: 1 0 50%; flex: 1 0 50%;
/* width: 51%; */ /* width: 51%; */
padding-bottom: 210px; padding-bottom: 13.125rem;
position: relative; position: relative;
} }
@ -278,48 +279,41 @@ body {
.intro__image { .intro__image {
display: block; display: block;
position: absolute; position: absolute;
top: -291px; /*-38vw;*/ top: -18.1875rem; /*-38vw;*/
right: -404px; /*-52.5vw;*/ right: -25.25rem; /*-52.5vw;*/
} }
.intro__image img { .intro__image img {
display: block; display: block;
/* margin-right: 113%; */ /* margin-right: 113%; */
width: 695px; width: 43.4375rem;
} }
.cards { .cards {
margin-top: unset; margin-top: unset;
margin-inline: 39.5px; margin-inline: 2.4688rem;
/* display: grid;
gap: unset;
row-gap: 2.5em;
column-gap: 1.5em;
grid-template-columns: repeat(2, 1fr); */
/* margin-top: 210px; */
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
gap: 11px; gap: 0.6875rem;
row-gap: 53px; row-gap: 3.3125rem;
} }
.cards > * { .cards > * {
/* flex-shrink: 0; */
flex-basis: 49%; flex-basis: 49%;
} }
.card { .card {
padding-inline: 32px 21px; padding-inline: 2rem 1.3125rem;
/* margin-inline-start: 32px; */
} }
.cards__header { .cards__header {
padding: 56px 21px 139px 32px; padding: 3.5rem 1.3125rem 8.6875rem 2rem;
} }
.footer { .footer {
margin-top: 88px; margin-top: 5.5rem;
padding: 36px 39.5px; padding: 2.25rem 2.4688rem;
} }
} }
@ -328,25 +322,25 @@ body {
--fs-heading-m: 2rem; --fs-heading-m: 2rem;
--lh-heading-m: 2.5rem; --lh-heading-m: 2.5rem;
--fs-heading-s: 24px; --fs-heading-s: 1.5rem;
--lh-heading-s: 30px; --lh-heading-s: 1.875rem;
} }
.btn { .btn {
font-size: var(--fs-body-m); font-size: var(--fs-body-m);
line-height: var(--lh-body-m); line-height: var(--lh-body-m);
padding: 14px 31.5px; padding: 0.875rem 1.9688rem;
} }
.banner { .banner {
padding: 24px 165px 0 165px; padding: 1.5rem 10.3125rem 0 10.3125rem;
} }
.intro { .intro {
margin-top: 174px; margin-top: 10.875rem;
margin-left: 165px; margin-left: 10.3125rem;
padding-bottom: 250px; padding-bottom: 15.625rem;
} }
.intro > div { .intro > div {
@ -364,39 +358,42 @@ body {
} }
.intro__getting-started { .intro__getting-started {
padding: 19px 31px 16px 32px; padding: 1.1875rem 1.9375rem 1rem 2rem;
margin-top: 42px; margin-top: 2.625rem;
} }
.intro__image { .intro__image {
top: -431px; /*-38vw;*/ top: -26.9375rem; /*-38vw;*/
right: -486px; /*-52.5vw;*/ right: -30.375rem; /*-52.5vw;*/
} }
.intro__image img { .intro__image img {
width: 1046px; width: 65.375rem;
} }
.cards { .cards {
margin-inline: 165px; margin-inline: 10.3125rem;
gap: 30px; gap: 1.875rem;
row-gap: 80px; row-gap: 5rem;
} }
.cards__header { .cards__header {
padding: 64px 32px 138px 32px; padding: 4rem 2rem 8.625rem 2rem;
} }
.card { .card {
padding-inline: 32px; display: flex;
flex-direction: column;
padding-inline: 2rem;
} }
.card__header { .card__header {
margin-top: 4px; margin-top: 0.5rem;
} }
.card__body { .card__body {
margin-top: 24px; margin-top: 1.5rem;
margin-bottom: 1.5rem;
font-size: var(--fs-body-m); font-size: var(--fs-body-m);
line-height: var(--lh-body-m); line-height: var(--lh-body-m);
} }
@ -404,15 +401,16 @@ body {
.card__getting-started { .card__getting-started {
padding: unset; padding: unset;
/* margin-top: ; */ /* margin-top: ; */
margin-bottom: 40px; margin-top: auto;
margin-bottom: 2.5rem;
} }
.logo { .logo {
width: 114px; width: 7.125rem;
} }
.footer { .footer {
margin-top: 140px; margin-top: 8.75rem;
padding: 32px 165px; padding: 2rem 10.3125rem;
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 767 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 928 KiB