diff --git a/projects/FrontendMentor/newbie/skilled-elearning-landing-page/css/styles.css b/projects/FrontendMentor/newbie/skilled-elearning-landing-page/css/styles.css index 3202eae..18f78b7 100644 --- a/projects/FrontendMentor/newbie/skilled-elearning-landing-page/css/styles.css +++ b/projects/FrontendMentor/newbie/skilled-elearning-landing-page/css/styles.css @@ -174,6 +174,11 @@ body { } .hero_img { } + +main { + margin-inline: auto; +} + .cards { display: flex; flex-direction: column; @@ -181,6 +186,10 @@ body { margin-top: -1.125rem; margin-inline: 1rem; gap: 2.375rem; + + justify-content: center; + + max-width: 70rem; } .card { border-radius: 0.625rem; @@ -252,7 +261,7 @@ body { background: var(--col-purple-to-pink-hover); } -@media screen and (min-width: 768px) { +@media screen and (min-width: 48rem) { header { position: relative; overflow: hidden; @@ -317,7 +326,8 @@ body { } } -@media screen and (min-width: 1440px) { +@media screen and (min-width: 90rem) { + /* 1440px */ :root { --fs-heading-m: 2rem; --lh-heading-m: 2.5rem; diff --git a/projects/FrontendMentor/newbie/skilled-elearning-landing-page/index.html b/projects/FrontendMentor/newbie/skilled-elearning-landing-page/index.html index 62857ea..91ac500 100644 --- a/projects/FrontendMentor/newbie/skilled-elearning-landing-page/index.html +++ b/projects/FrontendMentor/newbie/skilled-elearning-landing-page/index.html @@ -38,40 +38,21 @@ - - - - - + - + + + - - - - - Woman blowing onto a mug. Top right of her is a box indicating 29k Members. On the bottom right is a box indicating 1,451 Course Hours. -