MediaWiki:Gadget-site.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
left: 0.286em; | left: 0.286em; | ||
bottom: 0.214em; | bottom: 0.214em; | ||
background-color: #CECDDF; | |||
height: 1.4em; | |||
width: 1.4em; | |||
} | } | ||
.mw-body-content .hlist li li:first-child::before { | .mw-body-content .hlist li li:first-child::before { |
Revision as of 05:53, 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: 1.4em;
width: 1.4em;
}
.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;
}