There are no notes for this item.

Aerial Block

Component Preview
<div class="aerial aerial__grid">

    <div class="aerial__image">
        <img class="aerial__img" src="../../assets/images/viewbook/sections/12.jpg" alt="Alt Text">
    </div>
    <div class="aerial__container">
        <div class="aerial__content aerial__content-grid">

            <div class="highlight__wrapper">

                <h3 class="headline highlight__title">
                    <span class="headline__text">World-class hospital</span>
                </h3>

                <div class="highlight__sub">
                    <span> A nationally ranked, comprehensive medical center is just a short walk away.</span>
                </div>

            </div>

            <div class="highlight__wrapper">

                <h3 class="headline highlight__title">
                    <span class="headline__text">Best college town</span>
                </h3>

                <div class="highlight__sub">
                    <span>Named the #1 Best College Town by reviews.org, Iowa City seamlessly blends a vibrant downtown with the heart of campus.</span>
                </div>

            </div>

            <div class="highlight__wrapper">

                <h3 class="headline highlight__title">
                    <span class="headline__text">Easy to get around</span>
                </h3>

                <div class="highlight__sub">
                    <span> Whether you like to walk, bike, or take the free bus system, residence halls are closely located to the center of campus and downtown Iowa City.</span>
                </div>

            </div>

            <h2 class="headline headline--uppercase">
                <span class="headline__text">Welcome Home</span>
            </h2>

            <div class="highlight__wrapper">

                <h3 class="headline highlight__title">
                    <span class="headline__text">Big ten athletics</span>
                </h3>

                <div class="highlight__sub">
                    <span>Seating nearly 70,000, Kinnick Stadium is home to Hawkeye Football, just one of the 24 NCAA teams at Iowa.</span>
                </div>

            </div>
        </div>

    </div>

