diff options
| author | Mark Otto <[email protected]> | 2012-01-30 00:39:44 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-30 00:39:44 -0800 |
| commit | ae7f94eeff733584cbdc80a2d13a85f136a7744e (patch) | |
| tree | 36016a438d9140e6e825f83f86c98b3ae2fc4315 /less/variables.less | |
| parent | 2ba1b01f8d9a0410d9cf45532d8924d858af74cd (diff) | |
| download | bootstrap-ae7f94eeff733584cbdc80a2d13a85f136a7744e.tar.xz bootstrap-ae7f94eeff733584cbdc80a2d13a85f136a7744e.zip | |
overhaul grid mixins and variables, standardize fluid grid system and enable it across responsive layouts
Diffstat (limited to 'less/variables.less')
| -rw-r--r-- | less/variables.less | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/less/variables.less b/less/variables.less index f09a88cdb..d9d79f05c 100644 --- a/less/variables.less +++ b/less/variables.less @@ -40,17 +40,6 @@ -// GRID SYSTEM VARIABLES -// -------------------------------------------------- - -@gridColumns: 12; -@gridColumnWidth: 60px; -@gridGutterWidth: 20px; -@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1)); -@gridTotalWidth: @gridRowWidth; - - - // COMPONENT VARIABLES // -------------------------------------------------- @@ -94,3 +83,17 @@ @infoBorder: darken(spin(@infoBackground, -10), 7%); + +// GRID +// -------------------------------------------------- + +// Default 940px grid +@gridColumns: 12; +@gridColumnWidth: 60px; +@gridGutterWidth: 20px; +@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1)); + +// Fluid grid +@fluidGridColumnWidth: 6.382978723%; +@fluidGridGutterWidth: 2.127659574%; + |
