# Podcast Tile Teaser

Ready

- HTML
- View
- Context
- Assets
- Info
- Notes

`

    <a href="#" class="podcast-teaser podcast-teaser--avatar--overlay" style="background-image: url(../../assets/example-content/heribert-rechts.png)">
        <div class="podcast-teaser__body">
            <div class="podcast-teaser__caption">Podcast</div>
            <h2 class="podcast-teaser__headline">Podcast Headline</h2>
            <h3 class="podcast-teaser__subheadline">
                Podcast Subheadline lorem ipsum dolor sit amet bla bla trololo.
            </h3>
            <span class="icon icon-arrow-long-right icon--brand-white"></span>
        </div>
        <div class="podcast-teaser__footer">
            <div class="podcast-author" itemscope itemtype="http://schema.org/Person">
                Heribert Innoq
            </div>
        </div>
    </a>

    <a href="#" class="podcast-teaser podcast-teaser--default">
        <div class="podcast-teaser__body">
            <div class="podcast-teaser__caption">Podcast</div>
            <h2 class="podcast-teaser__headline">Podcast Headline</h2>
            <h3 class="podcast-teaser__subheadline">
                Podcast Subheadline
            </h3>
            <span class="icon icon-arrow-long-right icon--brand-white"></span>
        </div>
        <div class="podcast-teaser__footer">
            <div class="podcast-author" itemscope itemtype="http://schema.org/Person">
                Heribert Innoq
            </div>
            <div class="podcast-author" itemscope itemtype="http://schema.org/Person">
                Heribert Innoq
            </div>
        </div>
    </a>

    <a href="#" class="podcast-teaser podcast-teaser--avatar" style="background-image: url(../../assets/example-content/heribert-rechts.png)">
        <div class="podcast-teaser__body">
            <div class="podcast-teaser__caption">Podcast</div>
            <h2 class="podcast-teaser__headline">Podcast Headline</h2>
            <h3 class="podcast-teaser__subheadline">
                Podcast Subheadline
            </h3>
            <span class="icon icon-arrow-long-right icon--brand-primary"></span>
        </div>
        <div class="podcast-teaser__footer">
            <div class="podcast-author" itemscope itemtype="http://schema.org/Person">
                Heribert Innoq
            </div>
        </div>
    </a>

    <a href="#" class="podcast-teaser podcast-teaser--avatar--overlay--big" style="background-image: url(../../assets/example-content/heribert-rechts.png), url(../../assets/example-content/heribert-links.png) ">
        <div class="podcast-teaser__body">
            <div class="podcast-teaser__caption">Podcast</div>
            <h2 class="podcast-teaser__headline">Podcast Headline</h2>
            <h3 class="podcast-teaser__subheadline">
                Podcast Subheadline
            </h3>
            <span class="icon icon-arrow-long-right icon--brand-white"></span>
        </div>
        <div class="podcast-teaser__footer">
            <div class="podcast-author" itemscope itemtype="http://schema.org/Person">
                Heribert Innoq
            </div>
            <div class="podcast-author" itemscope itemtype="http://schema.org/Person">
                Heribert Innoq
            </div>
        </div>
    </a>

`
`

    <a href="#" class="podcast-teaser podcast-teaser--avatar--overlay" style="background-image: url({{ path '/assets/example-content/heribert-rechts.png' }})">
        <div class="podcast-teaser__body">
            <div class="podcast-teaser__caption">Podcast</div>
            <h2 class="podcast-teaser__headline">Podcast Headline</h2>
            <h3 class="podcast-teaser__subheadline">
                Podcast Subheadline lorem ipsum dolor sit amet bla bla trololo.
            </h3>
            <span class="icon icon-arrow-long-right icon--brand-white"></span>
        </div>
        <div class="podcast-teaser__footer">
            <div class="podcast-author" itemscope itemtype="http://schema.org/Person" >
                Heribert Innoq
            </div>
        </div>
    </a>

    <a href="#" class="podcast-teaser podcast-teaser--default">
        <div class="podcast-teaser__body">
            <div class="podcast-teaser__caption">Podcast</div>
            <h2 class="podcast-teaser__headline">Podcast Headline</h2>
            <h3 class="podcast-teaser__subheadline">
                Podcast Subheadline
            </h3>
            <span class="icon icon-arrow-long-right icon--brand-white"></span>
        </div>
        <div class="podcast-teaser__footer">
            <div class="podcast-author" itemscope itemtype="http://schema.org/Person" >
                Heribert Innoq
            </div>
            <div class="podcast-author" itemscope itemtype="http://schema.org/Person" >
                Heribert Innoq
            </div>
        </div>
    </a>

    <a href="#" class="podcast-teaser podcast-teaser--avatar" style="background-image: url({{ path '/assets/example-content/heribert-rechts.png' }})">
        <div class="podcast-teaser__body">
            <div class="podcast-teaser__caption">Podcast</div>
            <h2 class="podcast-teaser__headline">Podcast Headline</h2>
            <h3 class="podcast-teaser__subheadline">
                Podcast Subheadline
            </h3>
            <span class="icon icon-arrow-long-right icon--brand-primary"></span>
        </div>
        <div class="podcast-teaser__footer">
            <div class="podcast-author" itemscope itemtype="http://schema.org/Person" >
                Heribert Innoq
            </div>
        </div>
    </a>

    <a href="#" class="podcast-teaser podcast-teaser--avatar--overlay--big" style="background-image: url({{ path '/assets/example-content/heribert-rechts.png' }}), url({{ path '/assets/example-content/heribert-links.png' }}) ">
        <div class="podcast-teaser__body">
            <div class="podcast-teaser__caption">Podcast</div>
            <h2 class="podcast-teaser__headline">Podcast Headline</h2>
            <h3 class="podcast-teaser__subheadline">
                Podcast Subheadline
            </h3>
            <span class="icon icon-arrow-long-right icon--brand-white"></span>
        </div>
        <div class="podcast-teaser__footer">
            <div class="podcast-author" itemscope itemtype="http://schema.org/Person" >
                Heribert Innoq
            </div>
            <div class="podcast-author" itemscope itemtype="http://schema.org/Person" >
                Heribert Innoq
            </div>
        </div>
    </a>

`
`

    /* No context defined. */

`
File:

