diff --git a/index.html b/index.html index fc31c8004..b778a690e 100644 --- a/index.html +++ b/index.html @@ -168,6 +168,10 @@ padding: 0.75em 0; font-size: 1.4em; } +.success-stories h3 { + font-size: 1.33em; + margin-block-start: 0; +} .success-stories h3 a { font-size: 3em; color: inherit; @@ -179,6 +183,12 @@ object-fit: cover; object-position: 50% 50%; } +.success-stories div + img { + max-height: 20rem; + display: block; + margin-inline: auto; +} + @media (min-width: 45rem) { .success-stories > div { grid-column: main / -2; @@ -192,9 +202,13 @@ margin: 0; padding: 0; } + .success-stories div + img { + max-height: 100%; + margin-inline: 0; + } .success-stories img.hero { - height: 100%; - max-width: none; + max-width: 100%; + height: auto; max-height: 30rem; margin-inline-start: -5rem; box-shadow: -0.25em 0 0.5em #06C3, 1em 1.5em 2.5em #0066DD99; @@ -324,6 +338,16 @@