diff options
| author | Mark Otto <[email protected]> | 2012-02-19 15:38:34 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-02-19 15:38:34 -0800 |
| commit | 59d570fc160c71dc21f77735e9d14797e247d859 (patch) | |
| tree | ca97e16649fe0708e8f68b2fe75774e390863955 /docs | |
| parent | 3470c0dc49aa3f66630b2166391df88f1fbd0757 (diff) | |
| parent | f28140897e92882a2bbecd8c3426e978bd29ba86 (diff) | |
| download | bootstrap-59d570fc160c71dc21f77735e9d14797e247d859.tar.xz bootstrap-59d570fc160c71dc21f77735e9d14797e247d859.zip | |
Merge branch 'abbr' of https://github.com/jacobrask/bootstrap into jacobrask-abbr
Conflicts:
docs/assets/bootstrap.zip
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/bootstrap.zip | bin | 53381 -> 53411 bytes | |||
| -rw-r--r-- | docs/assets/css/bootstrap.css | 8 | ||||
| -rw-r--r-- | docs/base-css.html | 8 | ||||
| -rw-r--r-- | docs/templates/pages/base-css.mustache | 8 |
4 files changed, 15 insertions, 9 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip Binary files differindex 811291999..6dedf1435 100644 --- a/docs/assets/bootstrap.zip +++ b/docs/assets/bootstrap.zip diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index d880c288a..65aaa7c85 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 9fad87178..5a2e12748 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 </td> <td> - Include optional <code>title</code> for expanded text + <p>Include optional <code>title</code> attribute for expanded text</p> + Use <code>.initialism</code> class for uppercase abbreviations. </td> </tr> <tr> @@ -205,8 +206,9 @@ </div> <div class="span4"> <h3>Example abbreviations</h3> - <p>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.</p> - <p><abbr title="HyperText Markup Language">HTML</abbr> is the best thing since sliced bread.</p> + <p>Abbreviations with a <code>title</code> attribute have a light dotted bottom border and a help cursor on hover. This gives users extra indication something will be shown on hover.</p> + <p>Add the <code>initialism</code> class to an abbreviation to increase typographic harmony by giving it a slightly smaller text size.</p> + <p><abbr title="HyperText Markup Language" class="initialism">HTML</abbr> is the best thing since sliced bread.</p> <p>An abbreviation of the word attribute is <abbr title="attribute">attr</abbr>.</p> </div> </div> diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index 84d48fb1e..96036d6ee 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}} </td> <td> - {{_i}}Include optional <code>title</code> for expanded text{{/i}} + <p>{{_i}}Include optional <code>title</code> attribute for expanded text{{/i}}</p> + {{_i}}Use <code>.initialism</code> class for uppercase abbreviations.{{/i}} </td> </tr> <tr> @@ -129,8 +130,9 @@ </div> <div class="span4"> <h3>{{_i}}Example abbreviations{{/i}}</h3> - <p>{{_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}}</p> - <p>{{_i}}<abbr title="HyperText Markup Language">HTML</abbr> is the best thing since sliced bread.{{/i}}</p> + <p>{{_i}}Abbreviations with a <code>title</code> 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}}</p> + <p>{{_i}}Add the <code>initialism</code> class to an abbreviation to increase typographic harmony by giving it a slightly smaller text size.{{/i}}</p> + <p>{{_i}}<abbr title="HyperText Markup Language" class="initialism">HTML</abbr> is the best thing since sliced bread.{{/i}}</p> <p>{{_i}}An abbreviation of the word attribute is <abbr title="attribute">attr</abbr>.{{/i}}</p> </div> </div> |
