/*
 * Copyright (c) 2018 Eclipse Foundation, Inc.
 * 
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 * 
 * Contributors:
 *   Christopher Guindon <chris.guindon@eclipse-foundation.org>
 * 
 * SPDX-License-Identifier: EPL-2.0
*/

// Highlight styles
// Example: eclipse.org (solstice only).

.highlight {
  overflow: hidden;
  position: relative;
  .container {
    padding: 4em 0 3em 0;
    @media (min-width: @screen-md-min) {
      padding: 7em 0 5em 0;
    }

    position: relative;
  }

  h1 {
    color: #333;
  }

  p , li {
    font-size: 1.1em;
  }

  h1 {
    margin-top: 0;
    margin-bottom: 0.5em;
  }

  .triangle {
    position: absolute;
    right: 0;
    top: 0;
  }

  .list-inline {
    padding-top: 1.7em;
  }

  &.background-charcoal {
    background: #252525;
    color: #7d7d7d;
    h1 {
      color: #7d7d7d;
    }
  }
}

.highlight-img img {
  margin: auto;
}

.highlight-left {
  .triangle {
    right: auto;
    left: -115px;
  }
}

