<div class="cards-section">
    <section class="grid grid--four-columns">
        <div class="grid__1">

            <div class="base-card base-card--yellow">

                <div class="base-card__content">
                    <h2 class="base-card__title">1,589</h2>
                    <p class="base-card__text">Grants</p>

                </div>
            </div>

        </div>
        <div class="grid__1">

            <div class="base-card base-card--orange">

                <div class="base-card__content">
                    <h2 class="base-card__title">790</h2>
                    <p class="base-card__text">Recipients</p>

                </div>
            </div>

        </div>
        <div class="grid__1">

            <div class="base-card base-card--teal">

                <div class="base-card__content">
                    <h2 class="base-card__title">1</h2>
                    <p class="base-card__text">Funder</p>

                </div>
            </div>

        </div>
        <div class="grid__1">

            <div class="base-card base-card--red">

                <div class="base-card__content">
                    <h2 class="base-card__title">£1,345,234</h2>
                    <p class="base-card__text">Total</p>

                </div>
            </div>

        </div>
    </section>

    <div class="grid-aligned align-right">
        <small>last updated: 4 am 21st April 2021</small>
    </div>
</div>
<div class="cards-section">
  <section class="grid grid--four-columns">
    <div class="grid__1">
      {% render '@base-card--dynamic', {
        custom_class: 'base-card--yellow',
        value: '1,589',
        label: 'Grants'
      } %}
    </div>
    <div class="grid__1">
      {% render '@base-card--dynamic', {
        custom_class: 'base-card--orange',
        value: '790',
        label: 'Recipients'
      } %}
    </div>
    <div class="grid__1">
      {% render '@base-card--dynamic', {
        custom_class: 'base-card--teal',
        value: '1',
        label: 'Funder'
      } %}
    </div>
    <div class="grid__1">
      {% render '@base-card--dynamic', {
        custom_class: 'base-card--red',
        value: '£1,345,234',
        label: 'Total'
      } %}
    </div>
  </section>

  <div class="grid-aligned align-right">
    <small>last updated: 4 am 21st April 2021</small>
  </div>
</div>
/* No context defined. */
  • Content:
    .cards-section {
      padding: 32px 0;
      
      &__heading,
      &__tagline {
        text-align: center;
        font-size: 2rem;
      }    
    
      &__tagline {
        font-weight: 200;
    
        > a { 
          color: hsla(var(--orange-dark-hsl), 1); 
          font-weight: 200;
        }
      }
    }
  • URL: /components/raw/cards-section/cards-section.scss
  • Filesystem Path: src/components/05-templates/cards-section/cards-section.scss
  • Size: 253 Bytes

No notes defined.