Template:Quotation/styles.css

From Workers & Resources: Soviet Republic Official Wiki
Revision as of 19:24, 8 August 2026 by FrontalRaccoon (talk | contribs) (Keep quotation boxes from overlapping floated infoboxes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* These rules live in MediaWiki:Common.css but resolve their colours through
   --theme-* variables that only the Fandom platform defined, so on this wiki
   the declarations are discarded and the box loses its border and background.
   TemplateStyles forbids custom properties, so the colours are repeated
   literally here. They match the wikitable palette. */
.va-quotation-left,
.va-quotation-right {
	border-top: 1px solid #45494e;
	border-bottom: 1px solid #45494e;
}

.va-quotation-quot-l,
.va-quotation-quot-r {
	color: #45494e;
}

/* Without a block formatting context the quotation box slides underneath a
   floated infobox: the closing quote mark, positioned at the box’s right
   edge, lands on top of the infobox and the box swallows clicks meant for
   the infobox image tabs. */
.va-quotation-center,
.va-quotation-left,
.va-quotation-right {
	display: flow-root;
}