diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 18b7f5c9f1..4c7a7ddab0 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -37,6 +37,12 @@ li { line-height: 25px; } +/* Code in headings */ +h3 code { + font-size: 14px; + font-weight: normal; +} + /* Tweak navbar brand link to be super sleek diff --git a/docs/base-css.html b/docs/base-css.html index 71f8da87e5..0525a96747 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -710,48 +710,11 @@ For example, <code>section</code> should be wrapped as inline.

Forms

-

Controls and layouts

-

Forms include styles for all the base form controls like input, textarea, and select you'd expect. There are also a number of custom components like appended and prepended inputs and support for lists of checkboxes.

-

Bootstrap provides simple markup and styles for four styles of common web forms. Each layout requires small changes to surrounding markup, but the controls themselves remain and behave the same.

-

Error, warning, and success states are included for form controls, as wel as disabled.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameClassDescription
Vertical (default).form-vertical (not required)Stacked, left-aligned labels over controls
Inline.form-inlineLeft-aligned label and inline-block controls for compact style
Search.form-searchExtra-rounded text input for a typical search aesthetic
Horizontal.form-horizontalFloat left, right-aligned labels on same line as controls
- -

Example forms using just form controls, no extra markup

-

Basic form

-

Smart and lightweight defaults without extra markup.

+

Default styles

+

Individual form controls receive styling, but without any required base class on the <form> or large changes in markup. Results in stacked, left-aligned labels on top of form controls.

- +

Example block-level help text here.