<div class="blocks">
    <a href="#" class="content-teaser content-teaser--inverted">
        <div class="content-teaser__body">
            <div class="content-teaser__caption">Artikel</div>
            <h2 class="content-teaser__header">Command Line Interfaces in Java</h2>
            <p class="content-teaser__text">
                Wie man auf Kommando die richtigen Dinge tut.
            </p>
        </div>
        <div class="content-teaser__footer">
            <div class="author-bio author-bio--condensed" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--xs">
                    <img class="avatar__image" itemprop="photo" src="../../assets/example-content/heribert.jpg" alt="Portrait von Alexander Hesingfeld" />
                </div>
                <address class="author-bio__text">
                    <span rel="author" class="author-bio__name" itemprop="fullName">Heribert Innoq</span><span class="author-bio__info" itemprop="jobTitle">Senior Consultant</span>
                </address>
            </div>
            <div class="author-bio author-bio--condensed" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--xs">
                    <img class="avatar__image" itemprop="photo" src="../../assets/example-content/heribert.jpg" alt="Portrait von Alexander Hesingfeld" />
                </div>
                <address class="author-bio__text">
                    <span rel="author" class="author-bio__name" itemprop="fullName">Heribert Innoq</span><span class="author-bio__info" itemprop="jobTitle">Senior Consultant</span>
                </address>
            </div>
            <div class="author-bio author-bio--condensed" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--xs">
                    <img class="avatar__image" itemprop="photo" src="../../assets/example-content/heribert.jpg" alt="Portrait von Alexander Hesingfeld" />
                </div>
                <address class="author-bio__text">
                    <span rel="author" class="author-bio__name" itemprop="fullName">Heribert Innoq</span><span class="author-bio__info" itemprop="jobTitle">Senior Consultant</span>
                </address>
            </div>
        </div>
    </a><a href="#" class="content-teaser content-teaser--default">
        <div class="content-teaser__body">
            <div class="content-teaser__caption">Artikel</div>
            <h2 class="content-teaser__header">Microservices à la Netflix</h2>
            <p class="content-teaser__text">
                Die Bestandteile von Spring Cloud Netflix.
            </p>
        </div>
        <div class="content-teaser__footer">
            <div class="author-bio author-bio--condensed" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--xs">
                    <img class="avatar__image" itemprop="photo" src="../../assets/example-content/heribert.jpg" alt="Portrait von Alexander Hesingfeld" />
                </div>
                <address class="author-bio__text">
                    <span rel="author" class="author-bio__name" itemprop="fullName">Heribert Innoq</span><span class="author-bio__info" itemprop="jobTitle">Senior Consultant</span>
                </address>
            </div>
        </div>
    </a><a href="#" class="content-teaser content-teaser--colored">
        <div class="content-teaser__body">
            <div class="content-teaser__caption">Artikel</div>
            <h2 class="content-teaser__header">Unendliches Vertrauen</h2>
            <p class="content-teaser__text">
                Continuous Delivery – ein Blick auf den Stand der Dinge.
            </p>
        </div>
        <div class="content-teaser__footer">
            <div class="author-bio author-bio--condensed" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--xs">
                    <img class="avatar__image" itemprop="photo" src="../../assets/example-content/heribert.jpg" alt="Portrait von Alexander Hesingfeld" />
                </div>
                <address class="author-bio__text">
                    <span rel="author" class="author-bio__name" itemprop="fullName">Heribert Innoq</span><span class="author-bio__info" itemprop="jobTitle">Senior Consultant</span>
                </address>
            </div>
        </div>
    </a>
