mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Fixes #12748
This commit is contained in:
Vendored
+6
@@ -1403,6 +1403,12 @@ cite {
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mark,
|
||||||
|
.mark {
|
||||||
|
padding: .2em;
|
||||||
|
background-color: #fcf8e3;
|
||||||
|
}
|
||||||
|
|
||||||
.text-left {
|
.text-left {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+5
@@ -1109,6 +1109,11 @@ small,
|
|||||||
cite {
|
cite {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
mark,
|
||||||
|
.mark {
|
||||||
|
padding: .2em;
|
||||||
|
background-color: #fcf8e3;
|
||||||
|
}
|
||||||
.text-left {
|
.text-left {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -30,7 +30,8 @@
|
|||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li><a href="#type-headings">Headings</a></li>
|
<li><a href="#type-headings">Headings</a></li>
|
||||||
<li><a href="#type-body-copy">Body copy</a></li>
|
<li><a href="#type-body-copy">Body copy</a></li>
|
||||||
<li><a href="#type-emphasis">Emphasis</a></li>
|
<li><a href="#type-inline-text">Inline text elements</a></li>
|
||||||
|
<li><a href="#type-alignment">Alignment classes</a></li>
|
||||||
<li><a href="#type-abbreviations">Abbreviations</a></li>
|
<li><a href="#type-abbreviations">Abbreviations</a></li>
|
||||||
<li><a href="#type-addresses">Addresses</a></li>
|
<li><a href="#type-addresses">Addresses</a></li>
|
||||||
<li><a href="#type-blockquotes">Blockquotes</a></li>
|
<li><a href="#type-blockquotes">Blockquotes</a></li>
|
||||||
@@ -43,6 +44,8 @@
|
|||||||
<li><a href="#code-inline">Inline code</a></li>
|
<li><a href="#code-inline">Inline code</a></li>
|
||||||
<li><a href="#code-user-input">User input</a></li>
|
<li><a href="#code-user-input">User input</a></li>
|
||||||
<li><a href="#code-block">Blocks of code</a></li>
|
<li><a href="#code-block">Blocks of code</a></li>
|
||||||
|
<li><a href="#code-variables">Variables</a></li>
|
||||||
|
<li><a href="#code-sample-output">Sample output</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+67
-3
@@ -718,9 +718,54 @@ lead: "Global CSS settings, fundamental HTML elements styled and enhanced with e
|
|||||||
<h3>Built with Less</h3>
|
<h3>Built with Less</h3>
|
||||||
<p>The typographic scale is based on two Less variables in <strong>variables.less</strong>: <code>@font-size-base</code> and <code>@line-height-base</code>. The first is the base font-size used throughout and the second is the base line-height. We use those variables and some simple math to create the margins, paddings, and line-heights of all our type and more. Customize them and Bootstrap adapts.</p>
|
<p>The typographic scale is based on two Less variables in <strong>variables.less</strong>: <code>@font-size-base</code> and <code>@line-height-base</code>. The first is the base font-size used throughout and the second is the base line-height. We use those variables and some simple math to create the margins, paddings, and line-heights of all our type and more. Customize them and Bootstrap adapts.</p>
|
||||||
|
|
||||||
|
<!-- Inline text elements -->
|
||||||
|
<h2 id="type-inline-text">Inline text elements</h2>
|
||||||
|
<h3>Marked text</h3>
|
||||||
|
<p>For indicating blocks of text that have been deleted use the <code><mark></code> tag.</p>
|
||||||
|
<div class="bs-example">
|
||||||
|
<p>You can use the mark tag to <mark>highlight</mark> text.</p>
|
||||||
|
</div>
|
||||||
|
{% highlight html %}
|
||||||
|
<mark>This line of text is meant to be treated as deleted text.</mark>
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Deleted text</h3>
|
||||||
|
<p>For indicating blocks of text that have been deleted use the <code><del></code> tag.</p>
|
||||||
|
<div class="bs-example">
|
||||||
|
<p><del>This line of text is meant to be treated as deleted text.</del></p>
|
||||||
|
</div>
|
||||||
|
{% highlight html %}
|
||||||
|
<del>This line of text is meant to be treated as deleted text.</del>
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
|
<h3>Strikethrough text</h3>
|
||||||
|
<p>For indicating blocks of text that are no longer relevant use the <code><s></code> tag.</p>
|
||||||
|
<div class="bs-example">
|
||||||
|
<p><s>This line of text is meant to be treated as no longer accurate.</s></p>
|
||||||
|
</div>
|
||||||
|
{% highlight html %}
|
||||||
|
<s>This line of text is meant to be treated as no longer accurate.</s>
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
|
<h3>Inserted text</h3>
|
||||||
|
<p>For indicating additions to the document use the <code><ins></code> tag.</p>
|
||||||
|
<div class="bs-example">
|
||||||
|
<p><ins>This line of text is meant to be treated as an addition to the document.</ins></p>
|
||||||
|
</div>
|
||||||
|
{% highlight html %}
|
||||||
|
<ins>This line of text is meant to be treated as an addition to the document.</ins>
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
|
<h3>Underlined text</h3>
|
||||||
|
<p>To underline text use the <code><u></code> tag.</p>
|
||||||
|
<div class="bs-example">
|
||||||
|
<p><u>This line of text is will render as underlined</u></p>
|
||||||
|
</div>
|
||||||
|
{% highlight html %}
|
||||||
|
<u>This line of text is will render as underlined</u>
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
<!-- Emphasis -->
|
|
||||||
<h2 id="type-emphasis">Emphasis</h2>
|
|
||||||
<p>Make use of HTML's default emphasis tags with lightweight styles.</p>
|
<p>Make use of HTML's default emphasis tags with lightweight styles.</p>
|
||||||
|
|
||||||
<h3>Small text</h3>
|
<h3>Small text</h3>
|
||||||
@@ -757,7 +802,7 @@ lead: "Global CSS settings, fundamental HTML elements styled and enhanced with e
|
|||||||
<p>Feel free to use <code><b></code> and <code><i></code> in HTML5. <code><b></code> is meant to highlight words or phrases without conveying additional importance while <code><i></code> is mostly for voice, technical terms, etc.</p>
|
<p>Feel free to use <code><b></code> and <code><i></code> in HTML5. <code><b></code> is meant to highlight words or phrases without conveying additional importance while <code><i></code> is mostly for voice, technical terms, etc.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3>Alignment classes</h3>
|
<h2 id="type-alignment">Alignment classes</h2>
|
||||||
<p>Easily realign text to components with text alignment classes.</p>
|
<p>Easily realign text to components with text alignment classes.</p>
|
||||||
<div class="bs-example">
|
<div class="bs-example">
|
||||||
<p class="text-left">Left aligned text.</p>
|
<p class="text-left">Left aligned text.</p>
|
||||||
@@ -1051,10 +1096,29 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<p>You may optionally add the <code>.pre-scrollable</code> class, which will set a max-height of 350px and provide a y-axis scrollbar.</p>
|
<p>You may optionally add the <code>.pre-scrollable</code> class, which will set a max-height of 350px and provide a y-axis scrollbar.</p>
|
||||||
|
<h2 id="code-variables">Variables</h2>
|
||||||
|
<p>For indicating variables use the <code><var></code> tag.</p>
|
||||||
|
<div class="bs-example">
|
||||||
|
<p><var>y</var> = <var>m</var><var>x</var> + <var>b</var></p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
{% highlight html %}
|
||||||
|
<var>y</var> = <var>m</var><var>x</var> + <var>b</var>
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
|
<h2 id="code-sample-output">Sample output</h2>
|
||||||
|
<p>For indicating blocks sample output from a program use the <code><samp></code> tag.</p>
|
||||||
|
<div class="bs-example">
|
||||||
|
<p><samp>This text is meant to be treated as sample output from a computer program.</samp></p>
|
||||||
|
</div>
|
||||||
|
{% highlight html %}
|
||||||
|
<samp>This text is meant to be treated as sample output from a computer program.</samp>
|
||||||
|
{% endhighlight %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Tables
|
<!-- Tables
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<div class="bs-docs-section">
|
<div class="bs-docs-section">
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -81,6 +81,12 @@ small,
|
|||||||
// Undo browser default styling
|
// Undo browser default styling
|
||||||
cite { font-style: normal; }
|
cite { font-style: normal; }
|
||||||
|
|
||||||
|
mark,
|
||||||
|
.mark {
|
||||||
|
background-color: @state-warning-bg;
|
||||||
|
padding: .2em;
|
||||||
|
}
|
||||||
|
|
||||||
// Alignment
|
// Alignment
|
||||||
.text-left { text-align: left; }
|
.text-left { text-align: left; }
|
||||||
.text-right { text-align: right; }
|
.text-right { text-align: right; }
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user