diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 4d0fd8fee2a392efc40c8ea24a176c63e303f41f..b694f107ab6e0bd13ec84bb01d915fe6144ee8a8 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -23,10 +23,6 @@ li { line-height: 20px; } -.bs-docs-container { - max-width: 780px; - margin: 0 auto; -} /* Tweak navbar brand link to be super sleek -------------------------------------------------- */ @@ -67,6 +63,19 @@ hr.soften { border: 0; } +/* Table of contents */ +.bs-docs-content { + color: #999; +} +.bs-docs-contents ol { + margin-top: 5px; + margin-bottom: 0; +} +.bs-docs-contents li { + line-height: 25px; + color: #999; +} + /* Jumbotrons -------------------------------------------------- */ @@ -75,7 +84,7 @@ hr.soften { } .jumbotron h1 { margin-bottom: 9px; - font-size: 81px; + font-size: 80px; font-weight: bold; letter-spacing: -1px; line-height: 1; @@ -110,8 +119,6 @@ hr.soften { margin-bottom: 18px; } .masthead p { - margin-left: 5%; - margin-right: 5%; font-size: 30px; line-height: 36px; } @@ -290,10 +297,10 @@ hr.soften { .footer { padding: 35px 0 36px; margin-top: 45px; - text-align: center; border-top: 1px solid #e5e5e5; } .footer p { + margin-bottom: 5px; color: #555; } @@ -689,7 +696,7 @@ form.well { ------------------------- */ .bs-docs-grid { width: 940px; - margin-left: -80px; + margin-left: -240px; } @@ -908,7 +915,7 @@ form.well { .bs-docs-grid { width: 1170px; - margin-left: -195px; + margin-left: -300px; } } diff --git a/docs/base-css.html b/docs/base-css.html index 2afc8b528807803a3f65e238cc0ada46a028d847..75bfced93754b16540c6c884659d99a52f2d5285 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -74,7 +74,7 @@ </div> </div> - <div class="bs-docs-container"> + <div class="container"> <!-- Masthead ================================================== --> @@ -1592,10 +1592,10 @@ For example, <code>section</code> should be wrapped as inline. <!-- Footer ================================================== --> <footer class="footer"> + <p class="pull-right"><a href="#">Back to top</a></p> <p>Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p> <p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> <p>Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> - <p><a href="#">Back to top</a></p> </footer> </div><!-- /container --> diff --git a/docs/components.html b/docs/components.html index 72b86200f8aa936fd00a158978458e9ba063426a..1e324bbfdfc1241595d0432edf9b34c6403512fb 100644 --- a/docs/components.html +++ b/docs/components.html @@ -74,7 +74,7 @@ </div> </div> - <div class="bs-docs-container"> + <div class="container"> <!-- Masthead ================================================== --> @@ -1847,10 +1847,10 @@ class="clearfix" <!-- Footer ================================================== --> <footer class="footer"> + <p class="pull-right"><a href="#">Back to top</a></p> <p>Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p> <p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> <p>Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> - <p><a href="#">Back to top</a></p> </footer> </div><!-- /container --> diff --git a/docs/download.html b/docs/download.html index 9979ef26bfe6edccbc94ac8f257508cd018324ad..a387c792177eecd466381072ea763805c9217cab 100644 --- a/docs/download.html +++ b/docs/download.html @@ -74,7 +74,7 @@ </div> </div> - <div class="bs-docs-container"> + <div class="container"> <!-- Masthead ================================================== --> @@ -421,10 +421,10 @@ <!-- Footer ================================================== --> <footer class="footer"> + <p class="pull-right"><a href="#">Back to top</a></p> <p>Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p> <p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> <p>Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> - <p><a href="#">Back to top</a></p> </footer> </div><!-- /container --> diff --git a/docs/examples.html b/docs/examples.html index c70c4b00dc822ffbdf2f0d0d8b801514bc4b4b59..5e8d74a3b530ab7c043ee8f4c6ca19d6f6fe371c 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -74,7 +74,7 @@ </div> </div> - <div class="bs-docs-container"> + <div class="container"> <!-- Masthead ================================================== --> @@ -112,10 +112,10 @@ <!-- Footer ================================================== --> <footer class="footer"> + <p class="pull-right"><a href="#">Back to top</a></p> <p>Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p> <p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> <p>Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> - <p><a href="#">Back to top</a></p> </footer> </div><!-- /container --> diff --git a/docs/index.html b/docs/index.html index dbc5b99d0b59cc05dfe1934099820146efd23bce..1d55aa23ad0fe18156608fdf151d921045186d12 100644 --- a/docs/index.html +++ b/docs/index.html @@ -74,7 +74,7 @@ </div> </div> - <div class="bs-docs-container"> + <div class="container"> <!-- Masthead ================================================== --> @@ -187,10 +187,10 @@ <!-- Footer ================================================== --> <footer class="footer"> + <p class="pull-right"><a href="#">Back to top</a></p> <p>Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p> <p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> <p>Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> - <p><a href="#">Back to top</a></p> </footer> </div><!-- /container --> diff --git a/docs/javascript.html b/docs/javascript.html index 7e604a37b9d0fc9d2b46cbc8c4103abc88d87cff..f5276ccdd0d87d2e65801e757cde3b2c427de092 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -74,7 +74,7 @@ </div> </div> - <div class="bs-docs-container"> + <div class="container"> <!-- Masthead ================================================== --> @@ -1508,10 +1508,10 @@ $('.carousel').carousel({ <!-- Footer ================================================== --> <footer class="footer"> + <p class="pull-right"><a href="#">Back to top</a></p> <p>Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p> <p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> <p>Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> - <p><a href="#">Back to top</a></p> </footer> </div><!-- /container --> diff --git a/docs/less.html b/docs/less.html index 4a56f65a00e96d78f16cb6c7ff8a18dc495198dd..ad860bd4bd5fd70c67337f3b248e2385ae8c9bc3 100644 --- a/docs/less.html +++ b/docs/less.html @@ -74,7 +74,7 @@ </div> </div> - <div class="bs-docs-container"> + <div class="container"> <!-- Masthead ================================================== --> @@ -1025,10 +1025,10 @@ <!-- Footer ================================================== --> <footer class="footer"> + <p class="pull-right"><a href="#">Back to top</a></p> <p>Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p> <p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> <p>Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> - <p><a href="#">Back to top</a></p> </footer> </div><!-- /container --> diff --git a/docs/scaffolding.html b/docs/scaffolding.html index cd80fc80ac0b30ddad1d6b5fddd2e2f6b1b2184e..ffc55c3b99641f378ae941b149ac2d17ae867023 100644 --- a/docs/scaffolding.html +++ b/docs/scaffolding.html @@ -74,7 +74,23 @@ </div> </div> - <div class="bs-docs-container"> + <div class="container"> + +<div class="row"> + <div class="span3"> + <div class="bs-docs-contents well"> + <h3>Contents</h3> + <ol> + <li><a href="#global">Global styles</a></li> + <li><a href="#gridSystem">Grid system</a></li> + <li><a href="#fluidGridSystem">Fluid grid system</a></li> + <li><a href="#gridCustomization">Customizing</a></li> + <li><a href="#layouts">Layouts</a></li> + <li><a href="#responsive">Responsive design</a></li> + </ol> + </div> + </div> + <div class="span9"> <!-- Masthead ================================================== --> @@ -82,17 +98,6 @@ <h1>Scaffolding</h1> <p class="lead">Bootstrap is built on a responsive 12-column grid. We've also included fixed- and fluid-width layouts based on that system.</p> - <div class="bs-docs-contents"> - <h4>Contents</h4> - <ul> - <li><a href="#global">Global styles</a></li> - <li><a href="#gridSystem">Grid system</a></li> - <li><a href="#fluidGridSystem">Fluid grid system</a></li> - <li><a href="#gridCustomization">Customizing</a></li> - <li><a href="#layouts">Layouts</a></li> - <li><a href="#responsive">Responsive design</a></li> - </ul> - </div> <!-- <div class="subnav"> <ul class="nav nav-pills"> @@ -183,22 +188,15 @@ </div> </div> - <div class="row"> - <div class="span4"> - <p>The default grid system provided in Bootstrap utilizes <strong>12 columns</strong> that render out at widths of 724px, 940px (default without responsive CSS included), and 1170px. Below 767px viewports, the columns become fluid and stack vertically. </p> - </div><!-- /.span --> - <div class="span4"> + <p>The default grid system provided in Bootstrap utilizes <strong>12 columns</strong> that render out at widths of 724px, 940px (default without responsive CSS included), and 1170px. Below 767px viewports, the columns become fluid and stack vertically. </p> <pre class="prettyprint linenums"> <div class="row"> <div class="span4">...</div> <div class="span8">...</div> </div> </pre> - </div><!-- /.span --> - <div class="span4"> - <p>As shown here, a basic layout can be created with two "columns", each spanning a number of the 12 foundational columns we defined as part of our grid system.</p> - </div><!-- /.span --> - </div><!-- /.row --> + + <p>As shown here, a basic layout can be created with two "columns", each spanning a number of the 12 foundational columns we defined as part of our grid system.</p> <br> @@ -611,14 +609,16 @@ </section> + </div> +</div> <!-- Footer ================================================== --> <footer class="footer"> + <p class="pull-right"><a href="#">Back to top</a></p> <p>Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p> <p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> <p>Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> - <p><a href="#">Back to top</a></p> </footer> </div><!-- /container --> diff --git a/docs/templates/layout.mustache b/docs/templates/layout.mustache index 3e8448d194ce886d8de3c6138976d587f7ced867..ae2ce4aad0e060a3aff354614a6a1454f926bfe1 100644 --- a/docs/templates/layout.mustache +++ b/docs/templates/layout.mustache @@ -86,7 +86,7 @@ </div> </div> - <div class="bs-docs-container"> + <div class="container"> {{>body}} @@ -94,10 +94,10 @@ <!-- Footer ================================================== --> <footer class="footer"> + <p class="pull-right"><a href="#">{{_i}}Back to top{{/i}}</a></p> <p>{{_i}}Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.{{/i}}</p> <p>{{_i}}Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.{{/i}}</p> <p>{{_i}}Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.{{/i}}</p> - <p><a href="#">{{_i}}Back to top{{/i}}</a></p> </footer> </div><!-- /container --> diff --git a/docs/templates/pages/scaffolding.mustache b/docs/templates/pages/scaffolding.mustache index 3033c7b02893d70d290be27bf1af591839910b96..d2832e0facafdbc612fb7172c684010d17a31d99 100644 --- a/docs/templates/pages/scaffolding.mustache +++ b/docs/templates/pages/scaffolding.mustache @@ -1,20 +1,25 @@ +<div class="row"> + <div class="span3"> + <div class="bs-docs-contents well"> + <h3>{{_i}}Contents{{/i}}</h3> + <ol> + <li><a href="#global">{{_i}}Global styles{{/i}}</a></li> + <li><a href="#gridSystem">{{_i}}Grid system{{/i}}</a></li> + <li><a href="#fluidGridSystem">{{_i}}Fluid grid system{{/i}}</a></li> + <li><a href="#gridCustomization">{{_i}}Customizing{{/i}}</a></li> + <li><a href="#layouts">{{_i}}Layouts{{/i}}</a></li> + <li><a href="#responsive">{{_i}}Responsive design{{/i}}</a></li> + </ol> + </div> + </div> + <div class="span9"> + <!-- Masthead ================================================== --> <header class="jumbotron subhead" id="overview"> <h1>{{_i}}Scaffolding{{/i}}</h1> <p class="lead">{{_i}}Bootstrap is built on a responsive 12-column grid. We've also included fixed- and fluid-width layouts based on that system.{{/i}}</p> - <div class="bs-docs-contents"> - <h4>Contents</h4> - <ul> - <li><a href="#global">{{_i}}Global styles{{/i}}</a></li> - <li><a href="#gridSystem">{{_i}}Grid system{{/i}}</a></li> - <li><a href="#fluidGridSystem">{{_i}}Fluid grid system{{/i}}</a></li> - <li><a href="#gridCustomization">{{_i}}Customizing{{/i}}</a></li> - <li><a href="#layouts">{{_i}}Layouts{{/i}}</a></li> - <li><a href="#responsive">{{_i}}Responsive design{{/i}}</a></li> - </ul> - </div> <!-- <div class="subnav"> <ul class="nav nav-pills"> @@ -105,22 +110,15 @@ </div> </div> - <div class="row"> - <div class="span4"> - <p>{{_i}}The default grid system provided in Bootstrap utilizes <strong>12 columns</strong> that render out at widths of 724px, 940px (default without responsive CSS included), and 1170px. Below 767px viewports, the columns become fluid and stack vertically. {{/i}}</p> - </div><!-- /.span --> - <div class="span4"> + <p>{{_i}}The default grid system provided in Bootstrap utilizes <strong>12 columns</strong> that render out at widths of 724px, 940px (default without responsive CSS included), and 1170px. Below 767px viewports, the columns become fluid and stack vertically. {{/i}}</p> <pre class="prettyprint linenums"> <div class="row"> <div class="span4">...</div> <div class="span8">...</div> </div> </pre> - </div><!-- /.span --> - <div class="span4"> - <p>{{_i}}As shown here, a basic layout can be created with two "columns", each spanning a number of the 12 foundational columns we defined as part of our grid system.{{/i}}</p> - </div><!-- /.span --> - </div><!-- /.row --> + + <p>{{_i}}As shown here, a basic layout can be created with two "columns", each spanning a number of the 12 foundational columns we defined as part of our grid system.{{/i}}</p> <br> @@ -532,3 +530,6 @@ </ul> </section> + + </div> +</div> \ No newline at end of file diff --git a/docs/upgrading.html b/docs/upgrading.html index a2da493ed0896b6db300016500e6633117f9784c..2a2c3981867ff2b1f42ff7711ccacae2f089b5f7 100644 --- a/docs/upgrading.html +++ b/docs/upgrading.html @@ -74,7 +74,7 @@ </div> </div> - <div class="bs-docs-container"> + <div class="container"> <!-- Masthead ================================================== --> @@ -275,10 +275,10 @@ <!-- Footer ================================================== --> <footer class="footer"> + <p class="pull-right"><a href="#">Back to top</a></p> <p>Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p> <p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> <p>Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> - <p><a href="#">Back to top</a></p> </footer> </div><!-- /container -->