Jump to content
Discussions

MediaWiki:Quote.css

From Undertale Wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
blockquote {
	font-size: inherit;
	line-height: inherit;
	margin: 0.1em 0.2em 0.6em 2em;
	width: 300px;
}

blockquote > p:first-of-type {
	background-color: var(--background-color-progressive);
	border-radius: 8px;
	color: var(--color-inverted-fixed);
	font-style: italic;
	padding: 0.5em 1em;
}

blockquote > p > cite:before {
	content: "— ";
}

/* T366389 adds negative margins to blockquotes appearing after paragraphs, */
/* but this also applies to completely empty paragraphs. Let's not do that. */
.mw-body p.mw-empty-elt + blockquote {
	margin-top: 0.1em;
}