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 |
||
(2 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
left: 0.286em; | left: 0.286em; | ||
bottom: 0.214em; | bottom: 0.214em; | ||
background-color: # | background-color: #CECDDF; | ||
height: | height: 5px; | ||
width: | width: 5px; | ||
border-radius: 50px; | |||
} | } | ||
.mw-body-content .hlist li li:first-child::before { | .mw-body-content .hlist li li:first-child::before { |
Latest revision as of 06:03, 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;
background-color: #CECDDF;
height: 5px;
width: 5px;
border-radius: 50px;
}
.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;
}