Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <otto@github.com>2013-08-12 11:28:50 +0400
committerMark Otto <otto@github.com>2013-08-12 11:28:50 +0400
commita2b9988eb908e5b95fb253aac7fde0fbd61c375e (patch)
tree83a9f5e5b15e8c37d135e0ed52dea2f11b74cd2d /_layouts
parent95affa32e6b756e54cc86b85a352aaa02e65bf9d (diff)
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
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 336eb85752..d254f2e4fe 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -25,7 +25,7 @@
<div class="container bs-docs-container">
<div class="row">
- <div class="col-lg-3">
+ <div class="col-md-3">
<aside class="bs-sidebar" role="complementary">
<ul class="nav bs-sidenav">
{% if page.slug == "getting-started" %}
@@ -42,7 +42,7 @@
</ul>
</aside>
</div>
- <main class="col-lg-9" role="main">
+ <main class="col-md-9" role="main">
{{ content }}
</main>
</div>