Difference between revisions of "Template:Navbox/styles.css"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) (Creating styles sheet) |
PanchamBro (talk | contribs) m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
==================================================*/ | ==================================================*/ | ||
− | + | .hlist ul { | |
display: inline; | display: inline; | ||
margin: 0; | margin: 0; | ||
Line 12: | Line 12: | ||
font-size: 0.95em; | font-size: 0.95em; | ||
} | } | ||
− | + | .hlist li { | |
display: inline; | display: inline; | ||
} | } | ||
− | + | .hlist li:not(:last-child) { | |
padding-right: 0.286em; | padding-right: 0.286em; | ||
} | } | ||
− | + | .hlist li:not(:last-child)::after { | |
content: ""; | content: ""; | ||
display: inline-block; | display: inline-block; | ||
Line 28: | Line 28: | ||
width: 3px; | width: 3px; | ||
} | } | ||
− | + | .hlist li li { | |
− | font-size: | + | font-size: 85%; |
} | } | ||
− | + | .hlist li li:first-child::before { | |
content: "("; | content: "("; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
− | + | .hlist li li:last-child::after { | |
content: ")"; | content: ")"; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
− | + | .hlist li li li { | |
font-size: x-small; | font-size: x-small; | ||
} | } |
Latest revision as of 05:05, May 18, 2024
/*==================================================
[[Category:Navbox templates]]
Converts ul list to a vertical row
Code imported from Minecraft Wiki, licensed under CC-BY-NC-SA 3.0
The list of authors can be found here: https://minecraft.wiki/w/MediaWiki:Gadget-site-styles.css?action=history
==================================================*/
.hlist ul {
display: inline;
margin: 0;
padding: 0;
font-size: 0.95em;
}
.hlist li {
display: inline;
}
.hlist li:not(:last-child) {
padding-right: 0.286em;
}
.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;
}
.hlist li li {
font-size: 85%;
}
.hlist li li:first-child::before {
content: "(";
font-weight: normal;
}
.hlist li li:last-child::after {
content: ")";
font-weight: normal;
}
.hlist li li li {
font-size: x-small;
}