From 2b37d2b5333c0b10d5be53865a1a153d5ac4a4b5 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 23 Aug 2013 14:22:51 -0700 Subject: Update and document use of `small` in headings --- css.html | 60 +++++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 47 insertions(+), 13 deletions(-) (limited to 'css.html') diff --git a/css.html b/css.html index 01b1aa2e1..e77acb66b 100644 --- a/css.html +++ b/css.html @@ -588,46 +588,80 @@ base_url: "../"

Headings

All HTML headings, <h1> through <h6> are available.

-
- + - + - + - + - + - +

h1. Bootstrap heading

Semibold 36pxSemibold 36px

h2. Bootstrap heading

Semibold 30pxSemibold 30px

h3. Bootstrap heading

Semibold 24pxSemibold 24px

h4. Bootstrap heading

Semibold 18pxSemibold 18px
h5. Bootstrap heading
Semibold 14pxSemibold 14px
h6. Bootstrap heading
Semibold 12pxSemibold 12px
{% highlight html %} -

...

-

...

-

...

-

...

-
...
-
...
+

h1. Bootstrap heading

+

h2. Bootstrap heading

+

h3. Bootstrap heading

+

h4. Bootstrap heading

+
h5. Bootstrap heading
+
h6. Bootstrap heading
{% endhighlight %} +

Also included with headings is an autoscaling <small> element. Use it for smaller, gray secondary text in any heading.

+
+ + + + + + + + + + + + + + + + + + + + + +

h1. Bootstrap heading Secondary text

h2. Bootstrap heading Secondary text

h3. Bootstrap heading Secondary text

h4. Bootstrap heading Secondary text

h5. Bootstrap heading Secondary text
h6. Bootstrap heading Secondary text
+
+{% highlight html %} +

h1. Bootstrap heading Secondary text

+

h2. Bootstrap heading Secondary text

+

h3. Bootstrap heading Secondary text

+

h4. Bootstrap heading Secondary text

+
h5. Bootstrap heading Secondary text
+
h6. Bootstrap heading Secondary text
+{% endhighlight %} + +

Body copy

Bootstrap's global default font-size is 14px, with a line-height of 1.428. This is applied to the <body> and all paragraphs. In addition, <p> (paragraphs) receive a bottom margin of half their computed line-height (10px by default).

-- cgit v1.2.3 From df56ecbdcb31d1bf30470ab4c58a7a1224c2c8a8 Mon Sep 17 00:00:00 2001 From: wangsai Date: Sat, 24 Aug 2013 11:39:34 +0800 Subject: fix form --- css.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'css.html') diff --git a/css.html b/css.html index e77acb66b..6947da064 100644 --- a/css.html +++ b/css.html @@ -1828,7 +1828,7 @@ For example, <section> should be wrapped as inline.
-
+ {% highlight html %} -- cgit v1.2.3