</div>
<div class="blocks">
    <a href="#" class="content-teaser content-teaser--inverted">
        <div class="content-teaser__body">
            <div class="content-teaser__caption">Artikel</div>
            <h2 class="content-teaser__header">Command Line Interfaces in Java</h2>
            <p class="content-teaser__text">
                Wie man auf Kommando die richtigen Dinge tut.
            </p>
        </div>
        <div class="content-teaser__footer">
            <div class="author-bio author-bio--condensed" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--xs">
                    <img class="avatar__image" itemprop="photo" src={context.app.uri("assets/example-content/heribert.jpg")}
                        alt="Portrait von Alexander Hesingfeld" />
                </div>
                <address class="author-bio__text">
                    <span rel="author" class="author-bio__name" itemprop="fullName">Heribert Innoq</span>
                    <span class="author-bio__info" itemprop="jobTitle">Senior Consultant</span>
                </address>
            </div>
            <div class="author-bio author-bio--condensed" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--xs">
                    <img class="avatar__image" itemprop="photo" src={context.app.uri("assets/example-content/heribert.jpg")}
                        alt="Portrait von Alexander Hesingfeld" />
                </div>
                <address class="author-bio__text">
                    <span rel="author" class="author-bio__name" itemprop="fullName">Heribert Innoq</span>
                    <span class="author-bio__info" itemprop="jobTitle">Senior Consultant</span>
                </address>
            </div>
            <div class="author-bio author-bio--condensed" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--xs">
                    <img class="avatar__image" itemprop="photo" src={context.app.uri("assets/example-content/heribert.jpg")}
                        alt="Portrait von Alexander Hesingfeld" />
                </div>
                <address class="author-bio__text">
                    <span rel="author" class="author-bio__name" itemprop="fullName">Heribert Innoq</span>
                    <span class="author-bio__info" itemprop="jobTitle">Senior Consultant</span>
                </address>
            </div>
        </div>
    </a>

    <a href="#" class="content-teaser content-teaser--default">
        <div class="content-teaser__body">
            <div class="content-teaser__caption">Artikel</div>
            <h2 class="content-teaser__header">Microservices à la Netflix</h2>
            <p class="content-teaser__text">
                Die Bestandteile von Spring Cloud Netflix.
            </p>
        </div>
        <div class="content-teaser__footer">
            <div class="author-bio author-bio--condensed" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--xs">
                    <img class="avatar__image" itemprop="photo" src={context.app.uri("assets/example-content/heribert.jpg")}
                        alt="Portrait von Alexander Hesingfeld" />
                </div>
                <address class="author-bio__text">
                    <span rel="author" class="author-bio__name" itemprop="fullName">Heribert Innoq</span>
                    <span class="author-bio__info" itemprop="jobTitle">Senior Consultant</span>
                </address>
            </div>
        </div>
    </a>

    <a href="#" class="content-teaser content-teaser--colored">
        <div class="content-teaser__body">
            <div class="content-teaser__caption">Artikel</div>
            <h2 class="content-teaser__header">Unendliches Vertrauen</h2>
            <p class="content-teaser__text">
                Continuous Delivery – ein Blick auf den Stand der Dinge.
            </p>
        </div>
        <div class="content-teaser__footer">
            <div class="author-bio author-bio--condensed" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--xs">
                    <img class="avatar__image" itemprop="photo" src={context.app.uri("assets/example-content/heribert.jpg")}
                        alt="Portrait von Alexander Hesingfeld" />
                </div>
                <address class="author-bio__text">
                    <span rel="author" class="author-bio__name" itemprop="fullName">Heribert Innoq</span>
                    <span class="author-bio__info" itemprop="jobTitle">Senior Consultant</span>
                </address>
            </div>
        </div>
    </a>
</div>
/* No context defined. */
  • Content:
    $content-teaser-height-sm: ms(30);
    $content-teaser-height-md: ms(36);
    
    .content-teaser {
      @extend %block-link;
      @extend %hover-glow;
    
      display: flex;
      width: 100%;
      min-height: $content-teaser-height-sm;
      flex-direction: column;
      justify-content: space-between;
      padding: $spacer-sm;
    }
    
    .content-teaser__body {
      margin-bottom: 0;
    }
    
    .content-teaser__footer {
      margin-bottom: 0;
    
      > * {
        margin-bottom: $spacer-xs;
      }
    
      :last-child {
        margin-bottom: 0;
      }
    }
    
    .content-teaser__caption {
      @extend %teaser-caption;
    
      margin-bottom: $spacer-xs;
    }
    
    .content-teaser__header {
      @extend %h3;
    }
    
    .content-teaser__text {
      @extend %heading-font-regular;
    
      margin-bottom: $spacer-md;
      font-size: $font-size-sm;
    }
    
    //
    // Variants
    //
    
    .content-teaser--inverted {
      background-color: $content-teaser-inverted-bg;
      color: $content-teaser-inverted-color;
    
      .content-teaser__header {
        color: $content-teaser-accent-color;
      }
    }
    
    .content-teaser--colored {
      background-color: $content-teaser-colored-bg;
      color: $content-teaser-colored-color;
    
      .content-teaser__header {
        color: $content-teaser-colored-color;
      }
    }
    
    .content-teaser--default {
      background-color: $content-teaser-default-bg;
      color: $content-teaser-default-color;
    
      .content-teaser__header {
        color: $content-teaser-colored-color;
      }
    }
    
    //
    // Media Queries
    //
    
    @media screen and (min-width: $grid-breakpoint-md) {
      .content-teaser {
        min-height: $content-teaser-height-md;
      }
    }
    
    @media screen and (min-width: $grid-breakpoint-lg) {
      .content-teaser__text {
        font-size: $font-size-md;
      }
    }
    
  • URL: /components/raw/content-tile-teaser/_content-tile-teaser.scss
  • Filesystem Path: components/04-molecules/visual-elements/teaser/tile-teaser/content-tile-teaser/_content-tile-teaser.scss
  • Size: 1.6 KB
  • Handle: @content-tile-teaser
  • Preview:
  • Filesystem Path: components/04-molecules/visual-elements/teaser/tile-teaser/content-tile-teaser/content-tile-teaser.html

No notes defined.