A general article template to support a variety of uses including:

  • Default
  • News
  • Event
  • Profile
  • Person Insight
  • Blog
  • Buildings and rooms page

The visual layouts for each are article type are selected using the article_type option.

Options

Name Type Description
article_type string Optional Used to control layout variations. Supports:
‘news’, ‘event’, ‘profile’, ‘person-insight’, ‘form-map’

See the context tab of each variant for examples of the data needed to populate each article type.

The following sections detail what goes in to each specific article pattern.

Default Article content

Must have

At least one paragraph.

Could include any of the following:

Headings H2 - 6 Intro paragraph Paragraph Category (link) Images - single and multiple Videos - single and multiple Blockquote Highlight Accordians Lists (ordered and unordered) Tables Links CTA (Calls to action button) - editable to be dispalyed anywhere within the content block. Related events suppliment Side navigation

Should not display the following patterns:

Related news suppliment Multi page document (previous /next) Marketing profile suppliment Pullquotes

Article: News

Article: News: Page heading component

(See page heading component and context tab for config structure)

  • Event title (H1)
  • Link to event category
  • Date

Article: News: Featured image component (optional)

Article: News: Article content

Must have at least one paragraph.

Other information as per the default options above

Article: Event

Article: Event: Page heading component

(See page heading component and context tab for config structure)

  • Event title (H1)
  • Link to event category

Article: Event: Info list component

  • First item to show Event date in format Thursday 3 December 2020

Further event information eg:

  • Time: 6pm-7pm
  • Location: Online via Zoom Webinar
  • Type: Lectures and seminars
  • Audience: Open to general public

Article: Event: Featured image component (optional)

Article: Event: Article content

Must have at least one paragraph.

Other information as per the default options above

Article: Person Insight

The person insight variant of the article pattern follows a similar structure to other particle patterns, although mark up is slightly different - specifically the @uol-info-list is placed within the header (other patterns include this with the article content) in order to align content with designs.

@uol-profile-image - compulsory image with square dimensions at least 300px. Must be headshot of person. Note this image is cropped to a circle when choosing your square image.

@uol-info-list

For this pattern the info list component can contain any number of items (eg. course, year of graduation, nationality) but advised to be no more than four items.

Article: form-map

This variant of the article pattern is currently only used for the buildings and rooms page and should not be used for anything else. Example: @uol-example-article–buildings-and-rooms

<div class="uol-article-container uol-col-container">

  {% if article_highlight %}
    {% render '@uol-article-highlight', { article_highlight: article_highlight }  %}
  {% endif %}

  {% render '@uol-side-nav-container' %}
  <main id="main" tabindex="-1" class="uol-article {{ 'uol-article--' + article_type if article_type }}">

    {% if article_type == "person-insight" %}
      <div class="uol-article__head">
        <div class="uol-article__head__heading-text">
          {% render '@uol-page-heading', { page_heading: page_heading } %}
          {% render '@uol-info-list', { info_list: info_list } %}
        </div>
        {% render '@uol-profile-image', { profile_image: profile_image } %}
      </div>

      <div class="uol-article__content">
        {% render '@uol-image-featured', { image_featured: image_featured } %}
        {% render '@uol-article-content', { article: article } %}
        {% render '@uol-article-section', { sections: sections } %}
      </div>
    {% elseif article_type == "form-map" %}
        <div class="uol-article__head">
        {% render '@uol-page-heading', { page_heading: page_heading } %}
        {% render '@uol-cms-container', { content: rich_text_content,
                                          lead: rich_text_lead } %}
        </div>
      <div class="uol-article__content">
        <div class="uol-rich-text">
          {% render '@uol-form', { form: form } %}
          {% render '@uol-iframe', { iframe: iframe } %}
        </div>
        {% render '@uol-info-list', { info_list: info_list } %}
        {% render '@uol-image-featured', { image_featured: image_featured } %}
        {% render '@uol-article-content', { article: article } %}
        {% render '@uol-article-section', { sections: sections } %}
        {% render '@uol-accordion', { accordions: accordions } %}
      </div>
    {% else %}
      <div class="uol-article__head">
        {% if profile_image %}
          <div class="uol-article__head__image-container">
            {% render '@uol-profile-image', { profile_image: profile_image } %}
          </div>
          {% render '@uol-page-heading', { page_heading: page_heading } %}
        {% else %}
          <div class="uol-article__no-profile-image">
            {% render '@uol-page-heading', { page_heading: page_heading } %}
          </div>
        {% endif %}
      </div>

      <div class="uol-article__content">
        {% render '@uol-info-list', { info_list: info_list } %}
        {% render '@uol-image-featured', { image_featured: image_featured } %}
        {% render '@uol-article-content', { article: article } %}
        {% render '@uol-article-section', { sections: sections } %}
        {% render '@uol-accordion', { accordions: accordions } %}
      </div>
    {% endif %}

    {% for supplement in supplements %}
      {% render '@uol-supplement-' + supplement.type, supplement.context %}
    {% endfor %}

    {% if widgets | length %}
      <div class="uol-article__widgets">
        {% for widget in widgets %}
          {% render '@uol-widget-' + widget.type, {
            widget_title: widget.title,
            events: widget.events,
            cards: widget.cards
          } %}
        {% endfor %}
      </div>
    {% endif %}

  </main>
