Sha256: e1fd3310209f0effa5fb20f4453f9b82635b02ecf528a3fbc2af37756a2c57f4

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

//
// Grid system
// --------------------------------------------------


// Set the container width, and override it for fixed navbars in media queries
.container {
  .container-fixed();
}

// Mobile-first defaults
.row {
  .make-row();
}
[class*="col-span-"],
[class*="col-small-"] {
  position: relative;
  min-height: 1px;
  padding-left:  (@grid-gutter-width / 2);
  padding-right: (@grid-gutter-width / 2);
}

[class*="col-small-"] {
  float: left;
}
.generate-small-grid-columns(@grid-columns);

// Responsive: Tablets and up
@media screen and (min-width: 768px) {
  .container {
    max-width: 728px;
  }
  // Generate the grid columns and offsets
  [class*="col-span-"] {
    float: left;
  }
  .generate-grid-columns(@grid-columns);
}

// Responsive: Desktops and up
@media screen and (min-width: 992px) {
  .container {
    max-width: 940px;
  }
}

// Responsive: Large desktops and up
@media screen and (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

// Reset utility classes due to specificity
[class*="col-span-"].pull-right {
  float: right;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bootstrap3-wip-rails-0.1.2 vendor/assets/stylesheets/grid.less