aboutsummaryrefslogtreecommitdiff
path: root/less/grid.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-29 16:58:51 -0800
committerMark Otto <[email protected]>2012-01-29 16:58:51 -0800
commitfda77e69eb825f6b098a303fedcc96d257b4b050 (patch)
tree31199c1eca0b0686085b48725b87207315aeb108 /less/grid.less
parentb078050702d92551ab53545edfb484f39511278e (diff)
downloadbootstrap-fda77e69eb825f6b098a303fedcc96d257b4b050.tar.xz
bootstrap-fda77e69eb825f6b098a303fedcc96d257b4b050.zip
move vars and mixins for default grid back to appropriate files
Diffstat (limited to 'less/grid.less')
-rw-r--r--less/grid.less25
1 files changed, 0 insertions, 25 deletions
diff --git a/less/grid.less b/less/grid.less
index 4493d0b95..2ef767a4a 100644
--- a/less/grid.less
+++ b/less/grid.less
@@ -2,31 +2,6 @@
// -----------
-// Default grid sizing
-// -------------------
-@gridColumns: 12;
-@gridColumnWidth: 60px;
-@gridGutterWidth: 20px;
-
-@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
-@gridTotalWidth: @gridRowWidth;
-
-
-// Columns and offseting mixins
-// ----------------------------
-.columns(@columns: 1) {
- //width: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1));
- width: @gridTotalWidth * ((((@gridGutterWidth+@gridColumnWidth)*@columns)-@gridGutterWidth)/@gridRowWidth);
-}
-.offset(@columns: 1) {
- margin-left: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1)) + (@gridGutterWidth * 2);
-}
-// Necessary grid styles for every column to make them appear next to each other horizontally
-.gridColumn() {
- float: left;
- margin-left: @gridGutterWidth;
-}
-
// Grid rows and columns
// ---------------------
.row {