MediaWiki:Gadget-site.css: Difference between revisions
(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...") |
No edit summary |
||
Line 17: | Line 17: | ||
left: 0.286em; | left: 0.286em; | ||
bottom: 0.214em; | bottom: 0.214em; | ||
} | } | ||
.mw-body-content .hlist li li:first-child::before { | .mw-body-content .hlist li li:first-child::before { |
Revision as of 05:44, 22 July 2024
/* 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;
}
.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;
}