Template:Quote box: Difference between revisions

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.
m testing
Line 2: Line 2:
  <div class="quote-box" style="margin: {{{margin|1em}}} {{{align|auto}}}; width: {{{width|80%}}}; padding: 10px; border: 1px solid #aaa; background-color: #f9f9f9; color: black">
  <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>
    <br /> - {{{source|}}}
  </div>
  </div>
</includeonly>
</includeonly>
Line 58: Line 59:
"description": "The quote to include in the box",
"description": "The quote to include in the box",
"required": true
"required": true
},
        "source": {
"description": "The source to include in the box",
"required": false
}
}
},
},