<div class="tile-grid-sm">
    <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--short" 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>
                    <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--short" 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>
                    <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--short" 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>
                    <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--short" 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>
                    <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--short" 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>
                    <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="tile-grid-sm">
    <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--short" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--xs">
                    <img class="avatar__image" itemprop="photo" src="{{ path '/assets/example-content/heribert.jpg' }}"
                        alt="Portrait von Alexander Hesingfeld" />
                </div>
                <address>
                    <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--short" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--xs">
                    <img class="avatar__image" itemprop="photo" src="{{ path '/assets/example-content/heribert.jpg' }}"
                        alt="Portrait von Alexander Hesingfeld" />
                </div>
                <address>
                    <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--short" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--xs">
                    <img class="avatar__image" itemprop="photo" src="{{ path '/assets/example-content/heribert.jpg' }}"
                        alt="Portrait von Alexander Hesingfeld" />
                </div>
                <address>
                    <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--short" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--xs">
                    <img class="avatar__image" itemprop="photo" src="{{ path '/assets/example-content/heribert.jpg' }}"
                        alt="Portrait von Alexander Hesingfeld" />
                </div>
                <address>
                    <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--short" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--xs">
                    <img class="avatar__image" itemprop="photo" src="{{ path '/assets/example-content/heribert.jpg' }}"
                        alt="Portrait von Alexander Hesingfeld" />
                </div>
                <address>
                    <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;
      flex-direction: column;
      justify-content: space-between;
    
      width: 100%;
      min-height: $content-teaser-height-sm;
      padding: $spacer-sm;
    }
    
    .content-teaser__footer {
      display: flex;
      flex-wrap: wrap;
      gap: $spacer-xs;
      justify-content: space-between;
    }
    
    .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-base;
    }
    
    //
    // Variants
    //
    
    .content-teaser--inverted {
      color: $content-teaser-inverted-color;
      background-color: $content-teaser-inverted-bg;
    
      .content-teaser__header {
        color: $content-teaser-accent-color;
      }
    
      .author-bio {
        color: $content-teaser-inverted-color;
      }
    }
    
    .content-teaser--colored {
      color: $content-teaser-colored-color;
      background-color: $content-teaser-colored-bg;
    
      .content-teaser__header {
        color: $content-teaser-colored-color;
      }
    }
    
    .content-teaser--default {
      color: $content-teaser-default-color;
      background-color: $content-teaser-default-bg;
    
      .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/teaser/tile-teaser/content-tile-teaser/_content-tile-teaser.scss
  • Size: 1.6 KB
  • Handle: @content-tile-teaser
  • Preview:
  • Filesystem Path: components/04-molecules/teaser/tile-teaser/content-tile-teaser/content-tile-teaser.html

No notes defined.