diff options
| author | Mark Otto <[email protected]> | 2012-06-05 00:46:16 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-06-05 00:46:16 -0700 |
| commit | dd127611e12b9bab9d6da0c24532c5cd151108fd (patch) | |
| tree | 817928e7073e72baab6bce1ba09fc6b439109a10 /docs | |
| parent | 094e65eb9dd68a4076d5978025b65c7f03792287 (diff) | |
| download | bootstrap-dd127611e12b9bab9d6da0c24532c5cd151108fd.tar.xz bootstrap-dd127611e12b9bab9d6da0c24532c5cd151108fd.zip | |
two col scaffolding rev
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/css/docs.css | 27 | ||||
| -rw-r--r-- | docs/base-css.html | 4 | ||||
| -rw-r--r-- | docs/components.html | 4 | ||||
| -rw-r--r-- | docs/download.html | 4 | ||||
| -rw-r--r-- | docs/examples.html | 4 | ||||
| -rw-r--r-- | docs/index.html | 4 | ||||
| -rw-r--r-- | docs/javascript.html | 4 | ||||
| -rw-r--r-- | docs/less.html | 4 | ||||
| -rw-r--r-- | docs/scaffolding.html | 46 | ||||
| -rw-r--r-- | docs/templates/layout.mustache | 4 | ||||
| -rw-r--r-- | docs/templates/pages/scaffolding.mustache | 43 | ||||
| -rw-r--r-- | docs/upgrading.html | 4 |
12 files changed, 80 insertions, 72 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 4d0fd8fee..b694f107a 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 2afc8b528..75bfced93 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 72b86200f..1e324bbfd 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 9979ef26b..a387c7921 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 c70c4b00d..5e8d74a3b 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 dbc5b99d0..1d55aa23a 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 7e604a37b..f5276ccdd 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 4a56f65a0..ad860bd4b 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 cd80fc80a..ffc55c3b9 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 3e8448d19..ae2ce4aad 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 3033c7b02..d2832e0fa 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 a2da493ed..2a2c39818 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 --> |
