aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/non-responsive
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-06 22:40:25 -0800
committerMark Otto <[email protected]>2014-03-06 22:40:25 -0800
commit12c619f5b9149a4d3f4d24efe106504b6a8a5004 (patch)
treedacdd064110d04b8195151c08ef4e5713ba3ea24 /docs/examples/non-responsive
parentf4dd6221d4e7a8eaa9cd8ebe0457ad016f5058cc (diff)
parent7e299c6a49bced5d2c2581a5504ddf7dbcaf041f (diff)
downloadbootstrap-12c619f5b9149a4d3f4d24efe106504b6a8a5004.tar.xz
bootstrap-12c619f5b9149a4d3f4d24efe106504b6a8a5004.zip
Merge branch 'master' into boulox-responsive-embed
Conflicts: dist/css/bootstrap.css.map dist/css/bootstrap.min.css docs/assets/js/customize.min.js docs/assets/js/docs.min.js docs/css.html docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.css
Diffstat (limited to 'docs/examples/non-responsive')
-rw-r--r--docs/examples/non-responsive/index.html4
-rw-r--r--docs/examples/non-responsive/non-responsive.css19
2 files changed, 14 insertions, 9 deletions
diff --git a/docs/examples/non-responsive/index.html b/docs/examples/non-responsive/index.html
index 0d86565a2..3d202d579 100644
--- a/docs/examples/non-responsive/index.html
+++ b/docs/examples/non-responsive/index.html
@@ -77,7 +77,7 @@
</div>
<h3>What changes</h3>
- <p>Note the lack of the <code>&lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;</code>, which disables the zooming aspect of sites in mobile devices. In addition, we reset our container's width and are basically good to go.</p>
+ <p>Note the lack of the <code>&lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;</code>, which disables the zooming aspect of sites in mobile devices. In addition, we reset our container's width and are basically good to go.</p>
<h3>Regarding navbars</h3>
<p>As a heads up, the navbar component is rather tricky here in that the styles for displaying it are rather specific and detailed. Overrides to ensure desktop styles display are not as performant or sleek as one would like. Just be aware there may be potential gotchas as you build on top of this example when using the navbar.</p>
@@ -99,7 +99,7 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/docs/examples/non-responsive/non-responsive.css b/docs/examples/non-responsive/non-responsive.css
index 9813bb9fe..c36e82e38 100644
--- a/docs/examples/non-responsive/non-responsive.css
+++ b/docs/examples/non-responsive/non-responsive.css
@@ -6,9 +6,14 @@
/* Account for fixed navbar */
body {
+ min-width: 970px;
padding-top: 70px;
padding-bottom: 30px;
- min-width: 970px;
+}
+
+/* Don't let the lead text change font-size. */
+.lead {
+ font-size: 16px;
}
/* Finesse the page header spacing */
@@ -28,8 +33,8 @@ body {
/* Reset the container */
.container {
- max-width: none !important;
width: 970px;
+ max-width: none !important;
}
/* Demonstrate the grids */
@@ -37,8 +42,8 @@ body {
padding-top: 15px;
padding-bottom: 15px;
background-color: #eee;
- border: 1px solid #ddd;
background-color: rgba(86,61,124,.15);
+ border: 1px solid #ddd;
border: 1px solid rgba(86,61,124,.2);
}
@@ -94,12 +99,12 @@ body {
position: absolute;
float: left;
background-color: #fff;
- border: 1px solid #cccccc;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ccc;
+ border: 1px solid rgba(0, 0, 0, .15);
border-width: 0 1px 1px;
border-radius: 0 0 4px 4px;
- -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
- box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
+ -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
+ box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
color: #333;