Template:Quote box: Difference between revisions

mNo edit summary
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.
 
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>