<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-svg 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--small">
                <img itemprop="photo" class="avatar__image" src="../../assets/example-content/heribert.jpg" alt="Portrait von Heribert Innoq" />
            </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="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-svg 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--small">
                <img itemprop="photo" class="avatar__image" src="../../assets/example-content/heribert.jpg" alt="Portrait von Heribert Innoq" />
            </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="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-svg 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--small">
                <img itemprop="photo" class="avatar__image" src={context.app.uri("assets/example-content/heribert.jpg")} alt="Portrait von Heribert Innoq"/>
            </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="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-svg 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--small">
                <img itemprop="photo" class="avatar__image" src={context.app.uri("assets/example-content/heribert.jpg")} alt="Portrait von Heribert Innoq"/>
            </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>
/* No context defined. */
  • Content:
    // List Teaser with Abstract
    .list-teaser-abstract {
      @extend %list-teaser;
    
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    
      &.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__text {
          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__text {
          color: $list-teaser-abstract-secondary-author-name-color;
        }
      }
    }
    
    .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;
      color: $list-teaser-abstract-headline-color;
      font-size: $font-size-lg;
    }
    
    .list-teaser-abstract__text {
      @extend %heading-font-regular;
    
      margin-bottom: 0;
      font-size: $font-size-base;
    
      &::first-letter {
        @extend %body-font-regular;
    
        padding-top: 10px;
        padding-right: 12px;
        float: left;
        font-size: ms(14);
        line-height: 0.9;
      }
    
      .icon-svg {
        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 {
          padding-top: 10px;
          padding-right: 12px;
          padding-left: 3px;
          float: left;
          font-size: ms(16);
        }
      }
    }
    
  • URL: /components/raw/abstract-list-teaser/_abstract-list-teaser.scss
  • Filesystem Path: components/04-molecules/visual-elements/teaser/list-teaser/abstract-list-teaser/_abstract-list-teaser.scss
  • Size: 1.9 KB
  • Handle: @abstract-list-teaser
  • Preview:
  • Filesystem Path: components/04-molecules/visual-elements/teaser/list-teaser/abstract-list-teaser/abstract-list-teaser.html

No notes defined.