There are no notes for this item.

Paragraph

Component Preview
<p class="element--bold-intro">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla accumsan,
      metus ultrices eleifend gravida, nulla nunc varius lectus, nec rutrum justo
      nibh eu lectus. Ut vulputate semper dui. Fusce erat odio, sollicitudin vel
      erat vel, interdum mattis neque.</p>

  <p class="element--light-intro">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla accumsan,
      metus ultrices eleifend gravida, nulla nunc varius lectus, nec rutrum justo
      nibh eu lectus. Ut vulputate semper dui. Fusce erat odio, sollicitudin vel
      erat vel, interdum mattis neque.</p>

  <p>This paragraph is nested inside an article. It contains many different,
      sometimes useful,
      <a href="https://www.w3schools.com/tags/">HTML5 tags</a>. Of course there
      are classics like
      <em>emphasis</em>,
      <strong>strong</strong>, and
      <small>small</small>
      but there are many others as well. Hover the following text for abbreviation
      tag:
      <abbr title="abbreviation">abbr</abbr>. Similarly, you can use acronym tag
      like this:
      <acronym title="For The Win">ftw</acronym>. You can define
      <del>deleted text</del>
      which often gets replaced with
      <ins>inserted</ins>
      text.</p>
  <p>You can also use
      <kbd>keyboard text</kbd>, which sometimes is styled similarly to the
      <code>&lt;code&gt;</code>
      or
      <samp>samp</samp>
      tags. Even more specifically, there is a tag just for
      <var>variables</var>. Not to be mistaken with blockquotes below, the quote
      tag lets you denote something as
      <q>quoted text</q>. Lastly don't forget the sub (H<sub>2</sub>O) and sup (E
      = MC<sup>2</sup>) tags.
  </p>

  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla accumsan,
      metus ultrices eleifend gravida, nulla nunc varius lectus, nec rutrum justo
      nibh eu lectus. Ut vulputate semper dui. Fusce erat odio, sollicitudin vel
      erat vel, interdum mattis neque.</p>
  <p><small>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis
          praesentium voluptatum deleniti atque corrupti quos dolores et quas
          molestias excepturi sint occaecati cupiditate non provident, similique sunt
          in culpa qui officia deserunt mollitia animi, id est laborum et dolorum
          fuga.</small> Et harum quidem rerum facilis est et expedita distinctio. Nam libero
      tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus
      id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis
      dolor repellendus. <small class="small--inline">At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis
          praesentium voluptatum deleniti atque corrupti quos dolores et quas
          molestias excepturi sint occaecati cupiditate non provident, similique sunt
          in culpa qui officia deserunt mollitia animi, id est laborum et dolorum
          fuga.</small></p>
  <p>Curabitur accumsan turpis pharetra
      <strong>augue tincidunt</strong>
      blandit. Quisque condimentum maximus mi, sit amet commodo arcu rutrum id.
      Proin pretium urna vel cursus venenatis. Suspendisse potenti. Etiam mattis
      sem rhoncus lacus dapibus facilisis. Donec at dignissim dui. Ut et neque
      nisl.</p>

  <p>
      Pellentesque habitant morbi tristique senectus et netus et malesuada fames
      ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget,
      tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean
      ultricies mi vitae est. Mauris placerat eleifend leo.
  </p>

  <p>
  <pre>Pellentesque habitant morbi tristique senectus et netus et malesuada fames
    ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget,
    tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean
    ultricies mi vitae est. Mauris placerat eleifend leo.</pre>
  </p>
  • Content:
    /*
     p:not(:last-child),
     dl:not(:last-child),
     ol:not(:last-child),
     ul:not(:last-child),
     blockquote:not(:last-child),
     pre:not(:last-child),
     table:not(:last-child) {
      @include margin($bottom: $sm);
    }
    */
    p,
    dl,
    ol,
    ul,
    blockquote,
    pre,
    table {
      font-weight: 400; }
    
    p {
      line-height: 1.7;
      font-size: 1.2rem;
      margin-top: 0;
      margin-bottom: 1.05rem; }
    
    a {
      color: #00558C;
      text-decoration: underline; }
      a:hover, a:focus {
        text-decoration: none; }
    
    figcaption {
      font-size: 90%;
      color: #343a40;
      line-height: 1.5; }
    
    figure img {
      display: inline-block;
      margin-bottom: 1.05rem; }
    
    pre {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      padding: 1.05rem;
      white-space: pre;
      word-wrap: normal; }
    
    small {
      vertical-align: middle;
      display: inline-block;
      line-height: 1.3; }
      small.small--inline {
        display: inline; }
    
    sup,
    sub {
      font-size: 75%; }
    
    mark {
      background-color: #FFCD00; }
    
    pre {
      font-family: "Zilla Slab", serif;
      line-height: 1.5; }
    
    .is-small {
      font-size: 0.8rem; }
    
    .is-medium {
      font-size: 1.2rem; }
    
    .is-large {
      font-size: 1.6rem; }
    
    .margin-top {
      margin-top: 0.9rem; }
    
    .image {
      position: relative;
      display: block; }
    
    .image img {
      display: block;
      width: 100%;
      height: auto; }
    
    .element--spacer-separator {
      clear: both;
      float: none;
      width: 100%;
      height: 0;
      border: 1px solid transparent;
      margin: 1.25rem 0; }
    
    .element--spacer-thin {
      border: 0;
      height: 0;
      clear: both;
      float: none;
      width: 100%;
      border-top: 1px solid rgba(0, 0, 0, 0.1);
      border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
    
    .element--spacer-gold {
      clear: both;
      float: none;
      width: 100%;
      height: 0;
      border: 1px solid transparent;
      margin: 1.25rem 0; }
      .element--spacer-gold:after {
        content: "";
        display: block;
        width: 33%;
        height: 6px;
        margin: 0;
        background: #FFCD00; }
      .element--spacer-gold--centered:after {
        margin: 0 auto; }
      [class*="bg-"] .element--spacer-gold {
        border: none; }
      .bg-pattern--brain-reversed .element--spacer-gold:after,
      .bg--gold--pattern--brain .element--spacer-gold:after,
      .bg--gold .element--spacer-gold:after {
        background: #fff; }
    
    .uids-component--bold-intro,
    .element--bold-intro {
      font-family: "Zilla Slab", serif;
      font-weight: 600;
      line-height: 1.2;
      font-size: 2.5rem;
      font-size: clamp(1.7rem, calc(1.8028vw + 1.0239rem), 2.5rem);
      margin-top: 0;
      margin-bottom: 1.7rem; }
    
    .uids-component--light-intro,
    .element--light-intro {
      font-weight: 300;
      line-height: 1.2;
      font-size: 2.5rem;
      font-size: clamp(1.7rem, calc(1.8028vw + 1.0239rem), 2.5rem);
      margin-top: 0;
      margin-bottom: 1.7rem; }
    
  • URL: /components/raw/paragraph/paragraph.css
  • Filesystem Path: src/components/typography/paragraph/paragraph.css
  • Size: 2.7 KB
  • Content:
    @import '../../../assets/scss/variables';
    @import "../../../assets/scss/utilities";
    //// Typographic Elements
    
    /*
     p:not(:last-child),
     dl:not(:last-child),
     ol:not(:last-child),
     ul:not(:last-child),
     blockquote:not(:last-child),
     pre:not(:last-child),
     table:not(:last-child) {
      @include margin($bottom: $sm);
    }
    */
    
    p,
    dl,
    ol,
    ul,
    blockquote,
    pre,
    table {
      font-weight: $font-weight-normal;
    }
    
    p {
      line-height: 1.7;
      font-size: $content-font-size;
      @include margin($bottom: $md, $top: 0);
    }
    
    a {
      color: $link-color;
      text-decoration: underline;
    
      &:hover,
      &:focus {
        text-decoration: none;
      }
    }
    
    figcaption {
      font-size: 90%;
      color: $dark;
      line-height: 1.5;
    }
    
    figure img {
      display: inline-block;
      @include margin($bottom: $md);
    }
    
    pre {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      padding: $md;
      white-space: pre;
      word-wrap: normal;
    }
    
    small {
      vertical-align: middle;
      display: inline-block;
      line-height: 1.3;
    
      &.small--inline {
        display: inline;
      }
    }
    
    sup,
    sub {
      font-size: 75%;
    }
    
    mark {
      background-color: $primary;
    }
    
    pre {
      font-family: $font-family-serif;
      line-height: 1.5;
    }
    
    .is-small {
      font-size: $small-font-size;
    }
    
    .is-medium {
      font-size: $h6-font-size;
    }
    
    .is-large {
      font-size: $h4-font-size;
    }
    
    .margin-top {
      margin-top: $sm-md;
    }
    
    .image {
      position: relative;
      display: block;
    }
    
    .image img {
      display: block;
      width: 100%;
      height: auto;
    }
    
    .element--spacer-separator {
      clear: both;
      float: none;
      width: 100%;
      height: 0;
      border: 1px solid transparent;
      margin: $gutter 0;
    }
    
    .element--spacer-thin {
      border: 0;
      height: 0;
      clear: both;
      float: none;
      width: 100%;
      border-top: 1px solid rgba(0, 0, 0, 0.1);
      border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .element--spacer-gold {
      clear: both;
      float: none;
      width: 100%;
      height: 0;
      border: 1px solid transparent;
      margin: 1.25rem 0;
      &:after {
        content: "";
        display: block;
        width: 33%;
        height: 6px;
        margin: 0;
        background: $primary;
      }
      &--centered {
        &:after {
          margin: 0 auto;
        }
      }
      [class*="bg-"] & {
        border: none;
      }
      .bg-pattern--brain-reversed &,
      .bg--gold--pattern--brain &,
      .bg--gold & {
        &:after {
          background: #fff;
        }
      }
    }
    
    // Bold intro component class
    
    .uids-component--bold-intro,
    .element--bold-intro {
      font-family: $font-family-serif;
      font-weight: $font-weight-medium-bold;
      line-height: 1.2;
      font-size: 2.5rem;
      font-size: containerClamp(1.7rem, 2.5rem);
      margin-top: 0;
      margin-bottom: 1.7rem;
    }
    
    .uids-component--light-intro,
    .element--light-intro {
      font-weight: $font-weight-light;
      line-height: 1.2;
      font-size: 2.5rem;
      font-size: containerClamp(1.7rem, 2.5rem);
      margin-top: 0;
      margin-bottom: 1.7rem;
    }
    
  • URL: /components/raw/paragraph/paragraph.scss
  • Filesystem Path: src/components/typography/paragraph/paragraph.scss
  • Size: 2.8 KB