Template:Quote box: Difference between revisions

remove center alignment of text
If we are setting a background color, we should also set the foreground color. Right now, the quotebox looks terrible in any dark mode browser.
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
  <div class="quote-box" style="margin: {{{margin|1em}}} {{{align|auto}}}; width: {{{width|80%}}}; padding: 10px; border: 1px solid #aaa; background-color: #f9f9f9;">
  <div class="quote-box" style="margin: {{{margin|1em}}} {{{align|auto}}}; width: {{{width|80%}}}; padding: 10px; border: 1px solid #aaa; background-color: #f9f9f9; color: black">
     <blockquote style="margin: 0;">{{{quote|}}}</blockquote>
     <blockquote style="margin: 0;">{{{quote|}}}</blockquote>
  </div>
  </div>
Line 31: Line 31:
|align=left
|align=left
|quote=Example of an important quote}}
|quote=Example of an important quote}}
 
[[Category:Styling templates]]
== Template Data ==
== Template Data ==