Difference between revisions of "Template:Navbox/styles.css"

From Nookipedia, the Animal Crossing wiki
(PanchamBro changed the content model of the page Template:Navbox/styles.css from "Sanitized CSS" to "CSS")
Tag: content model change
m
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
==================================================*/
 
==================================================*/
  
.mw-body-content .hlist ul {
+
.hlist ul {
 
display: inline;
 
display: inline;
 
margin: 0;
 
margin: 0;
Line 12: Line 12:
 
font-size: 0.95em;
 
font-size: 0.95em;
 
}
 
}
.mw-body-content .hlist li {
+
.hlist li {
 
display: inline;
 
display: inline;
 
}
 
}
.mw-body-content .hlist li:not(:last-child) {
+
.hlist li:not(:last-child) {
 
padding-right: 0.286em;
 
padding-right: 0.286em;
 
}
 
}
.mw-body-content .hlist li:not(:last-child)::after {
+
.hlist li:not(:last-child)::after {
 
content: "";
 
content: "";
 
display: inline-block;
 
display: inline-block;
Line 28: Line 28:
 
width: 3px;
 
width: 3px;
 
}
 
}
.mw-body-content .hlist li li {
+
.hlist li li {
 
font-size: 85%;
 
font-size: 85%;
 
}
 
}
.mw-body-content .hlist li li:first-child::before {
+
.hlist li li:first-child::before {
 
content: "(";
 
content: "(";
 
font-weight: normal;
 
font-weight: normal;
 
}
 
}
.mw-body-content .hlist li li:last-child::after {
+
.hlist li li:last-child::after {
 
content: ")";
 
content: ")";
 
font-weight: normal;
 
font-weight: normal;
 
}
 
}
.mw-body-content .hlist li li li {
+
.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;
}