From 81fb03406e33bb6001d6c3232f89d05ce979fd36 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 17 Apr 2015 21:07:09 -0700 Subject: [PATCH] move responsive embed to utilities docs, update the nav to dedupe things --- docs/_data/nav.yml | 5 +---- docs/components/responsive-embed.md | 30 ----------------------------- docs/components/utilities.md | 28 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 34 deletions(-) delete mode 100644 docs/components/responsive-embed.md diff --git a/docs/_data/nav.yml b/docs/_data/nav.yml index d8ea8f82ad..6bd3b0ad49 100644 --- a/docs/_data/nav.yml +++ b/docs/_data/nav.yml @@ -118,9 +118,7 @@ - title: Dropdowns - title: Badges - title: Label - - title: Tabs - title: Alerts - - title: Buttons - title: Navs - title: Navbar - title: Card @@ -137,7 +135,6 @@ - title: Columns - title: Breadcrumb - title: Pagination - - title: Alerts - title: Progress - title: List group - title: Modal @@ -146,7 +143,6 @@ - title: Popovers - title: Collapse - title: Carousel - - title: Responsive embed - title: Utilities sections: - title: Text alignment @@ -160,6 +156,7 @@ - title: Invisible content - title: Screen readers - title: Image replacement + - title: Responsive embed - title: Examples pages: diff --git a/docs/components/responsive-embed.md b/docs/components/responsive-embed.md deleted file mode 100644 index d2572431e5..0000000000 --- a/docs/components/responsive-embed.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -layout: page -title: Responsive embed ---- - -Allow browsers to determine video or slideshow dimensions based on the width of their containing block by creating an intrinsic ratio that will properly scale on any device. - -Rules are directly applied to ` - -{% endexample %} - -Aspect ratios can be customized. There are two available in Bootstrap, 16x9 and 4x3 (two of the most common for video). - -{% highlight html %} - -
- -
- - -
- -
-{% endhighlight %} diff --git a/docs/components/utilities.md b/docs/components/utilities.md index 0d6fe2595a..78ee54f82e 100644 --- a/docs/components/utilities.md +++ b/docs/components/utilities.md @@ -221,3 +221,31 @@ Utilize the `.text-hide` class or mixin to help replace an element's text conten @include text-hide; } {% endhighlight %} + +### Responsive embeds + +Allow browsers to determine video or slideshow dimensions based on the width of their containing block by creating an intrinsic ratio that will properly scale on any device. + +Rules are directly applied to ` + +{% endexample %} + +Aspect ratios can be customized. There are two available in Bootstrap, 16x9 and 4x3 (two of the most common for video). + +{% highlight html %} + +
+ +
+ + +
+ +
+{% endhighlight %}