Sha256: 456f9861ef4d1d85a42b8c4665348a00183f7291b060e40d51597412b001c539

Contents?: true

Size: 735 Bytes

Versions: 2

Compression:

Stored size: 735 Bytes

Contents

// import the CSS framework
@import "bootstrap";

// override for the 'Home' navigation link
.navbar-brand {
  font-size: inherit;
  }
// make all images responsive by default
img {
  @extend .img-responsive;
  margin: 0 auto;
  }

// use mixins to create semantic classes
// these are examples you can modify
main {
  @extend .container;
  background-color: #eee;
  padding-bottom: 80px;
  width: 100%;
  margin-top: 51px; // accommodate the navbar
  }
section {
  @extend .row;
  margin-top: 20px;
  }
.column {
  @extend .col-md-6;
  @extend .text-center;
  }
.form {
  @extend .col-md-6;
  }
.form-centered {
  @extend .col-md-6;
  @extend .text-center;
  }
.submit {
  @extend .btn;
  @extend .btn-primary;
  @extend .btn-lg;
  }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_layout-0.5.2 lib/generators/layout/templates/bootstrap3_and_overrides.css.scss
rails_layout-0.5.1 lib/generators/layout/templates/bootstrap3_and_overrides.css.scss