Skip to content

Commit d4675bf

Browse files
committed
updating the docs to include more responsive fixes, adding rows to the responsive changes as well to undo negative margin
1 parent 80332e8 commit d4675bf

File tree

4 files changed

+28
-6
lines changed

4 files changed

+28
-6
lines changed

bootstrap.css

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* http://www.apache.org/licenses/LICENSE-2.0
77
*
88
* Designed and built with all the love in the world @twitter by @mdo and @fat.
9-
* Date: Mon Oct 17 23:44:56 PDT 2011
9+
* Date: Sat Oct 22 15:49:12 PDT 2011
1010
*/
1111
/* Reset.less
1212
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -2268,6 +2268,9 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
22682268
width: auto;
22692269
padding: 0 10px;
22702270
}
2271+
.row {
2272+
margin-left: 0;
2273+
}
22712274
[class*="span"] {
22722275
float: none;
22732276
display: block;
@@ -2299,6 +2302,9 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
22992302
width: auto;
23002303
padding: 0 10px;
23012304
}
2305+
.row {
2306+
margin-left: 0;
2307+
}
23022308
[class*="span"] {
23032309
float: none;
23042310
display: block;

bootstrap.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/css/docs.css

+12-4
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,17 @@ h2 + table {
340340
}
341341
}
342342

343-
@media (min-width: 768px) and (max-width: 900px) {
344-
.footer,
345-
.jumbotron {
346-
min-width: 748px;
343+
@media (min-width: 768px) and (max-width: 940px) {
344+
345+
/* Scale down the jumbotron content */
346+
.jumbotron h1 {
347+
font-size: 72px;
348+
}
349+
350+
/* Provide enough space on right-hand side for benefits list */
351+
.jumbotron h1,
352+
.jumbotron p {
353+
margin-right: 40%;
347354
}
348355
}
356+

lib/responsive.less

+8
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
width: auto;
1313
padding: 0 10px;
1414
}
15+
// Undo negative margin on rows
16+
.row {
17+
margin-left: 0;
18+
}
1519
// Make all columns even
1620
[class*="span"] {
1721
float: none;
@@ -57,6 +61,10 @@
5761
width: auto;
5862
padding: 0 10px;
5963
}
64+
// Undo negative margin on rows
65+
.row {
66+
margin-left: 0;
67+
}
6068
// Make all columns even
6169
[class*="span"] {
6270
float: none;

0 commit comments

Comments
 (0)