@import "base/variables";
@import "mixins/hidpi";
@import "components/call-to-action";
// The EmberConf CSS is used seasonally; please comment it out when not in use, rather than delete
@import "components/ember-conf";

.job-board {
  display: none;
  @media screen and (max-width: $screen-sm-max) {
    background-color: #1e719b;
    font-size: 1.2em;
    min-width: 100%;
    text-align: center;
    display: block;
    clear: both;

    a {
      background-image: none;
      color: $white;
      letter-spacing: 1px;
      min-width: 100%;
      display: block;
      padding: 0.4em;
      text-align: center;
      text-decoration: none;
      text-transform: uppercase;

      &:focus,
      &:hover {
        text-decoration: underline;
      }

      img {
        margin: -0.2em 0 -0.6em 0.5em;
        transform: rotate(10deg);
        max-height: 40px;

        &:focus,
        &:hover {
          text-decoration: none;
        }
      }

      .text-yellow {
        color: #feeca6;
      }
    }
  }
}

.job-board-banner {
  z-index: 99998;
  position: absolute;
  left: 20px;
  width: 125px;
  height: 170px;
  text-decoration: none !important;
  text-indent: -99999px;
  @include hidpi('about/job-board-banner', png);

  &:hover {
    border-bottom: none;
  }
  @media screen and (max-width: $screen-sm-max) {
    display: none;
  }
}


.about-page--header {
  display: block;
  clear: both;
  color: black;
  font-family: 'Source Sans Pro';
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.15;
  margin: 0 auto;
  max-width: 100%;
  text-align: center;

  .bold {
    font-weight: 400;
  }
  @media screen and (max-width: $small-max-width) {
    margin: 0.5 auto;
    font-size: 2em;
  }
}

body.about,
body.index {
  background: no-repeat top center #faf4f1;
  background-image: url("/images/background-shades.png");
  background-image: url('/images/background-shades.svg'), none; // See: http://css-tricks.com/svg-fallbacks/
  @media screen and (min-width: 2000px) {
    // Stretch background width when wider than source image
    background-size: 100% auto;
  }

  .feature {
    @media screen and (max-width: $small-max-width) {
      max-width: 100%;

      .feature-img {
        display: block;
        margin: 0 auto;
        text-align: center;
      }
    }
  }

  .feature p {
    margin-top: 1.5em;
  }
  @media (-webkit-min-device-pixel-ratio: $hidpi-min-pixel-ratio), (min-resolution: $hidpi-min-pixel-ratio), (min-resolution: $hidpi-min-pixel-ratio) {
    .feature .handlebars {
      background-size: 221px 210px !important;
      margin: 0 auto;
    }

    .feature .structure {
      background-size: 221px 210px !important;
      margin: 0 auto;
    }

    .feature .productivity {
      background-size: 221px 220px !important;
      margin: 0 auto;
    }
  }

  .feature .handlebars {
    @include hidpi('about/ember-handlebars-sm', 'png');
    width: 221px;
    height: 177px;
    margin: 7px auto 0 auto;    
  }

  .feature .structure {
    @include hidpi('about/ember-structure-sm', 'png');
    width: 193px;
    height: 184px;
    margin: 0 auto;
  }

  .feature .productivity {
    @include hidpi('about/ember-productivity-sm', 'png');
    width: 221px;
    height: 184px;
    margin: 0 auto;
  }

  .getting-started {
    @media screen and (max-width:$small-max-width) {
      display: block;
      clear: both;
      margin: 0 auto;
      max-width: 100%;
    }

    h2.sub {
      color: #F23818;
      padding-top: 50px;
      border-top: 1px dotted #E5DBD6;
      font-size: 19px;
    }
  }

  .prose {
    width: 800px;
    max-width: 100%;
  }

  .section.gears {
    margin-top: 70px;
  }

  .install-ember-cli {
    border-color: #fa6d55 !important;
    border-width: 2px !important;

    .line-numbers {
      display: none;
    }
  }

  #download .info {
    text-align: center;
  }
}
