Skip to content

Commit

Permalink
Alternative use case/success story resolution (#198)
Browse files Browse the repository at this point in the history
* add simplest soltion for use case/success/carousel

* Tweaks to .success-stories styling

* Breakpoint tweaking

* Swapped order of the success stories

---------

Co-authored-by: Eric A. Meyer <[email protected]>
  • Loading branch information
bkardell and meyerweb authored Nov 20, 2023
1 parent fbd800e commit 425af91
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -324,6 +338,16 @@ <h3><a href="/about/a-good-choice.html">Why Choose WPE?</a></h3>


<section class="success-stories full-width dotsep">

<div>
<img src="/assets/img/Metrological-hero.jpg" alt="" class="hero">
<div class="spotlight"><h2>Success Story</h2>
<h3><a href="/blog/2022-success-metrological.html"><img src="/assets/img/[email protected]" alt="Metrological"></a></h3>
<p>WPE WebKit brought RDK, a modern, performant web browser, to millions of screens. It enables operators to manage devices and easily customize their UIs and apps and provides analytics to improve the customer experience and drive business results.</p>
<p><a href="/blog/2022-success-metrological.html" class="cta btn large">Read Success Story</a></p>
</div>
</div>

<div>
<div class="spotlight">
<h2>Use Case</h2>
Expand All @@ -333,6 +357,7 @@ <h3><a href="/blog/2023-success-digital-signage.html">Digital Signage</a></h3>
</div>
<img src="/assets/img/use_case-digital_signage.png" alt="">
</div>

</section>


Expand Down

0 comments on commit 425af91

Please sign in to comment.