Skip to content
Snippets Groups Projects
_events.scss 1.97 KiB
Newer Older
bcweaver's avatar
bcweaver committed
@import "../helpers/mixins";
@import "../helpers/variables";
@import "../helpers/functions";
//
// Events
// --------------------------------------------------

//## Events grid.

.view-events {
  .row {
    display: flex;
    margin-bottom: 40px;

    @media (max-width: 768px) {
        display: block;
    }
  }

  .news-row {
    display: flex;
    color: $gray-6;

    @media (max-width: 768px) {
        display: block;
    }

    .inner-news-grid {
      border: #979797 solid 1px;
      flex: 1;
      background: $white;

      @media (max-width: 768px) {
        flex: none;
        margin-bottom: 20px
      }
    }

    .views-field-field-evt-date-range {
      padding: 10px;
      background: #841F5D;
      color: $white;
      text-transform: uppercase;
    }

    .views-field-title {
      padding: 0 10px 10px;
      font-size: 18px;

      a {
        color: $gray-6;
      }
    }

    .views-field-field-evt-location-2 {
      padding: 10px 10px 3px;
      color: #26686D;
      font-weight: 700;
    }


  }

}


// --------------------------------------------------

//## Event.

bcweaver's avatar
bcweaver committed
.news-cont {
  padding-left: 0;

  .field--name-body {
    margin: 20px 0 40px;
  }
}

.news-date {
  text-transform: uppercase;
  font-weight: 700;
  font-size: $font-size-h6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.news-title {
  text-transform: capitalize;
}

.evt-header {
  background: #EFEFEF;
  padding: 15px 5px 10px;
  width: 100%;
  float: left;
  margin-bottom: 30px;
}

.evt-icon {
  float: left;
  margin-right: 10px;
}

.evt-cal {
  span {
    float: right;
bcweaver's avatar
bcweaver committed

    @media (max-width: 768px) {
      float: none;
    }
  }

  @media (max-width: 768px) {
    text-align: center;
    margin-bottom: 5px;
  }
}

// --------------------------------------------------

//## Hides core h1 title in lieu of News Stories built-in h1 title.

.page-node-type-news-story .page-header {
  display: none;
}