diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 2d4eedefed..dce385eb68 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -17,6 +17,10 @@ body { background-position: 0 40px; } +.bs-docs-container { + max-width: 780px; + margin: 0 auto; +} /* Tweak navbar brand link to be super sleek -------------------------------------------------- */ @@ -571,7 +575,7 @@ form.well { margin: 15px 0; padding: 39px 19px 14px; background-color: #fff; - border: 1px solid #e5e5e5; + border: 1px solid #ddd; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; @@ -582,11 +586,10 @@ form.well { top: -1px; left: -1px; padding: 3px 7px; - font-family: "Open Sans", sans-serif; font-size: 12px; font-weight: bold; background-color: #f5f5f5; - border: 1px solid #e5e5e5; + border: 1px solid #ddd; color: #9da0a4; -webkit-border-radius: 4px 0 4px 0; -moz-border-radius: 4px 0 4px 0; diff --git a/docs/base-css.html b/docs/base-css.html index 09552ec8bc..d22fbc1217 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -74,7 +74,7 @@ -
The entire typographic grid is based on two Less variables in our variables.less file: @baseFontSize
and @baseLineHeight
. The first is the base font-size used throughout and the second is the base line-height.
We use those variables, and some math, to create the margins, paddings, and line-heights of all our type and more.
-Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.
-Make a paragraph stand out by adding .lead
.
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
-All HTML headings, <h1>
through <h6>
are available.
Bootstrap's global default font-size
is 13px, with a line-height
of 18px. This is applied to the <body>
and all paragraphs. In addition, <p>
(paragraphs) receive a bottom margin of half their line-height (9px by default).
Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.
+Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.
+Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
+Make a paragraph stand out by adding .lead
.
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
+The typographic scale is based on two Less variables in variables.less file: @baseFontSize
and @baseLineHeight
. The first is the base font-size used throughout and the second is the base line-height.
We use those variables, and some math, to create the margins, paddings, and line-heights of all our type and more. Customize them and watch Bootstrap adapt as you go.
+ +Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.
-Note: Feel free to use <b>
and <i>
in HTML5, but their usage has changed a bit. <b>
is meant to highlight words or phrases without conveying additional importance while <i>
is mostly for voice, technical terms, etc.
Here are two examples of how the <address>
tag can be used:
Abbreviations with a title
attribute have a light dotted bottom border and a help cursor on hover. This gives users extra indication something will be shown on hover.
Add the initialism
class to an abbreviation to increase typographic harmony by giving it a slightly smaller text size.
HTML is the best thing since sliced bread.
-An abbreviation of the word attribute is attr.
-Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.
+Note: Feel free to use <b>
and <i>
in HTML5. <b>
is meant to highlight words or phrases without conveying additional importance while <i>
is mostly for voice, technical terms, etc.
Here are two examples of how the <address>
tag can be used:
Abbreviations with a title
attribute have a light dotted bottom border and a help cursor on hover. This gives users extra indication something will be shown on hover.
An abbreviation of the word attribute is attr.
+Add the initialism
class to an abbreviation for a slightly smaller font-size.
HTML is the best thing since sliced bread.
+To include a blockquote, wrap <blockquote>
around any HTML as the quote. For straight quotes we recommend a <p>
.
Include an optional <small>
element to cite your source and you'll get an em dash —
before it for styling purposes.
To include a blockquote, wrap <blockquote>
around any HTML as the quote. For straight quotes we recommend a <p>
.
Include an optional <small>
element to cite your source and you'll get an em dash —
before it for styling purposes.
<blockquote> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p> <small>Someone famous</small> </blockquote>-
Default blockquotes are styled as such:
---Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.
- Someone famous in Body of work -
To float your blockquote to the right, add class="pull-right"
:
--Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.
- Someone famous in Body of work -
Default blockquotes are styled as such:
+++Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.
+ Someone famous in Body of work +
To float your blockquote to the right, add class="pull-right"
:
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.
+ Someone famous in Body of work +
<ul>
A list of items in which the order does not explicitly matter.
++<ul> + <li>...</li> +</ul> ++ +
<ul class="unstyled">
<ul class="unstyled">
<ol>
<dl>
<dl class="dl-horizontal">
- Heads up!
- Horizontal description lists will truncate terms that are too long to fit in the left column fix text-overflow
. In narrower viewports, they will change to the default stacked layout.
-
<ol>
<dl>
<dl class="dl-horizontal">
+ Heads up!
+ Horizontal description lists will truncate terms that are too long to fit in the left column fix text-overflow
. In narrower viewports, they will change to the default stacked layout.
+
{{_i}}The entire typographic grid is based on two Less variables in our variables.less file: @baseFontSize
and @baseLineHeight
. The first is the base font-size used throughout and the second is the base line-height.{{/i}}
{{_i}}We use those variables, and some math, to create the margins, paddings, and line-heights of all our type and more.{{/i}}
-Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.
-{{_i}}Make a paragraph stand out by adding .lead
.{{/i}}
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
-{{_i}}All HTML headings, <h1>
through <h6>
are available.{{/i}}
{{_i}}Bootstrap's global default font-size
is 13px, with a line-height
of 18px. This is applied to the <body>
and all paragraphs. In addition, <p>
(paragraphs) receive a bottom margin of half their line-height (9px by default).{{/i}}
Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.
+Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.
+Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
+{{_i}}Make a paragraph stand out by adding .lead
.{{/i}}
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
+{{_i}}The typographic scale is based on two Less variables in variables.less file: @baseFontSize
and @baseLineHeight
. The first is the base font-size used throughout and the second is the base line-height.{{/i}}
{{_i}}We use those variables, and some math, to create the margins, paddings, and line-heights of all our type and more. Customize them and watch Bootstrap adapt as you go.{{/i}}
+ +Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.
-{{_i}}Note: Feel free to use <b>
and <i>
in HTML5, but their usage has changed a bit. <b>
is meant to highlight words or phrases without conveying additional importance while <i>
is mostly for voice, technical terms, etc.{{/i}}
{{_i}}Here are two examples of how the <address>
tag can be used:{{/i}}
{{_i}}Abbreviations with a title
attribute have a light dotted bottom border and a help cursor on hover. This gives users extra indication something will be shown on hover.{{/i}}
{{_i}}Add the initialism
class to an abbreviation to increase typographic harmony by giving it a slightly smaller text size.{{/i}}
{{_i}}HTML is the best thing since sliced bread.{{/i}}
-{{_i}}An abbreviation of the word attribute is attr.{{/i}}
-Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.
+{{_i}}Note: Feel free to use <b>
and <i>
in HTML5. <b>
is meant to highlight words or phrases without conveying additional importance while <i>
is mostly for voice, technical terms, etc.{{/i}}
{{_i}}Here are two examples of how the <address>
tag can be used:{{/i}}
{{_i}}Abbreviations with a title
attribute have a light dotted bottom border and a help cursor on hover. This gives users extra indication something will be shown on hover.{{/i}}
{{_i}}An abbreviation of the word attribute is attr.{{/i}}
+{{_i}}Add the initialism
class to an abbreviation for a slightly smaller font-size.{{/i}}
{{_i}}HTML is the best thing since sliced bread.{{/i}}
+{{_i}}To include a blockquote, wrap <blockquote>
around any HTML as the quote. For straight quotes we recommend a <p>
.{{/i}}
{{_i}}Include an optional <small>
element to cite your source and you'll get an em dash —
before it for styling purposes.{{/i}}
{{_i}}To include a blockquote, wrap <blockquote>
around any HTML as the quote. For straight quotes we recommend a <p>
.{{/i}}
{{_i}}Include an optional <small>
element to cite your source and you'll get an em dash —
before it for styling purposes.{{/i}}
<blockquote> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p> <small>{{_i}}Someone famous{{/i}}</small> </blockquote>-
{{_i}}Default blockquotes are styled as such:{{/i}}
---Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.
- {{_i}}Someone famous in Body of work{{/i}} -
{{_i}}To float your blockquote to the right, add class="pull-right"
:{{/i}}
--Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.
- {{_i}}Someone famous in Body of work{{/i}} -
{{_i}}Default blockquotes are styled as such:{{/i}}
+++Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.
+ {{_i}}Someone famous in Body of work{{/i}} +
{{_i}}To float your blockquote to the right, add class="pull-right"
:{{/i}}
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.
+ {{_i}}Someone famous in Body of work{{/i}} +
<ul>
{{_i}}A list of items in which the order does not explicitly matter.{{/i}}
++<ul> + <li>...</li> +</ul> ++ +
<ul class="unstyled">
<ul class="unstyled">
<ol>
<dl>
<dl class="dl-horizontal">
- {{_i}}Heads up!{{/i}}
- {{_i}}Horizontal description lists will truncate terms that are too long to fit in the left column fix text-overflow
. In narrower viewports, they will change to the default stacked layout.{{/i}}
-
<ol>
<dl>
<dl class="dl-horizontal">
+ {{_i}}Heads up!{{/i}}
+ {{_i}}Horizontal description lists will truncate terms that are too long to fit in the left column fix text-overflow
. In narrower viewports, they will change to the default stacked layout.{{/i}}
+