2023年政策修订增补工作正在进行中,欢迎参与!
  • Moegirl.ICU:萌娘百科流亡社群 581077156(QQ),欢迎对萌娘百科运营感到失望的编辑者加入
  • Moegirl.ICU:账号认领正在试运行,有意者请参照账号认领流程

Template:Minitree/style.css

萌娘百科,万物皆可萌的百科全书!转载请标注来源页面的网页链接,并声明引自萌娘百科。内容不可商用。
跳转到导航 跳转到搜索
.minitree {
	overflow-x: auto;
}
@media screen and (min-width:1000px) {
	.minitree {
		white-space: nowrap;
	}
}
.minitree > table {
	text-align: center;
	border-collapse: collapse;
	border-spacing: 0;
	display: table;
	margin: 10px;
}
.minitree tr {
	height: 2em;
	display: table-row;
}
.minitree .mw-empty-elt {
	height: 0;
}
.minitree td {
	width: 2em;
	min-width: 1em;
}
.minitree td[colspan="3"] {
	padding: calc(0.2em + 2px);
	box-shadow: 0 2px 7px #555, inset 0 0 0 2px #000;
}
.minitree td[class] {
	position: relative;
}
.minitree td[class]::before, .minitree td[class]::after {
	content: "";
	display: block;
	position: absolute;
	border-color: #000;
}
.minitree td[class]::before {
	top: 0;
	bottom: calc(50% - 0.5px);
	left: 0;
	right: 0;
	border-width: 0 0 1px 0;
	border-style: solid;
}
.minitree td[class]::after {
	top: 0;
	bottom: 0;
	left: 0;
	right: calc(50% - 0.5px);
	border-width: 0 1px 0 0;
	border-style: solid;
}
.tree-\,::before, .tree-\`::before, .tree-\)::before, .tree-F::before, .tree-L::before, .tree-D::before,
.tree-\}::before, .tree-\]::before {
	left: 50% !important;
}
.tree-\.::before, .tree-\'::before, .tree-\(::before, .tree-7::before, .tree-J::before, .tree-C::before,
.tree-\\\{::before, .tree-\[::before {
	right: 50% !important;
}
.tree-\,::after, .tree-\.::after, .tree-v::after, .tree-F::after, .tree-7::after, .tree-V::after,
.tree-y::after {
	top: 50% !important;
}
.tree-\`::after, .tree-\'::after, .tree-\^::after, .tree-L::after, .tree-J::after, .tree-A::after,
.tree-h::after, .tree-t::after {
	bottom: 50% !important;
}
.tree-F::before, .tree-F::after, .tree-7::before, .tree-7::after, .tree-L::before, .tree-L::after,
.tree-J::before, .tree-J::after, .tree-A::before, .tree-A::after, .tree-V::before, .tree-V::after,
.tree-C::before, .tree-C::after, .tree-D::before, .tree-D::after, .tree-\~::before, .tree-\:::after,
.tree-\%::before, .tree-\%::after, .tree-\*::after, .tree-\}::after, .tree-\\\{::after, .tree-\#::before,
.tree-y::before, .tree-h::before, .tree-\]::before, .tree-\[::before, .tree-t::after {
	border-style: dashed !important;
}
.tree--::after, .tree-\!::before, .tree-\~::after, .tree-\:::before {
	content: none !important;
}
.minitree > table table.mw-collapsed { /* {{hide}} */
	margin-left: auto;
	margin-right: auto;
}
/* [[Category:在模板名字空间下的CSS页面]] */