From d1d5d9041365c92b5e5577d2133a26fe509223e8 Mon Sep 17 00:00:00 2001 From: mrmrs Date: Fri, 7 Mar 2014 00:10:46 -0800 Subject: Fixes #12748 --- docs/css.html | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 67 insertions(+), 3 deletions(-) (limited to 'docs/css.html') diff --git a/docs/css.html b/docs/css.html index 9cd635cd7..6d14fbb0d 100644 --- a/docs/css.html +++ b/docs/css.html @@ -718,9 +718,54 @@ lead: "Global CSS settings, fundamental HTML elements styled and enhanced with e

Built with Less

The typographic scale is based on two Less variables in variables.less: @font-size-base and @line-height-base. 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.

+ +

Inline text elements

+

Marked text

+

For indicating blocks of text that have been deleted use the <mark> tag.

+
+

You can use the mark tag to highlight text.

+
+{% highlight html %} +This line of text is meant to be treated as deleted text. +{% endhighlight %} + + +

Deleted text

+

For indicating blocks of text that have been deleted use the <del> tag.

+
+

This line of text is meant to be treated as deleted text.

+
+{% highlight html %} +This line of text is meant to be treated as deleted text. +{% endhighlight %} + +

Strikethrough text

+

For indicating blocks of text that are no longer relevant use the <s> tag.

+
+

This line of text is meant to be treated as no longer accurate.

+
+{% highlight html %} +This line of text is meant to be treated as no longer accurate. +{% endhighlight %} + +

Inserted text

+

For indicating additions to the document use the <ins> tag.

+
+

This line of text is meant to be treated as an addition to the document.

+
+{% highlight html %} +This line of text is meant to be treated as an addition to the document. +{% endhighlight %} + +

Underlined text

+

To underline text use the <u> tag.

+
+

This line of text is will render as underlined

+
+{% highlight html %} +This line of text is will render as underlined +{% endhighlight %} - -

Emphasis

Make use of HTML's default emphasis tags with lightweight styles.

Small text

@@ -757,7 +802,7 @@ lead: "Global CSS settings, fundamental HTML elements styled and enhanced with e

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.

-

Alignment classes

+

Alignment classes

Easily realign text to components with text alignment classes.

Left aligned text.

@@ -1051,10 +1096,29 @@ For example, <section> should be wrapped as inline. {% endhighlight %}

You may optionally add the .pre-scrollable class, which will set a max-height of 350px and provide a y-axis scrollbar.

+

Variables

+

For indicating variables use the <var> tag.

+
+

y = mx + b

+ +
+{% highlight html %} +y = mx + b +{% endhighlight %} + +

Sample output

+

For indicating blocks sample output from a program use the <samp> tag.

+
+

This text is meant to be treated as sample output from a computer program.

+
+{% highlight html %} +This text is meant to be treated as sample output from a computer program. +{% endhighlight %}
+
-- cgit v1.2.3