Template:Hlist/styles.css: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (Willowisp moved page Template:Hlist/styles.css to Template:Horizontal list/styles.css without leaving a redirect)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:


/* Horizontal lists */
/* Horizontal lists */
.hlist dl,
.hlist ul,
.bg3wiki-horizontlist dl,
.bg3wiki-horizontlist dl,
.bg3wiki-horizontlist ul {
.bg3wiki-horizontlist ul {
Line 7: Line 9:
}
}


.hlist  dl ul,
.hlist  dl dl,
.hlist  ul dl,
.hlist  ul ul,
.bg3wiki-horizontlist dl ul,
.bg3wiki-horizontlist dl ul,
.bg3wiki-horizontlist dl dl,
.bg3wiki-horizontlist dl dl,
Line 14: Line 20:
}
}


.hlist dd,
.hlist  dt,
.hlist li,
.bg3wiki-horizontlist dd,
.bg3wiki-horizontlist dd,
.bg3wiki-horizontlist dt,
.bg3wiki-horizontlist dt,
Line 21: Line 30:
}
}


.hlist dd:after,
.hlist li:after,
.bg3wiki-horizontlist dd::after,
.bg3wiki-horizontlist dd::after,
.bg3wiki-horizontlist li::after {
.bg3wiki-horizontlist li::after {
Line 27: Line 38:
}
}


.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after,
.bg3wiki-horizontlist dd:last-child::after,
.bg3wiki-horizontlist dd:last-child::after,
.bg3wiki-horizontlist dt:last-child::after,
.bg3wiki-horizontlist dt:last-child::after,
Line 33: Line 47:
}
}


.hlist dt:after,
.bg3wiki-horizontlist dt::after {
.bg3wiki-horizontlist dt::after {
     content: ":";
     content: ":";
Line 39: Line 54:
}
}


.hlist dd dd:first-child::before,
.hlist dd dt:first-child::before,
.hlist dd li:first-child::before,
.hlist dt dd:first-child::before,
.hlist dt dt:first-child::before,
.hlist dt li:first-child::before,
.hlist li dd:first-child::before,
.hlist li dt:first-child::before,
.hlist li li:first-child::before,
.bg3wiki-horizontlist dd dd:first-child::before,
.bg3wiki-horizontlist dd dd:first-child::before,
.bg3wiki-horizontlist dd dt:first-child::before,
.bg3wiki-horizontlist dd dt:first-child::before,
Line 52: Line 76:
}
}


.hlist dd dd:last-child::after,
.hlist dd dt:last-child::after,
.hlist dd li:last-child::after,
.hlist dt dd:last-child::after,
.hlist dt dt:last-child::after,
.hlist dt li:last-child::after,
.hlist li dd:last-child::after,
.hlist li dt:last-child::after,
.hlist li li:last-child::after,
.bg3wiki-horizontlist dd dd:last-child::after,
.bg3wiki-horizontlist dd dd:last-child::after,
.bg3wiki-horizontlist dd dt:last-child::after,
.bg3wiki-horizontlist dd dt:last-child::after,

Latest revision as of 23:30, 2 January 2024

/* Horizontal lists */
.hlist dl,
.hlist ul,
.bg3wiki-horizontlist dl,
.bg3wiki-horizontlist ul {
	margin: 0;
	padding: 0;
}

.hlist  dl ul,
.hlist  dl dl,
.hlist  ul dl,
.hlist  ul ul,
.bg3wiki-horizontlist dl ul,
.bg3wiki-horizontlist dl dl,
.bg3wiki-horizontlist ul dl,
.bg3wiki-horizontlist ul ul {
	display: inline;
}

.hlist dd,
.hlist  dt,
.hlist li,
.bg3wiki-horizontlist dd,
.bg3wiki-horizontlist dt,
.bg3wiki-horizontlist li {
	margin: 0;
	display: inline;
}

.hlist dd:after,
.hlist li:after,
.bg3wiki-horizontlist dd::after,
.bg3wiki-horizontlist li::after {
	content: " · ";
	font-weight: bold;
}

.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after,
.bg3wiki-horizontlist dd:last-child::after,
.bg3wiki-horizontlist dt:last-child::after,
.bg3wiki-horizontlist li:last-child::after {
	content: none;
}

.hlist dt:after,
.bg3wiki-horizontlist dt::after {
    content: ":";
    font-weight: normal;
    font-size: 100%;
}

.hlist dd dd:first-child::before,
.hlist dd dt:first-child::before,
.hlist dd li:first-child::before,
.hlist dt dd:first-child::before,
.hlist dt dt:first-child::before,
.hlist dt li:first-child::before,
.hlist li dd:first-child::before,
.hlist li dt:first-child::before,
.hlist li li:first-child::before,
.bg3wiki-horizontlist dd dd:first-child::before,
.bg3wiki-horizontlist dd dt:first-child::before,
.bg3wiki-horizontlist dd li:first-child::before,
.bg3wiki-horizontlist dt dd:first-child::before,
.bg3wiki-horizontlist dt dt:first-child::before,
.bg3wiki-horizontlist dt li:first-child::before,
.bg3wiki-horizontlist li dd:first-child::before,
.bg3wiki-horizontlist li dt:first-child::before,
.bg3wiki-horizontlist li li:first-child::before {
	content: " (";
	font-weight: normal;
}

.hlist dd dd:last-child::after,
.hlist dd dt:last-child::after,
.hlist dd li:last-child::after,
.hlist dt dd:last-child::after,
.hlist dt dt:last-child::after,
.hlist dt li:last-child::after,
.hlist li dd:last-child::after,
.hlist li dt:last-child::after,
.hlist li li:last-child::after,
.bg3wiki-horizontlist dd dd:last-child::after,
.bg3wiki-horizontlist dd dt:last-child::after,
.bg3wiki-horizontlist dd li:last-child::after,
.bg3wiki-horizontlist dt dd:last-child::after,
.bg3wiki-horizontlist dt dt:last-child::after,
.bg3wiki-horizontlist dt li:last-child::after,
.bg3wiki-horizontlist li dd:last-child::after,
.bg3wiki-horizontlist li dt:last-child::after,
.bg3wiki-horizontlist li li:last-child::after {
	content: ")";
	font-weight: normal;
}