Template:Hublist/styles.css: Difference between revisions

From Infarupedia
No edit summary
mNo edit summary
 
Line 44: Line 44:
display: none;
display: none;
}
}
.hlist dd::after,
.hublist dd::after,
.hlist li::after {
.hublist li::after {
content: " ";
content: " ";
}
}

Latest revision as of 15:16, 12 December 2024

/* {{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: "	";
}