ferris-ds 🎡

Design system for WBEZ.org

Version: 6.0.2

GitHub data updated: Jan 29, 2020

Typography

Classed based and non class based styles relating to type

Typography > Byline

Byline

Used for attribution of content.

.t-byline
HTML Example
<div class="t-meta t-byline">By <a href="/staff/Dan+Mihalopoulos">Dan Mihalopoulos</a> and <span>Kate McGee</span></div>
Typography > Datestamp

Datestamp

Used for timestamping of content.

.t-datestamp
HTML Example
<time class="t-datestamp" datetime="2019-09-04T19:35:32Z">September 4, 2019</time>
Typography > Ellipsis

Ellipsis

Accessibly truncate a long list of items with an ellipsis.

.t-ellipsis
HTML Example
<div class="c-rubric t-links -subtle">
  <ul class="c-rubric__wrap t-ellipsis">
    <li class="c-rubric__item -topic">
      <a href="#">
        Government &amp; Politics
      </a>
    </li>
    <li class="c-rubric__item -show">
      <a href="#">
        Reset
        <i class="c-icon t-size-xxs">
          <svg aria-hidden="true">
            <use xlink:href="#rss"></use>
          </svg>
        </i>
      </a>
    </li>
    <li class="c-rubric__item -topic">
      <a href="#">
        Government &amp; Politics
      </a>
    </li>
    <li class="c-rubric__item -show">
      <a href="#">
        Reset
        <i class="c-icon t-size-xxs">
          <svg aria-hidden="true">
            <use xlink:href="#rss"></use>
          </svg>
        </i>
      </a>
    </li>
    <li class="c-rubric__item -topic">
      <a href="#">
        Government &amp; Politics
      </a>
    </li>
    <li class="c-rubric__item -show">
      <a href="#">
        Reset
        <i class="c-icon t-size-xxs">
          <svg aria-hidden="true">
            <use xlink:href="#rss"></use>
          </svg>
        </i>
      </a>
    </li>
  </ul>
</div>
Typography > Headline

Headline

Our default headline formatting. Does not include size.

Headlines are typically <h1> elements, but you can apply the styles to any header element to size appropriately. Linked headlines will be given a red underline style on hover.

.t-headline

Story headline text with link.

HTML Example
<h1 class="t-headline {{ className }}">Story headline text <a>with link.</a></h1>
.-article

Story headline text with link.

Article headlines are special and have responsive font-sizing.

Typography > Links

Links

Apply this to a parent to have descendant <a> tags inherit the respective link style. See elements/_links for default link styling.

.t-links
HTML Example
<p class="t-links {{ className }}">Block of text in a paragraph. <a href="#">This is what links with a parent of this style look like.</a> <u><a href="#">This is what a link inside an underline looks like.</a></u></p>
.-subtle

Changes the color to $color-link-hover on hover/focus without underline

.-underlined

Preserves the color, adds an underline on hover/focus

.-subtle.-underlined

Changes the color to $color-link-hover on hover/focus with underline

.-story

A special link treatment specific to stories.

Typography > Meta

Meta

Used for meta details. Styled smaller and lighter than the default text.

.t-meta
HTML Example
<time class="t-meta">Published 10 a.m.</time>
Typography > Sectionhead

Sectionhead

The section heading.

.t-section-heading

Title for a section of text with link.

HTML Example
<h2 class="t-section-heading">Title for a section of text with <a>link.</a></h2>
Typography > Smallcaps

Smallcaps

.t-smallcaps
Lorem ipsum
HTML Example
<span class="t-smallcaps {{ className }}">Lorem ipsum</span>
.-light
Lorem ipsum

Applies a lighter font weight and increases the letter-spacing

.-section
Lorem ipsum

Applies bottom margin and bumps down font-size

Typography > Smallhed

Smallhed

Our default smallhed formatting. Does not include size.

Small heds are typically <h3> elements, but you can apply the styles to any header element to size appropriately. Linked headlines will be given a red underline style on hover.

.t-smallhed

Story subhed text with link.

HTML Example
<h3 class="t-smallhed {{ className }}">Story subhed text <a>with link.</a></h3>
.-article

Story subhed text with link.

Article smallheds are special and have a designated font size.

Typography > Subhed

Subhed

Our default subhed formatting. Does not include size.

Headlines are typically <h2> elements, but you can apply the styles to any header element to size appropriately. Linked headlines will be given a red underline style on hover.

.t-subhed

Story subhed text with link.

HTML Example
<h2 class="t-subhed {{ className }}">Story subhed text <a>with link.</a></h2>
.-article

Story subhed text with link.

Article subheds are special and have a designated font size.

Typography > Text case

Text case

t-<case>
.t-titlecase

Text transform helper.

Text transformed to Title Case

.t-uppercase

Text transform helper.

Text transformed to UPPERCASE

.t-uppercase.-wide

Text transform helper.

To be used with UPPERCASE to add kerning

.t-uppercase.-extra-wide

Text transform helper.

To be used with UPPERCASE to add more kerning

Typography > Text font variant

Text font variant

t-<font-variant>
.t-sans

Change inherit font family

Change inherit font family

Default sans

.t-serif

Change inherit font family

Change inherit font family

Default serif

.t-slab

Change inherit font family

Change inherit font family

Default slab

Typography > Text font weight

Text font weight

t-weight-<type>
.t-weight-normal

Texas again mistakenly flags voters for citizenship reviews

Normal

.t-weight-bold

Texas again mistakenly flags voters for citizenship reviews

Bold

Typography > Text size

Text size

t-size-<size>
.t-size-xxxs
Example text

xxxs size

.t-size-xl
Example text

xl size

.t-size-xxl
Example text

xxl size

.t-size-giant
Example text

giant size

.t-size-xxxl
Example text

xxxl size

.t-size-inherit
Example text

1em