Template:Hublist/styles.css: Difference between revisions
(Created page with "→{{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: .h...") |
No edit summary |
||
Line 43: | Line 43: | ||
.hublist .mw-empty-li { | .hublist .mw-empty-li { | ||
display: none; | display: none; | ||
} | |||
.hlist dd::after, | |||
.hlist li::after { | |||
content: " "; | |||
} | } |
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; } .hlist dd::after, .hlist li::after { content: " "; }