1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

rewrite the grid system. Clean shit up tons - only generate 12 columns by default - custom builder will do differently if you request it.

This commit is contained in:
Jacob Thornton
2012-02-21 23:16:06 -08:00
parent e3ae517555
commit 5ad5dde1e2
7 changed files with 137 additions and 647 deletions

View File

@@ -188,13 +188,13 @@
@media (min-width: 768px) and (max-width: 979px) {
// Fixed grid
#gridSystem > .generate(@gridColumns, 42px, 20px);
#grid > .core(42px, 20px);
// Fluid grid
#fluidGridSystem > .generate(@gridColumns, 5.801104972%, 2.762430939%);
#grid > .fluid(5.801104972%, 2.762430939%);
// Input grid
#inputGridSystem > .generate(@gridColumns, 42px, 20px);
#grid > .input(42px, 20px);
}
@@ -340,13 +340,13 @@
@media (min-width: 1200px) {
// Fixed grid
#gridSystem > .generate(@gridColumns, 70px, 30px);
#grid > .core(70px, 30px);
// Fluid grid
#fluidGridSystem > .generate(@gridColumns, 5.982905983%, 2.564102564%);
#grid > .fluid(5.982905983%, 2.564102564%);
// Input grid
#inputGridSystem > .generate(@gridColumns, 70px, 30px);
#grid > .input(70px, 30px);
// Thumbnails
.thumbnails {