Template:Hublist/styles.css

From Infarupedia
/* {{pp-template|small=yes}} */
.hublist dl,
.hublist ol,
.hublist ul {
	line-height: inherit;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Display list items inline */
.hublist dd,
.hublist dt,
.hublist li {
	/*
	 * don't trust the note that says margin doesn't work with inline
	 * removing margin: 0 makes dds have margins again
	 * We also want to reset margin-right in Minerva
	 */
	margin: 0; 
	display: inline;
}

/* Display requested top-level lists inline */
.hublist.inline,
.hublist.inline dl,
.hublist.inline ol,
.hublist.inline ul,
/* Display nested lists inline */
.hublist dl dl,
.hublist dl ol,
.hublist dl ul,
.hublist ol dl,
.hublist ol ol,
.hublist ol ul,
.hublist ul dl,
.hublist ul ol,
.hublist ul ul {
	display: inline;
}

/* Hide empty list items */
.hublist .mw-empty-li {
	display: none;
}
.hublist dd::after,
.hublist li::after {
	content: "	";
}