</div>
  • Content:
    .aerial {
      position: relative;
      background: #151515;
      z-index: 0; }
      .aerial img {
        width: 100%; }
      @media (min-width: 84.375em) {
        .aerial {
          overflow: hidden; } }
      .aerial__video {
        width: 100%; }
      .aerial__image img {
        display: block;
        width: 100%;
        -o-object-fit: cover;
        object-fit: cover; }
    
    img.aerial-image {
      display: block;
      width: 100%;
      -o-object-fit: cover;
      object-fit: cover; }
    
    .aerial__image {
      overflow: hidden;
      contain: paint; }
    
    .aerial p {
      color: #000;
      line-height: 1.5; }
      @media (min-width: 768px) {
        .aerial p {
          color: #fff;
          margin: 0 20%; } }
    
    .aerial .headline.headline--uppercase {
      text-shadow: 0 1px 1px #000;
      color: #fff; }
    
    .aerial__container {
      max-width: 100em;
      margin: 0 auto; }
    
    .aerial .aerial__content .aerial__container {
      max-width: 81.875em;
      margin: 0 auto; }
    
    .aerial::after {
      position: absolute;
      top: 0;
      left: 0;
      display: block;
      width: 100%;
      height: 100%;
      content: "";
      transition: all .5s ease-in-out;
      opacity: .75;
      background: linear-gradient(180deg, transparent, black);
      will-change: opacity; }
    
    /* Safari 7.1+ */
    @media (min-width: 84.375em) {
      _::-webkit-full-page-media,
      _:future,
      :root .aerial.aerial__grid {
        height: 100vh; } }
    
    @media (min-width: 84.375em) {
      _::-webkit-full-page-media,
      _:future,
      :root .aerial__image img {
        height: 100vh; } }
    
    .aerial.aerial__grid .aerial__content {
      position: absolute;
      background: transparent;
      z-index: 100; }
    
    .aerial.aerial__grid .highlight__wrapper {
      width: 95%; }
      @media (min-width: 84.375em) {
        .aerial.aerial__grid .highlight__wrapper {
          width: 70%; } }
    
    .aerial.aerial__grid .headline.headline--uppercase {
      font-size: calc(100% + 6vw);
      line-height: 1; }
      @media (min-width: 768px) {
        .aerial.aerial__grid .headline.headline--uppercase {
          font-size: calc(100% + 8vw); } }
    
    .aerial__content-grid {
      top: 0;
      height: 100%;
      background: transparent; }
      @media (min-width: 768px) {
        .aerial__content-grid {
          top: 0; } }
    
    .aerial__content-grid {
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: repeat(2, 1fr);
      grid-column-gap: 0px;
      grid-row-gap: 0px;
      display: grid; }
    
    .aerial__content-grid > *:nth-child(1) {
      display: none;
      grid-area: 2 / 1 / 3 / 2; }
      @media (min-width: 980px) {
        .aerial__content-grid > *:nth-child(1) {
          display: flex;
          grid-area: 2 / 1 / 2 / 2; } }
    
    .aerial__content-grid > *:nth-child(2) {
      display: none;
      align-self: center;
      grid-area: 2 / 1 / 3 / 4; }
      @media (min-width: 980px) {
        .aerial__content-grid > *:nth-child(2) {
          display: none;
          grid-area: 2 / 2 / 2 / 3; } }
      @media (min-width: 84.375em) {
        .aerial__content-grid > *:nth-child(2) {
          display: block; } }
    
    .aerial__content-grid > *:nth-child(3) {
      display: none;
      grid-area: 2 / 3 / 3 / 4; }
      @media (min-width: 980px) {
        .aerial__content-grid > *:nth-child(3) {
          display: flex;
          grid-area: 2 / 3 / 2 / 4; } }
    
    .aerial__content-grid > *:nth-child(4) {
      align-self: center;
      text-align: center;
      grid-area: 1 / 1 / 3 / 4; }
      @media (min-width: 980px) {
        .aerial__content-grid > *:nth-child(4) {
          display: flex;
          text-align: left;
          grid-area: 1 / 1 / 3 / 3;
          padding-bottom: 30%; } }
      @media (min-width: 84.375em) {
        .aerial__content-grid > *:nth-child(4) {
          width: auto; } }
    
    .aerial__content-grid > *:nth-child(5) {
      display: none;
      grid-area: 1 / 3 / 3 / 4; }
      @media (min-width: 980px) {
        .aerial__content-grid > *:nth-child(5) {
          display: flex;
          padding-bottom: 60%; } }
    
  • URL: /components/raw/aerial/aerial.css
  • Filesystem Path: src/components/viewbook/aerial/aerial.css
  • Size: 3.6 KB
  • Content:
    @import '../../../assets/scss/variables';
    @import "../../../assets/scss/utilities";
    
    .aerial {
      position: relative;
      background: $secondary;
      z-index: 0;
    
      img {
        width: 100%;
      }
    
      @include breakpoint(page-container) {
        overflow: hidden;
      }
    
      &__video {
        width: 100%;
      }
    
      &__image img {
        display: block;
        width: 100%;
        -o-object-fit: cover;
        object-fit: cover;
      }
    
    }
    
    img.aerial-image {
      display: block;
      width: 100%;
      -o-object-fit: cover;
      object-fit: cover;
    }
    
    .aerial__image {
      overflow: hidden;
      contain: paint;
    }
    
    // headings
    
    
    .aerial {
      p {
        color: #000;
        line-height: 1.5;
    
        @include breakpoint(sm) {
          color: #fff;
          margin: 0 20%;
        }
      }
    
      .headline.headline--uppercase {
          text-shadow: 0 1px 1px #000;
          color: #fff;
      }
    }
    
    .aerial__container {
      max-width: 100em;
      margin: 0 auto;
    }
    
    
    
    
    
    .aerial .aerial__content .aerial__container {
      max-width: 81.875em;
      margin: 0 auto;
    }
    
    
    .aerial::after {
      position: absolute;
      top: 0;
      left: 0;
      display: block;
      width: 100%;
      height: 100%;
      content: "";
      -webkit-transition: all .5s ease-in-out;
      transition: all .5s ease-in-out;
      opacity: .75;
      background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 1)));
      background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 1));
      will-change: opacity;
    }
    
    @media only screen and (min-width: 889px) {
      body {}
    }
    
    // Aerial Photo Grid
    
    /* Safari 7.1+ */
    
    _::-webkit-full-page-media,
    _:future,
    :root .aerial.aerial__grid {
      @include breakpoint(page-container) {
        height: 100vh;
      }
    }
    
    _::-webkit-full-page-media,
    _:future,
    :root .aerial__image img {
      @include breakpoint(page-container) {
        height: 100vh;
      }
    }
    
    .aerial.aerial__grid .aerial__content {
      position: absolute;
      background: transparent;
      z-index: 100;
    }
    
    .aerial.aerial__grid {
      .highlight__wrapper {
        width: 95%;
    
        @include breakpoint(page-container) {
          width: 70%;
        }
      }
    
      .headline.headline--uppercase {
        font-size: calc(100% + 6vw);
        line-height: 1;
    
        @include breakpoint(sm) {
          font-size: calc(100% + 8vw);
        }
      }
    }
    
    .aerial__content-grid {
      top: 0;
      height: 100%;
      background: transparent;
    
      @include breakpoint(sm) {
        top: 0;
      }
    }
    
    .aerial__content-grid {
      //padding: 0 $mobile-width-gutter;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: repeat(2, 1fr);
      grid-column-gap: 0px;
      grid-row-gap: 0px;
      display: grid;
    
      @include breakpoint(sm) {
        //padding: 0 $desktop-width-gutter;
      }
    }
    
    .aerial__content-grid>*:nth-child(1) {
      display: none;
      grid-area: 2 / 1 / 3 / 2;
    
      @include breakpoint(md) {
        display: flex;
        grid-area: 2 / 1 / 2 / 2;
      }
    }
    
    .aerial__content-grid>*:nth-child(2) {
      display: none;
      align-self: center;
      grid-area: 2 / 1 / 3 / 4;
    
      @include breakpoint(md) {
        display: none;
        grid-area: 2 / 2 / 2 / 3;
      }
    
      @include breakpoint(page-container) {
        display: block;
      }
    }
    
    .aerial__content-grid>*:nth-child(3) {
      display: none;
      grid-area: 2 / 3 / 3 / 4;
    
      @include breakpoint(md) {
        display: flex;
        grid-area: 2 / 3 / 2 / 4;
      }
    }
    
    .aerial__content-grid>*:nth-child(4) {
      align-self: center;
      text-align: center;
      grid-area: 1 / 1 / 3 / 4;
    
      @include breakpoint(md) {
        display: flex;
        //width: 60%;
        text-align: left;
        grid-area: 1 / 1 / 3 / 3;
        padding-bottom: 30%;
      }
    
      @include breakpoint(page-container) {
        width: auto;
      }
    }
    
    .aerial__content-grid>*:nth-child(5) {
      display: none;
      grid-area: 1 / 3 / 3 / 4;
    
      @include breakpoint(md) {
        display: flex;
        padding-bottom: 60%;
      }
    }
    
  • URL: /components/raw/aerial/aerial.scss
  • Filesystem Path: src/components/viewbook/aerial/aerial.scss
  • Size: 3.6 KB