Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Tree/style.css: Difference between revisions

Template page
PenguinEncounter (talk | contribs)
No edit summary
PenguinEncounter (talk | contribs)
No edit summary
Line 15: Line 15:
display: block;
display: block;
content: "";
content: "";
background-color: var(--color-base);
background-color: var(--color-subtle, #909090);
}
}
.hierarchy-tree .__item > .emoji {
.hierarchy-tree .__item > .emoji {
Line 32: Line 32:
position: absolute;
position: absolute;
content: "";
content: "";
background-color: var(--color-base);
background-color: var(--color-subtle, #909090);
}
}

Revision as of 03:16, 14 December 2024

.hierarchy-tree {
	display: flex;
	flex-flow: column nowrap;
	height: max-content;
}
.hierarchy-tree .__item {
	position: relative; /* absolute positioning target */
}
.hierarchy-tree .hierarchy-tree .__item::after {
	position: absolute;
	top: 50%;
	left: -16px;
	width: 14px;
	height: 2px;
	display: block;
	content: "";
	background-color: var(--color-subtle, #909090);
}
.hierarchy-tree .__item > .emoji {
	margin-right: 6px;
}
.hierarchy-tree > .-tree-indent {
	padding-left: 24px;
	position: relative;
}
.hierarchy-tree > .-tree-indent::after {
	left: 6px;
	width: 2px;
	top: 2px;
	bottom: 2px;
	display: block;
	position: absolute;
	content: "";
	background-color: var(--color-subtle, #909090);
}