diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 811291999d..6dedf14358 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index d880c288a1..65aaa7c852 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -417,12 +417,14 @@ em { .muted { color: #999999; } -abbr { - font-size: 90%; - text-transform: uppercase; +abbr[title] { border-bottom: 1px dotted #ddd; cursor: help; } +abbr.initialism { + font-size: 90%; + text-transform: uppercase; +} blockquote { padding: 0 0 0 15px; margin: 0 0 18px; diff --git a/docs/base-css.html b/docs/base-css.html index 9fad87178a..5a2e12748c 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -166,7 +166,8 @@ Wraps abbreviations and acronyms to show the expanded version on hover - Include optional title for expanded text +

Include optional title attribute for expanded text

+ Use .initialism class for uppercase abbreviations. @@ -205,8 +206,9 @@

Example abbreviations

-

Abbreviations are styled with uppercase text and a light dotted bottom border. They also have a help cursor on hover so users have extra indication something will be shown on hover.

-

HTML is the best thing since sliced bread.

+

Abbreviations with a title attribute have a light dotted bottom border and a help cursor on hover. This gives users extra indication something will be shown on hover.

+

Add the initialism class to an abbreviation to increase typographic harmony by giving it a slightly smaller text size.

+

HTML is the best thing since sliced bread.

An abbreviation of the word attribute is attr.

diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index 84d48fb1e0..96036d6eee 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -90,7 +90,8 @@ {{_i}}Wraps abbreviations and acronyms to show the expanded version on hover{{/i}} - {{_i}}Include optional title for expanded text{{/i}} +

{{_i}}Include optional title attribute for expanded text{{/i}}

+ {{_i}}Use .initialism class for uppercase abbreviations.{{/i}} @@ -129,8 +130,9 @@

{{_i}}Example abbreviations{{/i}}

-

{{_i}}Abbreviations are styled with uppercase text and a light dotted bottom border. They also have a help cursor on hover so users have extra indication something will be shown on hover.{{/i}}

-

{{_i}}HTML is the best thing since sliced bread.{{/i}}

+

{{_i}}Abbreviations with a title attribute have a light dotted bottom border and a help cursor on hover. This gives users extra indication something will be shown on hover.{{/i}}

+

{{_i}}Add the initialism class to an abbreviation to increase typographic harmony by giving it a slightly smaller text size.{{/i}}

+

{{_i}}HTML is the best thing since sliced bread.{{/i}}

{{_i}}An abbreviation of the word attribute is attr.{{/i}}

diff --git a/less/type.less b/less/type.less index 6ba83bc3a3..bbe15f6cf7 100644 --- a/less/type.less +++ b/less/type.less @@ -154,12 +154,14 @@ em { } // Abbreviations and acronyms -abbr { - font-size: 90%; - text-transform: uppercase; +abbr[title] { border-bottom: 1px dotted #ddd; cursor: help; } +abbr.initialism { + font-size: 90%; + text-transform: uppercase; +} // Blockquotes blockquote {