From 53135839f549a3278e39f912283b48180a2b6c8c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 9 Sep 2011 10:04:07 -0700 Subject: [PATCH] adding nested columns to the grid section --- docs/assets/css/docs.css | 10 ++++- docs/index.html | 79 +++++++++++++++++++++++++--------------- 2 files changed, 57 insertions(+), 32 deletions(-) diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index b8ac95c426..31ed82a7fb 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -142,15 +142,21 @@ section > .row { } .show-grid [class*="span"] { background-color: #eee; + background-color: rgba(0,0,0,.1); text-align: center; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; - height: 30px; + min-height: 30px; line-height: 30px; } .show-grid:hover [class*="span"] { - background: rgba(0, 0, 0, 0.25); + background-color: #ddd; + background-color: rgba(0,0,0,.2); +} +.show-grid .show-grid { + margin-top: 0; + margin-bottom: 0; } /* Render mini layout previews -------------------------------------------------- */ diff --git a/docs/index.html b/docs/index.html index 558f3fcf24..083e38b0bf 100644 --- a/docs/index.html +++ b/docs/index.html @@ -196,22 +196,22 @@
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
+
1
2
@@ -238,13 +238,13 @@
4
-
1/3
-
1/3
-
1/3
+
1/3
+
1/3
+
1/3
-
1/3
-
2/3
+
1/3
+
2/3
4
@@ -262,25 +262,44 @@
16
-

Offsetting columns

+

Offsetting columns

4
-
8 offset 4
+
8 offset 4
-
1/3 offset 2/3s
+
1/3 offset 2/3s
-
4 offset 4
-
4 offset 4
+
4 offset 4
+
4 offset 4
-
5 offset 3
-
5 offset 3
+
5 offset 3
+
5 offset 3
-
10 offset 6
+
10 offset 6
+ +

Nesting columns

+

Nest your content if you must by creating a .row within an existing column.

+
+
+ Level 1 of column +
+
+ Level 2 +
+
+ Level 2 +
+
+
+
+ Level 1 of column +
+
@@ -1540,4 +1559,4 @@ Lorem ipsum dolar sit amet illo error ipsum verita
- + \ No newline at end of file