<div class="demo">
    <a href="#" class="list-teaser-abstract primary">
        <div class="list-teaser__body">
            <div class="list-teaser-abstract__caption">Artikel</div>
            <h2 class="list-teaser-abstract__headline">Artikel Headline</h2>
            <p class="list-teaser-abstract__text">
                Lorem gibson dermatrodes boy nodality neural office sprawl futurity Lado-Acheson count zero interrupt Night City tanto papier-mache kanji corporation meta-lights neurosurgery.
                Lorem gibson Chiba neon neon motion Mycotoxin Metro Holografix boat RAM AI disposable lights saturation point stimulate boat systemic vehicle.
                <span class="icon icon-arrow-long-right icon--brand-white"></span>
            </p>
        </div>
        <div class="list-teaser__footer">
            <div rel="author" class="author-bio author-bio--short" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--sm">
                    <img itemprop="photo" class="avatar__image" src="../../assets/example-content/heribert.jpg" alt="Portrait von Heribert Innoq" />
                </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 rel="author" class="author-bio author-bio--short" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--sm">
                    <img itemprop="photo" class="avatar__image" src="../../assets/example-content/heribert.jpg" alt="Portrait von Heribert Innoq" />
                </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="list-teaser-abstract secondary">
        <div class="list-teaser__body">
            <div class="list-teaser-abstract__caption">Artikel</div>
            <h2 class="list-teaser-abstract__headline">Artikel Headline</h2>
            <p class="list-teaser-abstract__text">
                Lorem gibson dermatrodes boy nodality neural office sprawl
                <span class="icon icon-arrow-long-right icon--brand-white"></span>
            </p>
        </div>
        <div class="list-teaser__footer">
            <div rel="author" class="author-bio author-bio--short" href="#author-bio" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--sm">
                    <img itemprop="photo" class="avatar__image" src="../../assets/example-content/heribert.jpg" alt="Portrait von Heribert Innoq" />
                </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 rel="author" class="author-bio author-bio--short" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--sm">
                    <img itemprop="photo" class="avatar__image" src="../../assets/example-content/heribert.jpg" alt="Portrait von Heribert Innoq" />
                </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="demo">
    <a href="#" class="list-teaser-abstract primary">
        <div class="list-teaser__body">
            <div class="list-teaser-abstract__caption">Artikel</div>
            <h2 class="list-teaser-abstract__headline">Artikel Headline</h2>
            <p class="list-teaser-abstract__text">
                Lorem gibson dermatrodes boy nodality neural office sprawl futurity Lado-Acheson count zero interrupt Night City tanto papier-mache kanji corporation meta-lights neurosurgery.
                Lorem gibson Chiba neon neon motion Mycotoxin Metro Holografix boat RAM AI disposable lights saturation point stimulate boat systemic vehicle.
                <span class="icon icon-arrow-long-right icon--brand-white"></span>
            </p>
        </div>
        <div class="list-teaser__footer">
            <div rel="author" class="author-bio author-bio--short" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--sm">
                    <img itemprop="photo" class="avatar__image" src="{{ path '/assets/example-content/heribert.jpg' }}"  alt="Portrait von Heribert Innoq"/>
                </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 rel="author" class="author-bio author-bio--short" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--sm">
                    <img itemprop="photo" class="avatar__image" src="{{ path '/assets/example-content/heribert.jpg' }}"  alt="Portrait von Heribert Innoq"/>
                </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="list-teaser-abstract secondary">
        <div class="list-teaser__body">
            <div class="list-teaser-abstract__caption">Artikel</div>
            <h2 class="list-teaser-abstract__headline">Artikel Headline</h2>
            <p class="list-teaser-abstract__text">
                Lorem gibson dermatrodes boy nodality neural office sprawl
                <span class="icon icon-arrow-long-right icon--brand-white"></span>
            </p>
        </div>
        <div class="list-teaser__footer">
            <div rel="author" class="author-bio author-bio--short" href="#author-bio" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--sm">
                    <img itemprop="photo" class="avatar__image" src="{{ path '/assets/example-content/heribert.jpg' }}"  alt="Portrait von Heribert Innoq"/>
                </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 rel="author" class="author-bio author-bio--short" itemscope itemtype="http://schema.org/Person">
                <div class="author-bio__image avatar avatar--sm">
                    <img itemprop="photo" class="avatar__image" src="{{ path '/assets/example-content/heribert.jpg' }}"  alt="Portrait von Heribert Innoq"/>
                </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:
    // List Teaser with Abstract
    .list-teaser-abstract {
      @extend %list-teaser;
    
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      width: 100%;
    
      &.primary {
        background-color: $list-teaser-abstract-primary-bg-color;
    
        .list-teaser-abstract__text {
          color: $list-teaser-abstract-primary-text-color;
    
          &::first-letter {
            color: $list-teaser-abstract-primary-drop-caps-color;
          }
        }
    
        .author-bio__name,
        .author-bio__info {
          color: $list-teaser-abstract-primary-author-name-color;
        }
      }
    
      &.secondary {
        background-color: $list-teaser-abstract-secondary-bg-color;
    
        .list-teaser-abstract__text {
          color: $list-teaser-abstract-secondary-text-color;
    
          &::first-letter {
            color: $list-teaser-abstract-secondary-drop-caps-color;
          }
        }
    
        .author-bio__name,
        .author-bio__info {
          color: $list-teaser-abstract-secondary-author-name-color;
        }
      }
    }
    
    a.list-teaser-abstract {
      @extend %hover-glow;
    }
    
    .list-teaser-abstract__caption {
      @extend %teaser-caption;
    
      margin-bottom: $spacer-xxs;
      color: $list-teaser-abstract-caption-color;
    }
    
    .list-teaser-abstract__headline {
      margin-bottom: $spacer-md;
      font-size: $font-size-lg;
      color: $list-teaser-abstract-headline-color;
    }
    
    .list-teaser-abstract__text {
      @extend %heading-font-regular;
    
      font-size: $font-size-base;
    
      &::first-letter {
        @extend %body-font-regular;
    
        float: left;
    
        padding-top: 10px;
        padding-right: 12px;
    
        font-size: ms(14);
        line-height: 0.9;
      }
    
      .icon {
        margin-left: $spacer-xxs;
      }
    }
    
    //
    //Breakpoints
    //
    @media screen and (min-width: $grid-breakpoint-md) {
      .list-teaser-abstract__headline {
        margin-bottom: $spacer-sm;
        font-size: $font-size-xl;
      }
    
      .list-teaser-abstract__text {
        font-size: $font-size-sm;
    
        &::first-letter {
          float: left;
    
          padding-top: 10px;
          padding-right: 12px;
          padding-left: 3px;
    
          font-size: ms(16);
        }
      }
    }
    
  • URL: /components/raw/abstract-list-teaser/_abstract-list-teaser.scss
  • Filesystem Path: components/04-molecules/teaser/list-teaser/abstract-list-teaser/_abstract-list-teaser.scss
  • Size: 2 KB
  • Handle: @abstract-list-teaser
  • Preview:
  • Filesystem Path: components/04-molecules/teaser/list-teaser/abstract-list-teaser/abstract-list-teaser.html

No notes defined.