Sha256: 3ec2ebc919038037a7dc0ade62b598ad986e17e34d47e0404f575aa2713bac77

Contents?: true

Size: 1.96 KB

Versions: 18

Compression:

Stored size: 1.96 KB

Contents

html {
  height: 100%;
}

body.body-cover {
  height: 100%;
  text-align: center;

  /* Extra markup and styles for table-esque vertical and horizontal centering */
  .site-wrapper {
    display: table;
    width: 100%;
    height: 100%; /* For at least Firefox */
    min-height: 100%;
  }
  .site-wrapper-inner {
    display: table-cell;
    vertical-align: top;
  }
  .cover-container {
    margin-right: auto;
    margin-left: auto;
  }

  /* Padding for spacing */
  .inner {
    padding: 2rem;
  }


  /*
   * Header
   */

  .masthead {
    margin-bottom: 2rem;
  }

  .masthead-brand {
    margin-bottom: 0;
  }

  .nav-masthead .nav-link {
    padding: .25rem 0;
    font-weight: bold;
    background-color: transparent;
    border-bottom: .25rem solid transparent;
  }

  .nav-masthead .nav-link:hover,
  .nav-masthead .nav-link:focus {
    border-bottom-color: rgba(155,155,155,.25);
  }

  .nav-masthead .nav-link + .nav-link {
    margin-left: 1rem;
  }

  .nav-masthead .active {
    // color: #fff;
    // border-bottom-color: #fff;
  }

  @media (min-width: 48em) {
    .masthead-brand {
      float: left;
    }
    .nav-masthead {
      float: right;
    }
  }


  /*
   * Cover
   */

  .cover {
    padding: 0 1.5rem;
  }
  .cover .btn-lg {
    padding: .75rem 1.25rem;
    font-weight: bold;
  }


  /*
   * Footer
   */

  .mastfoot {
    // color: rgba(255,255,255,.5);
  }


  /*
   * Affix and center
   */

  @media (min-width: 40em) {
    /* Pull out the header and footer */
    .masthead {
      position: fixed;
      top: 0;
    }
    .mastfoot {
      position: fixed;
      bottom: 0;
    }
    /* Start the vertical centering */
    .site-wrapper-inner {
      vertical-align: middle;
    }
    /* Handle the widths */
    .masthead,
    .mastfoot,
    .cover-container {
      width: 100%; /* Must be percentage or pixels for horizontal alignment */
    }
  }

  @media (min-width: 62em) {
    .masthead,
    .mastfoot,
    .cover-container {
      width: 42rem;
    }
  }
}

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
mvpkit-0.8.1 project/assets/stylesheets/layout/cover.scss
mvpkit-0.8.0 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.15 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.14 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.13 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.12 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.11 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.10 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.9 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.8 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.7 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.6 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.5 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.4 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.3 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.2 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.1 project/assets/stylesheets/layout/cover.scss
minimum_viable_product-0.7.0 project/assets/stylesheets/layout/cover.scss