- Content:
  `

      $podcast-teaser-height-sm: ms(30);
      $podcast-teaser-height-md: ms(35);

      .podcast-teaser {
        @extend %block-link;
        @extend %hover-glow;

        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        min-height: $podcast-teaser-height-sm;
      }

      .podcast-teaser__body {
        margin-bottom: 0;
        padding: $spacer-sm $spacer-md;
      }

      .podcast-teaser__footer {
        margin-bottom: 0;
        padding: $spacer-sm $spacer-md;

        > * {
          margin: 0;
        }
      }

      .podcast-teaser__caption {
        @extend %teaser-caption;
      }

      .podcast-teaser__headline {
        @extend %h3;

        margin-bottom: $spacer-md;
      }

      .podcast-teaser__subheadline {
        @extend %body-font-italic;

        margin-bottom: $spacer-xs;
        font-size: $font-size-sm;
      }

      .podcast-author {
        @extend %heading-font-bold;

        font-size: $font-size-base;
        text-transform: uppercase;
      }

      @media screen and (min-width: $grid-breakpoint-md) {
        .podcast-teaser {
          min-height: $podcast-teaser-height-md;
        }
      }

      //
      // Variations
      //
      .podcast-teaser--avatar,
      .podcast-teaser--avatar--overlay {
        .podcast-teaser__subheadline {
          max-width: 80%;
        }
      }

      .podcast-teaser__headline--security,
      .podcast-teaser__subheadline--security {
        color: $podcast-teaser-default-bg-sec;
      }

      .podcast-teaser--avatar--overlay {
        color: $podcast-teaser-default-color-secondary;

        background-color: $podcast-teaser-overlay-color-secondary;
        background-repeat: no-repeat;
        background-position: top right;
        background-size: auto 100%;
        background-blend-mode: multiply;

        .podcast-teaser__headline,
        .podcast-teaser__subheadline {
          color: $podcast-teaser-default-color-secondary;
        }

        &--security {
          color: $podcast-teaser-default-bg-sec;
          background-color: $podcast-teaser-overlay-color-sec;

          .podcast-teaser__headline,
          .podcast-teaser__subheadline {
            color: $podcast-teaser-default-bg-sec;
          }
        }
      }

      .podcast-teaser--avatar--overlay--big {
        color: $podcast-teaser-default-color-secondary;

        background-color: $podcast-teaser-overlay-color-secondary;
        background-repeat: no-repeat;
        background-position:
          top right,
          top left;
        background-size: 0%;
        background-blend-mode: multiply;

        .podcast-teaser__headline,
        .podcast-teaser__subheadline {
          color: $podcast-teaser-default-color-secondary;
        }

        &--security {
          color: $podcast-teaser-default-bg-sec;
          background-color: $podcast-teaser-overlay-color-sec;

          .podcast-teaser__headline,
          .podcast-teaser__subheadline {
            color: $podcast-teaser-default-bg-sec;
          }
        }

        .podcast-teaser__body {
          padding: $spacer-lg;
          text-align: center;
        }

        .podcast-teaser__footer {
          display: flex;
          justify-content: space-evenly;
          // IE11 Hack
          @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
            justify-content: space-around;
          }
        }
      }

      .podcast-teaser--avatar {
        color: $podcast-teaser-default-color;

        background-color: $podcast-teaser-light-bg;
        background-repeat: no-repeat;
        background-position: top right;
        background-size: auto 100%;

        &--security {
          color: $podcast-teaser-default-bg-sec;
          background-color: $podcast-teaser-default-color-sec;

          .podcast-teaser__headline,
          .podcast-teaser__subheadline {
            color: $podcast-teaser-default-bg-sec;
          }
        }
      }

      .podcast-teaser--default {
        color: $podcast-teaser-default-color;
        background-color: $podcast-teaser-default-bg;

        .podcast-teaser__headline,
        .podcast-teaser__subheadline {
          color: $podcast-teaser-default-color;
        }

        &--security {
          color: $podcast-teaser-default-color-sec;
          background-color: $podcast-teaser-default-bg-sec;

          .podcast-teaser__headline,
          .podcast-teaser__subheadline {
            color: $podcast-teaser-default-color-sec;
          }
        }
      }

      .podcast-teaser--ctoneedtoknow-1,
      .podcast-teaser--ctoneedtoknow-2,
      .podcast-teaser--ctoneedtoknow-3,
      .podcast-teaser--ctoneedtoknow-4 {
        color: $brand-white;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;

        .podcast-teaser__headline,
        .podcast-teaser__subheadline {
          color: $brand-white;
        }
      }

      .podcast-teaser--ctoneedtoknow-1 {
        @extend %bg-image-podcast-cover-01;
      }

      .podcast-teaser--ctoneedtoknow-2 {
        @extend %bg-image-podcast-cover-02;
      }

      .podcast-teaser--ctoneedtoknow-3 {
        @extend %bg-image-podcast-cover-03;
      }

      .podcast-teaser--ctoneedtoknow-4 {
        @extend %bg-image-podcast-cover-04;
      }

      //Breakpoints
      @media screen and (min-width: $grid-breakpoint-md) {
        .podcast-teaser--avatar--overlay--big {
          background-size: contain;
        }
      }

  `
- URL: /components/raw/podcast-tile-teaser/_podcast-tile-teaser.scss
- Filesystem Path: components/04-molecules/teaser/tile-teaser/podcast-tile-teaser/_podcast-tile-teaser.scss
- Size: 4.6 KB

- Handle: @podcast-tile-teaser
- Variants (2): Default , Security
- Preview:
  - With layout
  - Component only
- Filesystem Path: components/04-molecules/teaser/tile-teaser/podcast-tile-teaser/podcast-tile-teaser.html

No notes defined.