diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index e1caaceb74..50f3cb8008 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -243,6 +243,31 @@ section > ul li { margin-bottom: 0; } +/* Typography */ +.bs-docs-example-type .table td { + color: #999; + vertical-align: middle; + border-color: ; +} +.bs-docs-example-type .table td, +.bs-docs-example-type .table th { + padding: 15px 0; + border-color: #eee; +} +.bs-docs-example-type .table tr:first-child td, +.bs-docs-example-type .table tr:first-child th { + border-top: 0; +} +.bs-docs-example-type h1, +.bs-docs-example-type h2, +.bs-docs-example-type h3, +.bs-docs-example-type h4, +.bs-docs-example-type h5, +.bs-docs-example-type h6 { + margin: 0; +} + + /* Navbar examples */ .bs-navbar-top-example, .bs-navbar-bottom-example { diff --git a/docs/css.html b/docs/css.html index 88c3b48a1f..13d39adebe 100644 --- a/docs/css.html +++ b/docs/css.html @@ -90,7 +90,39 @@ title: CSS
All HTML headings, <h1>
through <h6>
are available.
Bootstrap heading |
+ Semibold 38px | +
---|---|
Bootstrap heading |
+ Semibold 32px | +
Bootstrap heading |
+ Semibold 24px | +
Bootstrap heading |
+ Semibold 18px | +
Bootstrap heading |
+ Semibold 16px | +
Bootstrap heading |
+ Semibold 12px | +
Bootstrap's global default font-size
is 14px, with a line-height
of 20px. This is applied to the <body>
and all paragraphs. In addition, <p>
(paragraphs) receive a bottom margin of half their line-height (10px by default).