Sha256: 24bad1d8a23238276907b4807f1a4792e9c223ae5f19d41d908e8679af1b8a61

Contents?: true

Size: 995 Bytes

Versions: 9

Compression:

Stored size: 995 Bytes

Contents

.main-content {
  position: relative;
  min-height: 100%;

  @include bp(large) {
    min-height: calc(100% - 90px); // roughly the size of the header
  }

  &:before {
    content: '';
    position: absolute;
    left: $sidenav-width - 10px;
    top: 0;
    width: 10px;
    height: 100%;
  }
}

.content {
  padding: 30px $content-buffer;
  padding-bottom: 0;
  display: block; // IE, Safari don't treat <main> as a block element

  &.-bottom-shim {
    padding-bottom: 150px;
  }

  h2 {
    padding: 17px $content-buffer;
    color: pickForegroundColor($c-custom-highlight, $c-white, $c-black);
    background: $c-custom-highlight;
    border-top: 1px solid $c-border;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: .2em;
    // counters the padding from .content
    margin: 0 negate($content-buffer) 30px;
  }

  h3 {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 15px;
    color: $c-text-heavy;
    margin-bottom: 20px;
  }
}

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
fae-rails-2.1.0 app/assets/stylesheets/fae/globals/layout/_base.scss
fae-railsz-2.1.0 app/assets/stylesheets/fae/globals/layout/_base.scss
fae-rails-2.0.0 app/assets/stylesheets/fae/globals/layout/_base.scss
fae-rails-1.7.1 app/assets/stylesheets/fae/globals/layout/_base.scss
fae-rails-1.7.0 app/assets/stylesheets/fae/globals/layout/_base.scss
fae-rails-1.6.0 app/assets/stylesheets/fae/globals/layout/_base.scss
fae-rails-1.5.1 app/assets/stylesheets/fae/globals/layout/_base.scss
fae-rails-1.5.0 app/assets/stylesheets/fae/globals/layout/_base.scss
fae-rails-1.4.1 app/assets/stylesheets/fae/globals/layout/_base.scss