</div>
<div class="uol-article-container uol-col-container">

    <div class="uol-side-nav-container"></div>

    <main id="main" tabindex="-1" class="uol-article uol-article--event">

        <div class="uol-article__head">

            <div class="uol-article__no-profile-image">
                <header class="page-heading">

                    <h1 class="page-heading__title">
                        <span class="page-heading__title__main">Forecasting Our Future: A conversation with Dr Katharine Hayhoe</span>

                    </h1>

                    <dl class="page-heading__meta">

                        <div class="page-heading__meta__group">
                            <dt class="page-heading__meta__term">Category</dt>

                            <dd class="page-heading__meta__data">

                                <a class="page-heading__meta__data__link" href="/category/lectures-seminars">

                                    Lectures and seminars

                                </a>

                            </dd>

                        </div>

                    </dl>

                </header>

            </div>

        </div>

        <div class="uol-article__content">

            <div class="uol-info-list-container">
                <dl class="uol-info-list ">

                    <div class="uol-info-list__group">
                        <dt class="uol-info-list__term uol-info-list__term--hidden">Date</dt>

                        <dd class="uol-info-list__data uol-info-list__data--date">

                            Thursday 3 December 2020

                        </dd>

                    </div>

                    <div class="uol-info-list__group">
                        <dt class="uol-info-list__term ">Time</dt>

                        <dd class="uol-info-list__data ">

                            6pm-7pm

                        </dd>

                    </div>

                    <div class="uol-info-list__group">
                        <dt class="uol-info-list__term ">Location</dt>

                        <dd class="uol-info-list__data ">

                            Online via Zoom Webinar

                        </dd>

                    </div>

                    <div class="uol-info-list__group">
                        <dt class="uol-info-list__term ">Type</dt>

                        <dd class="uol-info-list__data ">

                            Lectures and seminars

                        </dd>

                    </div>

                    <div class="uol-info-list__group">
                        <dt class="uol-info-list__term ">Audience</dt>

                        <dd class="uol-info-list__data ">

                            Open to general public

                        </dd>

                    </div>

                    <div class="uol-info-list__group">
                        <dt class="uol-info-list__term uol-info-list__term--hidden">Register</dt>

                        <dd class="uol-info-list__data uol-info-list__data--button">

                            <a class="uol-info-list__data__button uol-arrow-link" href="/event-register-1">Register for webinar</a>

                        </dd>

                    </div>

                </dl>
            </div>

            <figure class="uol-featured-image">
                <img class="uol-featured-image__img" src="/placeholders/ph-event-05.jpg" alt="Night sky filled with stars">

                <figcaption class="uol-featured-image__caption">
                    Photograph: Courtesy of Dr Katharine Hayhoe
                </figcaption>

            </figure>

            <div class="uol-rich-text uol-rich-text--with-lead">

                <p>Hear from award-winning climate scientist, Dr Katharine Hayhoe, about how best to prepare for the risks posed by climate change, and how to translate climate science into actionable planning.</p>

                <p>Increasingly, the impacts of climate change are never far from the headlines. Calls for climate action are getting steadily louder but global alignment is far from a reality.</p>
                <p>How will climate change affect the places we call home, now and in the future? Against a backdrop of international (dis)agreement, how might local action contribute to broader transformational change? Join us to hear from award-winning climate scientist, Dr Katharine Hayhoe, who will discuss how best to prepare for the risks posed by climate change, and how to translate climate science into actionable planning for resilience at the local scale.</p>

                <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/AjvkAkHZAzc" title="YouTube video player - Studying abroad" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

                <h2>The desire to change</h2>

                <p>Professor Hayhoe was awarded the United Nation's highest environmental honour in 2019, declared a 'Champion of the Earth'. She has made it her life's mission to talk to people about climate change. But she says she's not so much trying to 'convert' people to the climate cause, as show them why they already care.</p>

                <p>"By rejecting the narrative that climate change is a false, environmental, earth-worshipping religion, we were able to have a really constructive conversation that began with what we agreed on. We both believe in God. We both believe that God gave us the sound minds that we have. What do we see when we use that mind? That's the key."</p>

                <p>"Even though most objections to climate change are couched in science-y sounding terms, if you have a conversation with anyone about this for longer than one minute, nine times out of ten it takes an abrupt right turn into, 'I don't want to … [fill in the blank'. I don't want a carbon tax. I don't want to destroy the economy. I don't want the government telling me what to do.</p>

                <blockquote>
                    <p>99.9 per cent of our objects to climate change have nothing to do with the science. They have everything to do solution aversion.</p>
                </blockquote>

                <p>"99.9 per cent of our objects to climate change have nothing to do with the science. They have everything to do solution aversion. We think the only solutions are negative or punitive or harmful. So bonding over shared values, connecting to how climate change is affecting us here and now - today - and then inspiring with a solution that could actually make a difference - it could save us money; it could help poor people; it could lead to cleaner air; it could help us be better stewards of God's creation, and so on."</p>

                <h2>About Katharine Hayhoe</h2>

                <p>Katharine Hayhoe is an atmospheric scientist whose research focuses on understanding what climate change means for people and the places where we live. She is a professor at Texas Tech University, she hosts the PBS digital series Global Weirding, and she has been named one of TIME&apos;s 100 Most Influential People and Fortune&apos;s 50 World&apos;s Greatest Leaders. She is also the namesake of a meeting room in the Priestley Centre!</p>

                <div class="uol-in-text-cta">
                    <h2 class="uol-in-text-cta__heading">
                        <a class="uol-in-text-cta__link" href="/">Register to attend</a>
                    </h2>
                    <p class="uol-in-text-cta__text">As this is an online event, please register so we can send you the link. </p>
                </div>

            </div>

        </div>

    </main>
