mediawiki-skin-crystal/resources/toc.less

37 lines
476 B
Plaintext

.tocnumber, .toctitle {
display: none;
}
.toc {
margin-bottom: 1.2em;
}
.toctitle > h2 {
text-align: center;
}
.toc > ul {
display: flex;
justify-content: center;
gap: calc(var(--space) * 2);
flex-wrap: wrap;
}
.toclevel-1 {
flex-basis: 6em;
}
.toclevel-1 > a {
font-size: 1.2em;
}
.toclevel-1 ul, .toclevel-1 {
display: flex;
flex-direction: column;
gap: 0;
align-items: center;
}
.toctext {
text-wrap: nowrap;
}