2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03:00

Fixes #11952: Refactor blockquote styles

* Deprecate .pull-right class for .blockquote-reverse
* Move font-size change to the parent, blockquote, instead of setting on the p element to allow more flexible content
This commit is contained in:
Mark Otto
2013-12-19 19:40:08 -08:00
parent 81b1e6801f
commit 2854c5c3fb
6 changed files with 54 additions and 43 deletions
+3 -3
View File
@@ -872,15 +872,15 @@ base_url: "../"
{% endhighlight %}
<h4>Alternate displays</h4>
<p>Use <code>.pull-right</code> for a floated, right-aligned blockquote.</p>
<p>Add <code>.blockquote-reverse</code> for blockquote with right-aligned content.</p>
<div class="bs-example" style="overflow: hidden;">
<blockquote class="pull-right">
<blockquote class="blockquote-reverse">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<footer>Someone famous in <cite title="Source Title">Source Title</cite></footer>
</blockquote>
</div>
{% highlight html %}
<blockquote class="pull-right">
<blockquote class="blockquote-reverse">
...
</blockquote>
{% endhighlight %}