</div>
  • Content:
    Article default
    
    - [ ] Article image full width at >=600px <768
    - [ ] Check if full width also applies to video embeds
    - [ ] Work out how to handle less than full with images
    
  • URL: /components/raw/uol-article/TODO.md
  • Filesystem Path: src/library/03-patterns/article/TODO.md
  • Size: 175 Bytes
  • Content:
    $section-debug-colour: rgba(rgb(111, 243, 115), 0.2);
    
    .uol-article-container {
      padding: 0 $spacing-2;
    
      margin: $spacing-2 0 $spacing-8;
    
      @include media(">=uol-media-m") {
        margin: $spacing-3 0 $spacing-9;
        padding: 0 $spacing-4;
      }
    
      @include media(">=uol-media-l") {
        margin: $spacing-3 0 6rem;
        padding: 0 $spacing-4;
    
        .uol-side-nav-container--populated {
          padding: $spacing-3 14px $spacing-3 $spacing-2;
        }
      }
    
      @include media(">=uol-media-xl") {
        margin: $spacing-4 0 $spacing-9;
        padding: 0 $spacing-4;
    
        .uol-side-nav-container--populated {
          padding: $spacing-4;
        }
      }
    
    
    
      .uol-side-nav-container--populated + .uol-article {
    
        @include media(">=uol-media-l") {
          max-width: calc(100% / 12 * 8 - 2rem);
          flex-basis: calc(100% / 12 * 8 - 2rem);
          padding-left: calc(100% / 12 + 1rem) !important;
        }
    
        .uol-article__head,
        .uol-article__content {
          @include media(">=uol-media-l") {
            margin-right: 0;
            margin-left: 0;
          }
        }
      }
    }
    
    .uol-article {
    
      // cancel out padding from columns container
      padding-bottom: 0 !important;
    
      padding-left: 8px !important;
      padding-right: 8px !important;
    
      @include media(">=uol-media-m") {
        padding-left: 4px !important;
        padding-right: 4px !important;
      }
    
      @include media(">=uol-media-l") {
        padding-left: 8px !important;
        padding-right: 8px !important;
      }
    
      @include media(">=uol-media-xl") {
        padding-left: 16px !important;
        padding-right: 16px !important;
      }
    
      max-width: calc(100% - 1rem);
    
      @include page-width("wide");
    
      @include media(">=uol-media-l") {
        max-width: calc(100% - 1.75rem);
      }
    
      @include media(">=uol-media-xl") {
        max-width: calc(100% - 2rem);
      }
    
      .uol-article__head,
      .uol-article__content {
        @include media(">=uol-media-l") {
          margin-right: calc(100% / 12 * 3);
          margin-left: calc(100% / 12 + 0.25rem);
        }
    
        @include media(">=uol-media-xl") {
          margin-right: calc(100% / 12 * 3 + 0.5rem);
          margin-left: calc(100% / 12 + 0.25rem);
        }
      }
    
      .uol-rich-text {
    
        > *:last-child {
          margin-bottom: 0;
        }
    
        @include media(">=uol-media-l") {
          max-width: inherit;
          margin-right: calc(100% / 8 * 1 + 0.125rem);
        }
    
        @include media(">=uol-media-xl") {
          margin-right: calc(100% / 8 * 2 + 0.5rem);
        }
    
        img:not(.uol-logo-group-item__logo) {
          max-width: none;
        }
    
        figure {
          @include media(">=uol-media-m") {
            margin-top: $spacing-7;
          }
        }
    
        .uol-gallery figure {
          @include media(">=uol-media-m") {
            margin-top: 0;
          }
        }
    
        .text-highlight p {
          margin-bottom: 0;
        }
    
        blockquote {
          footer {
            margin-bottom: $spacing-4;
          }
        }
      }
    
        .uol-rich-text--with-lead {
    
          // Add accent to lead paragraph
          > p:first-of-type {
            margin-top: $spacing-5;
            margin-bottom: $spacing-4;
    
            @include media(">=uol-media-m") {
              position: relative;
              margin-top: 2.5rem;
              margin-bottom: $spacing-5;
    
              &::before {
                content: "";
                display: inline-block;
                position: absolute;
                width: calc(100% / 12 - #{$spacing-1});
                height: $spacing-1;
                top: 0.65em;
                left: -18px;
                transform: translateX(-100%);
                background-color: $color-brand;
              }
            }
    
            @include media(">=uol-media-l") {
              &::before {
                width: calc(100% / 7 - 20px);
                left: -28px;
              }
            }
    
            @include media(">=uol-media-xl") {
              &::before {
                width: calc(100% / 6 - 28px);
                left: -36px;
              }
            }
          }
        }
    
      .uol-side-nav-container--populated + & {
        .uol-typography-pull-quote {
          @include media(">=uol-media-l") {
            margin-right: 0;
          }
    
          @include media(">=uol-media-xl") {
            position: absolute;
            max-width: calc(100% / 9 * 2 - 2rem);
            right: $spacing-4;
          }
        }
      }
    
      blockquote {
        margin-bottom: $spacing-5;
    
        @include media(">=uol-media-m") {
          margin-bottom: $spacing-6;
        }
      }
    
      .uol-typography-pull-quote {
        display: block;
      }
      ul, ol {
        margin: $spacing-6 0;
    
        @include media(">=uol-media-m") {
          margin: $spacing-7 0;
        }
      }
    
      .uol-typography-pull-quote {
        margin: $spacing-6 0;
    
        @include media(">=uol-media-m") {
          margin: $spacing-7 0;
        }
    
        @include media(">=uol-media-xl") {
          margin: 0 0 $spacing-7;
        }
      }
    
      blockquote + * , .uol-typography-pull-quote + *  {
        // background-color: yellow;
        margin-top: 0;
      }
    
      .uol-featured-image {
    
        @include media("<=uol-media-xs") {
          margin-right: -#{$spacing-4};
          margin-left: -#{$spacing-4};
          max-width: none;
        }
    
        @include media(">uol-media-xs", "<uol-media-s") {
          margin-right: -#{$spacing-5};
          margin-left: -#{$spacing-5};
          max-width: none;
        }
    
        @include media(">=uol-media-s", "<uol-media-m") {
          margin-right: -13%;
          margin-left: -13%;
        }
    
        img {
          @extend .uol-featured-image__img;
        }
      }
    
      .uol-featured-image__caption,
      figcaption {
        @extend .uol-featured-image__caption;
      }
    
      .uol-table-outer {
        margin: $spacing-4 0 $spacing-6;
    
        @include media(">=uol-media-l") {
          margin: $spacing-4 0 $spacing-7 ;
        }
    
        .uol-table-container {
          max-width: none;
        }
    
        table {
          margin-bottom: 0;
        }
      }
    
      img {
        display: block;
        margin: $spacing-6 0;
    
        @include media(">=uol-media-m") {
          margin: $spacing-7 0;
        }
      }
    
      .uol-typography-pull-quote {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    
        .uol-col-debug & {
          background: $section-debug-colour;
        }
    
        @include media(">=uol-media-xl") {
          float: none;
          position: absolute;
          right: calc(1rem + 100%/12 * 3);
          max-width: calc(100% / 12 * 2 - 2rem);
        }
      }
    
      .uol-info-list-container {
        margin: $spacing-6 0;
    
        @include media(">=uol-media-m") {
          margin: $spacing-7 0;
        }
      }
    
      .uol-publications-list .uol-info-list-container {
        margin: 0;
      }
    
      .uol-featured-image {
        margin: $spacing-6 0;
    
        @include media(">=uol-media-m") {
          margin: $spacing-7 0;
        }
      }
    
      .uol-featured-image__img {
        margin: 0;
      }
    
      .uol-info-list {
        margin: 0;
      }
    
      .uol-accordion__title {
        margin: 0 !important;
      }
    }
    // end of uol-article (generic)
    
    .uol-article--news {
      .page-heading__title {
        margin-bottom: $spacing-4;
      }
      .page-heading__meta__group:first-child {
        margin-bottom: $spacing-2;
      }
    }
    // end of uol-article--news
    
    .uol-article--event {
    
      .uol-info-list-container {
    
        .uol-col-debug & {
          background: $section-debug-colour;
        }
    
      }
    
      .uol-info-list {
        @include media(">=uol-media-xl") {
          margin: 0;
        }
      }
    }
    // end of uol-article--event
    
    .uol-article--profile {
    
      margin-top: 8px;
    
      @include media(">=uol-media-m") {
        margin-top: 16px;
      }
    
      @include media(">=uol-media-l") {
        margin-top: 24px;
      }
    
      .page-heading__title:before {
        top: -24px;
    
        @include media(">=uol-media-m") {
          top: -32px;
        }
      }
      .uol-article__head {
        flex-direction: column;
    
        .uol-article__no-profile-image {
          // background-color: lightblue;
          width: 100%;
    
          @include media(">=uol-media-s") {
            margin-left: calc((100% + #{$col-gutter-s}) / 11 * 1 );
            // margin-left: 0;
          }
    
          @include media(">=uol-media-m") {
            margin-left: calc((100% + #{$col-gutter-m}) / 11 * 1 );
            // margin-left: 0;
          }
    
          @include media(">=uol-media-l") {
            margin-left: calc((100% + #{$col-gutter-l} + 8px) / 9 * 2 );
          }
    
          @include media(">=uol-media-xl") {
            margin-left: calc((100% + #{$col-gutter-xl} + 8px) / 9 * 3 );
          }
        }
    
        @include media(">=uol-media-s") {
          display: flex;
          flex-direction: row;
          align-items: center;
          margin-left: 0;
          margin-right: 0;
        }
    
        .uol-article__head__image-container {
          background: linear-gradient(90deg, $color-brand--dark 72px, rgba(255,255,255,0) 0);
          padding: 16px 0 16px 32px;
          border-radius: 6px;
          margin-bottom: 48px;
          width: 192px;
    
          @include media(">=uol-media-s") {
            padding-right: 0;
            margin-bottom: 0;
            margin-right: 16px;
          }
    
          @include media(">=uol-media-m") {
            margin-left: -4px;
            margin-right: 16px;
            width: 204px;
          }
    
          @include media(">=uol-media-l") {
            margin-left: 0;
            margin-right: 24px;
            padding-right: 0;
          }
    
          @include media(">=uol-media-xl") {
            background: linear-gradient(90deg, $color-brand--dark 96px, rgba(255,255,255,0) 0);
            padding: 0 0 0 32px;
            margin-right: 0;
            margin-left: calc((100% + #{$col-gutter-l} + 8px) / 9 * 1 );
            width: inherit;
          }
    
          .uol-profile-image {
            .uol-profile-image__img {
              width: 192px;
              height: 192px;
              padding-bottom: 0;
    
              @include media(">=uol-media-m") {
                width: 204px;
                height: 204px;
              }
    
              @include media(">=uol-media-l") {
                width: 196px;
                height: 196px;
                margin-right: #{$col-gutter-l}
              }
    
              @include media(">=uol-media-xl") {
                width: 266px;
                height: 266px;
                margin-right: #{$col-gutter-xl}
              }
    
              @include media(">=uol-media-xxl") {
                width: 311px;
                height: 311px;
              }
            }
          }
        }
      }
    
      // .uol-info-list-container {
      //   @include media(">=uol-media-xl") {
      //     // fix to make info list be close to page heading without ammending markup
      //     margin-top: -100px;
      //   }
      // }
      .uol-article__head {
        // background-color: pink;
    
        margin-right: calc((100% + #{$col-gutter-m} + 8px) / 12 * 1 - 8px);
        @include media(">=uol-media-l") {
          margin-right: calc((100% + #{$col-gutter-l} + 8px) / 12 * 3 - 8px);
        }
    
        @include media(">=uol-media-xl") {
          margin-right: calc((100% + #{$col-gutter-xl} + 8px) / 12 * 3 - 4px);
    
        }
      }
      .uol-article__content {
    
        @include media(">=uol-media-l") {
          margin-right: calc((100% + #{$col-gutter-l} + 8px) / 12 * 3 - 8px);
          margin-left: calc((100% + #{$col-gutter-l} + 8px) / 12 * 2 );
        }
    
        @include media(">=uol-media-xl") {
          margin-right: calc((100% + #{$col-gutter-xl} + 8px) / 12 * 3 - 4px);
          margin-left: calc((100% + #{$col-gutter-xl} + 8px) / 12 * 3 );
        }
    
        .uol-info-list-container {
          padding-bottom: 48px;
          border-bottom: 0.25rem solid #c70000;
        }
    
        .uol-publications-list .uol-info-list-container {
          padding-bottom: 0;
          border-bottom: none;
        }
      }
    
      .uol-article-section {
    
        margin-right: 0;
        .uol-rich-text {
          margin-right: 0;
        }
    
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
          margin: $spacing-6 0 $spacing-2;
    
        @include media(">=uol-media-m") {
          margin: $spacing-7 0 $spacing-4;
        }
        }
    
    
        @include media(">=uol-media-xl") {
          display: flex;
          flex-direction: row;
          margin-left: calc(((100% + #{$col-gutter-xl} + 8px) / 6 * 3 ) * -1);
          margin-top: $spacing-7;
    
          .uol-article-section__content {
            width: calc(((100% + #{$col-gutter-xl}) / 9 * 6 ) * 1 - #{$col-gutter-xl});
    
            & .uol-accordion:first-child {
              margin-top: 0;
            }
          }
    
          .uol-article-section__title {
            margin-right: 0;
          }
        }
    
        .uol-article-section__title {
          @extend .uol-typography-heading-3;
    
          @include media(">=uol-media-xl") {
            width: calc((100% + #{$col-gutter-xl} + 8px) / 9 * 3 - #{$col-gutter-xl});
            margin-right: #{$col-gutter-xl};
            margin-top: 0;
            text-align: right;
          }
        }
      }
    
    
    }
    // end of uol-article--profile
    
    .uol-article--person-insight {
    
      .uol-article__head {
        display: flex;
        justify-content: space-between;
        border-bottom: $spacing-1 solid $color-brand;
        margin-bottom: $spacing-6;
    
        @include media(">=uol-media-m") {
          margin-bottom: $spacing-7;
        }
      }
    
      .page-heading {
        width: 100%;
        margin-bottom: 0;
    
        .page-heading__meta__group {
          margin-bottom: 0;
        }
      }
    
      .uol-info-list {
        margin: 32px 0;
      }
    
      .uol-profile-image {
        width: 96px;
        top: $spacing-5;
        margin-left: $spacing-4;
    
        @include media(">=uol-media-s") {
          width: 144px;
        }
    
        @include media(">=uol-media-m") {
          width: 192px;
        }
    
        @include media(">=uol-media-xl") {
          width: 288px;
        }
      }
    }
    // end of uol-article--person-insight
    
    
    // Items following headings CSS
    // TODO: remove dependency on !important tags
    
    .uol-rich-text :is(h1, h2, h3, h4, h5, h6) + {
    
      ol,
      ul
      {
        margin-top: $spacing-2 !important;
      }
    
      .uol-logo-group,
      .uol-in-text-facts__container,
      .uol-in-text-cta,
      .uol-accordion,
      .uol-image-pair,
      .text-highlight,
      .fluid-width-video-wrapper,
      figure {
        margin-top: $spacing-5 !important;
    
        @include media(">=uol-media-m") {
          margin-top: $spacing-6 !important;
        }
      }
    
      blockquote {
        // calculated due to quote mark being off the top
        margin-top: 40px;
    
        @include media(">=uol-media-m") {
          margin-top: 44px !important;
        }
    
      }
    
      .uol-table-outer {
        margin-top: $spacing-5 !important;
    
        @include media(">=uol-media-xs") {
          margin-top: $spacing-2 !important;
        }
    
        @include media(">=uol-media-m") {
          margin-top: $spacing-4 !important;
        }
      }
    }
    
    // For vertical spacing on widget (news, events)
    // and profile supplement, on article pattern
    .uol-article .uol-rich-text p:last-child {
      margin-bottom: 0;
    }
    
    // Fix for accordion
    .uol-article .uol-accordion p:last-child {
      margin-bottom: $spacing-4;
    }
    
    .uol-article .uol-profile-supplement {
      margin-top: 0;
      margin-bottom: 0;
      padding-top: $spacing-6;
      max-width: auto;
    
      @include media(">=uol-media-m") {
        padding-top: $spacing-7;
      }
    
      @include media(">=uol-media-l") {
        margin-right: calc(100% / 12 * 3);
        margin-left: 0;
      }
    
      @include media(">=uol-media-xl") {
        margin-right: calc(100% / 12 * 3 + 0.5rem);
      }
    
      .uol-profile-supplement__title {
        margin-top: $spacing-4;
    
        @include media(">=uol-media-l") {
          margin-top: $spacing-5;
        }
      }
    
      .uol-profile-supplement__text-container {
        margin-bottom: 0;
      }
    }
    
    .uol-side-nav-container--populated + .uol-article .uol-profile-supplement {
      @include media(">=uol-media-l") {
        margin-right: -0.5rem;
        margin-left: calc(-100% / 12 * 2 + 3%);
      }
    
      @include media(">=uol-media-xl") {
        margin-right: 0;
        margin-left: calc(-100% / 12 * 2 + 4%);
      }
    }
    
    .uol-article__widgets {
      margin-left: 0;
      margin-right: 0;
      margin-top: $spacing-6;
    
      @include media(">=uol-media-m") {
        margin-top: $spacing-7;
      }
    
      @include media(">=uol-media-l") {
        margin-right: calc(100% / 12 * 4);
        margin-left: 0;
      }
    
      @include media(">=uol-media-xl") {
        margin-right: calc(100% / 12 * 3 + 0.5rem);
        margin-left: 0;
      }
    
      .uol-widget-container {
        margin-bottom: 0;
      }
    
      .uol-widget {
        margin-top: 0;
    
        .uol-widget__title {
          margin-top: $spacing-4;
    
          @include media(">=uol-media-l") {
            margin-top: $spacing-5;
          }
        }
    
        .uol-cards,
        .uol-widget__content {
          margin-top: 0;
        }
    
        .uol-cards {
          margin-bottom: 0;
    
          .uol-cards__card {
            &:last-of-type {
              margin-bottom: 0;
            }
    
            @include media(">=uol-media-xl") {
              margin-bottom: 0;
            }
          }
        }
    
        .uol-cards__card__image {
          margin: 0;
        }
    
        @include media(">=uol-media-xl") {
          .event-card-outer {
            width: 33.333333333333333%;
          }
        }
      }
    }
    
    // TO DO: refactor this file
    .uol-article {
      .uol-image-pair {
        margin: $spacing-6 0;
    
        @include media(">=uol-media-m") {
          margin: $spacing-7 0;
        }
    
        .uol-image-pair__column {
          margin: 0;
        }
      }
    
      .uol-form__container {
        margin-top: 2rem;
    
        @include media(">=uol-media-m") {
          margin-top: 3rem;
        }
    
        @include media("<uol-media-m") {
          margin-bottom: 1.5rem;
        }
        .uol-form__input-container {
          margin-bottom: 1rem;
    
          @include media(">=uol-media-l") {
            margin-bottom: 1.5rem;
          }
      }
        // Typeahead overwrite when in article
        .uol-typeahead__list {
          margin: 19px 0;
          padding-left: 0;
        }
      }
    
      .uol-info-list-container {
        margin: 0;
      }
    }
    
  • URL: /components/raw/uol-article/_article.scss
  • Filesystem Path: src/library/03-patterns/article/_article.scss
  • Size: 16.6 KB
{
  "page_heading": {
    "title": "Forecasting Our Future: A conversation with Dr Katharine Hayhoe",
    "meta": [
      {
        "name": "Category",
        "values": [
          {
            "label": "Lectures and seminars",
            "url": "/category/lectures-seminars"
          }
        ]
      }
    ]
  },
  "image_featured": {
    "src": "/placeholders/ph-event-05.jpg",
    "alt": "Night sky filled with stars",
    "caption": "Photograph: Courtesy of Dr Katharine Hayhoe"
  },
  "article": {
    "style_lead": true,
    "content": "\n          <p>Hear from award-winning climate scientist, Dr Katharine Hayhoe, about how best to prepare for the risks posed by climate change, and how to translate climate science into actionable planning.</p>\n          \n          <p>Increasingly, the impacts of climate change are never far from the headlines. Calls for climate action are getting steadily louder but global alignment is far from a reality.</p><p>How will climate change affect the places we call home, now and in the future? Against a backdrop of international (dis)agreement, how might local action contribute to broader transformational change? Join us to hear from award-winning climate scientist, Dr Katharine Hayhoe, who will discuss how best to prepare for the risks posed by climate change, and how to translate climate science into actionable planning for resilience at the local scale.</p>\n          \n          <iframe width=\"560\" height=\"315\" src=\"https://www.youtube-nocookie.com/embed/AjvkAkHZAzc\" title=\"YouTube video player - Studying abroad\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\n\n          <h2>The desire to change</h2>\n          \n          <p>Professor Hayhoe was awarded the United Nation's highest environmental honour in 2019, declared a 'Champion of the Earth'. She has made it her life's mission to talk to people about climate change. But she says she's not so much trying to 'convert' people to the climate cause, as show them why they already care.</p>        \n\n          <p>\"By rejecting the narrative that climate change is a false, environmental, earth-worshipping religion, we were able to have a really constructive conversation that began with what we agreed on. We both believe in God. We both believe that God gave us the sound minds that we have. What do we see when we use that mind? That's the key.\"</p>\n                    \n          <p>\"Even though most objections to climate change are couched in science-y sounding terms, if you have a conversation with anyone about this for longer than one minute, nine times out of ten it takes an abrupt right turn into, 'I don't want to … [fill in the blank'. I don't want a carbon tax. I don't want to destroy the economy. I don't want the government telling me what to do.</p>\n\n\n          <blockquote>\n          <p>99.9 per cent of our objects to climate change have nothing to do with the science. They have everything to do solution aversion.</p>\n          </blockquote>\n\n          <p>\"99.9 per cent of our objects to climate change have nothing to do with the science. They have everything to do solution aversion. We think the only solutions are negative or punitive or harmful. So bonding over shared values, connecting to how climate change is affecting us here and now - today - and then inspiring with a solution that could actually make a difference - it could save us money; it could help poor people; it could lead to cleaner air; it could help us be better stewards of God's creation, and so on.\"</p>\n\n          <h2>About Katharine Hayhoe</h2>\n\n          <p>Katharine Hayhoe is an atmospheric scientist whose research focuses on understanding what climate change means for people and the places where we live. She is a professor at Texas Tech University, she hosts the PBS digital series Global Weirding, and she has been named one of TIME&apos;s 100 Most Influential People and Fortune&apos;s 50 World&apos;s Greatest Leaders. She is also the namesake of a meeting room in the Priestley Centre!</p>\n          \n          <div class=\"uol-in-text-cta\">\n            <h2 class=\"uol-in-text-cta__heading\">\n                <a class=\"uol-in-text-cta__link\" href=\"/\">Register to attend</a>\n            </h2>\n            <p class=\"uol-in-text-cta__text\">As this is an online event, please register so we can send you the link.  </p>\n          </div>"
  },
  "article_type": "event",
  "info_list": [
    {
      "term": "Date",
      "term_hide": true,
      "data": [
        {
          "type": "date",
          "label": "Thursday 3 December 2020"
        }
      ]
    },
    {
      "term": "Time",
      "data": [
        {
          "label": "6pm-7pm"
        }
      ]
    },
    {
      "term": "Location",
      "data": [
        {
          "label": "Online via Zoom Webinar"
        }
      ]
    },
    {
      "term": "Type",
      "data": [
        {
          "label": "Lectures and seminars"
        }
      ]
    },
    {
      "term": "Audience",
      "data": [
        {
          "label": "Open to general public"
        }
      ]
    },
    {
      "term": "Register",
      "term_hide": true,
      "data": [
        {
          "type": "button",
          "label": "Register for webinar",
          "url": "/event-register-1"
        }
      ]
    }
  ]
}