MediaWiki:Gadget-site.css

Revision as of 05:20, 22 July 2024 by Blob (talk | contribs) (Created page with "→‎Horizontal list: .mw-body-content .hlist ul { display: inline; margin: 0; padding: 0; } .mw-body-content .hlist li { display: inline; } .mw-body-content .hlist li:not(:last-child) { padding-right: 0.286em; } .mw-body-content .hlist li:not(:last-child)::after { content: ""; display: inline-block; position: relative; left: 0.286em; bottom: 0.214em; background-color: #000; height: 3px; width: 3px; } .mw-body-content .hlist li li:first-child::before { cont...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Horizontal list */
.mw-body-content .hlist ul {
	display: inline;
	margin: 0;
	padding: 0;
}
.mw-body-content .hlist li {
	display: inline;
}
.mw-body-content .hlist li:not(:last-child) {
	padding-right: 0.286em;
}
.mw-body-content .hlist li:not(:last-child)::after {
	content: "";
	display: inline-block;
	position: relative;
	left: 0.286em;
	bottom: 0.214em;
	background-color: #000;
	height: 3px;
	width: 3px;
}
.mw-body-content .hlist li li:first-child::before {
	content: "(";
	font-weight: normal;
}
.mw-body-content .hlist li li:last-child::after {
	content: ")";
	font-weight: normal;
}
.mw-body-content .hlist li li li {
	font-size: x-small;
}