1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/docs/_layouts/default.html

59 lines
1.7 KiB
HTML
Raw Normal View History

2013-07-27 03:18:12 -04:00
<!DOCTYPE html>
2013-02-12 15:16:32 -05:00
<html lang="en">
<head>
<!-- Meta, title, CSS, favicons, etc. -->
{% include header.html %}
2013-02-12 15:16:32 -05:00
</head>
2013-07-26 22:25:45 -04:00
<body>
<a class="sr-only sr-only-focusable" href="#content">Skip to main content</a>
2013-02-12 15:16:32 -05:00
<!-- Docs master nav -->
{% include nav-main.html %}
<!-- Docs page layout -->
<div class="bs-docs-header" id="content">
2013-05-09 01:29:53 -04:00
<div class="container">
<h1>{{ page.title }}</h1>
2013-05-09 01:29:53 -04:00
<p>{{ page.lead }}</p>
{% include ads.html %}
</div>
2013-05-09 01:29:53 -04:00
</div>
2013-02-12 15:16:32 -05:00
2013-05-09 01:29:53 -04:00
<div class="container bs-docs-container">
<div class="row">
2013-12-12 01:37:59 -05:00
<div class="col-md-9" role="main">
{{ content }}
</div>
Media query (grid and responsive utilities) overhaul Grid classes have been changed to account for a fourth set of classes, meaning we now have XS, S, M, and L options. Specifically, we made the following changes: * Renames `.col-` to `.col-xs-` * Adds `.col-md-` for devices 992px wide and up * Remaps `.col-lg-` for devices 1200px wide and up Alongside that, we've updated our media queries to better handle advanced grid layouts: * All column classes now kick in when they hit a `min-width`, undoing the #9128 fix in https://github.com/twbs/bootstrap/commit/db45a60cc86190a060f0baf0b3961cb c690f3a65 * All column offsets, pushes, and pulls are scoped to an appropriate range, meaning a `min-width` and `max-width` (thanks for the idea, @eratzlaff) We've also modified the widths of our grid containers for the small device grid (now a max 720px instead of 728px) and large device grid (now a max 1140px instead of 1170px) to avoid horizontal scrollbar problems in Firefox (likely due to box-sizing, which is why we didn't see it in 2.x). Similarly, we've updated the responsive ultility classes to match the new four media query approach of the grid system. That means we've: * Added new `.visible-xs` and `.hidden-xs` classes * Reassigns visible and hidden classes for small, medium, and large to matching grid system media queries * Updates docs examples to match grid system and account for fourth utility range ----- Fixes the following: * #9135: fourth grid tier * #9302: undoes previous range change for small grid system, so no need to update any docs here * #8755: consistent grid and responsive utilities schemas) * #9195, #9216, and #9227: no more horizontal scrollbars
2013-08-12 03:28:50 -04:00
<div class="col-md-3">
<div class="bs-docs-sidebar hidden-print" role="complementary">
<ul class="nav bs-docs-sidenav">
2013-05-09 14:40:39 -04:00
{% if page.slug == "getting-started" %}
2013-07-26 02:29:43 -04:00
{% include nav-getting-started.html %}
{% elsif page.slug == "css" %}
2013-07-26 02:29:43 -04:00
{% include nav-css.html %}
{% elsif page.slug == "components" %}
2013-07-26 02:29:43 -04:00
{% include nav-components.html %}
{% elsif page.slug == "js" %}
2013-07-26 02:29:43 -04:00
{% include nav-javascript.html %}
{% elsif page.slug == "customize" %}
2013-07-26 02:29:43 -04:00
{% include nav-customize.html %}
2013-09-11 15:30:46 -04:00
{% elsif page.slug == "about" %}
{% include nav-about.html %}
{% elsif page.slug == "migration" %}
{% include nav-migration.html %}
{% endif %}
</ul>
<a class="back-to-top" href="#top">
Back to top
</a>
</div>
</div>
</div>
</div>
2013-02-12 15:16:32 -05:00
{% include footer.html %}
2013-02-12 15:16:32 -05:00
</body>
</html>