File tree 3 files changed +10
-25
lines changed
3 files changed +10
-25
lines changed Original file line number Diff line number Diff line change @@ -202,12 +202,19 @@ Add a `<footer class="blockquote-footer">` for identifying the source. Wrap the
202
202
</blockquote >
203
203
{% endexample %}
204
204
205
- ### Reverse layout
205
+ ### Alignment
206
206
207
- Add ` .blockquote-reverse ` for a blockquote with right-aligned content .
207
+ Use text utilities as needed to change the alignment of your blockquote .
208
208
209
209
{% example html %}
210
- <blockquote class =" blockquote blockquote-reverse " >
210
+ <blockquote class =" blockquote text-center " >
211
+ <p class =" mb-0 " >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p >
212
+ <footer class =" blockquote-footer " >Someone famous in <cite title =" Source Title " >Source Title</cite ></footer >
213
+ </blockquote >
214
+ {% endexample %}
215
+
216
+ {% example html %}
217
+ <blockquote class =" blockquote text-right " >
211
218
<p class =" mb-0 " >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p >
212
219
<footer class =" blockquote-footer " >Someone famous in <cite title =" Source Title " >Source Title</cite ></footer >
213
220
</blockquote >
Original file line number Diff line number Diff line change @@ -108,10 +108,8 @@ mark,
108
108
109
109
// Blockquotes
110
110
.blockquote {
111
- padding : ($spacer / 2 ) $spacer ;
112
111
margin-bottom : $spacer ;
113
112
font-size : $blockquote-font-size ;
114
- border-left : $blockquote-border-width solid $blockquote-border-color ;
115
113
}
116
114
117
115
.blockquote-footer {
@@ -123,21 +121,3 @@ mark,
123
121
content : " \2014 \00A0 " ; // em dash, nbsp
124
122
}
125
123
}
126
-
127
- // Opposite alignment of blockquote
128
- .blockquote-reverse {
129
- padding-right : $spacer ;
130
- padding-left : 0 ;
131
- text-align : right ;
132
- border-right : $blockquote-border-width solid $blockquote-border-color ;
133
- border-left : 0 ;
134
- }
135
-
136
- .blockquote-reverse .blockquote-footer {
137
- & ::before {
138
- content : " " ;
139
- }
140
- & ::after {
141
- content : " \00A0 \2014 " ; // nbsp, em dash
142
- }
143
- }
Original file line number Diff line number Diff line change @@ -279,8 +279,6 @@ $text-muted: $gray-600 !default;
279
279
280
280
$blockquote-small-color : $gray-600 !default ;
281
281
$blockquote-font-size : ($font-size-base * 1.25 ) !default ;
282
- $blockquote-border-color : $gray-200 !default ;
283
- $blockquote-border-width : .25rem !default ;
284
282
285
283
$hr-border-color : rgba ($black ,.1 ) !default ;
286
284
$hr-border-width : $border-width !default ;
You can’t perform that action at this time.
0 commit comments