/* GECOPIEERD van FEB (VBTW)
   ZIE preambles/datatoc.tex
   */
   
/* 2023-09: gebruik data-toc-label  (via tellen in TeX) ipv data-nav-counter  (via tellen in JS) */
.toc li::before {
    content: attr(data-toc-label) "  ";
    min-width: 2.6rem;
    padding-right: 0.5rem;
}

/* 2025-10: tel met M2.3, en geen nummers bij oefeningen */
/* When data-toc-label exists AND is not empty */
.toc li.part[data-toc-label]:not([data-toc-label=""]):not(.section)::before,
.toc li.subpart[data-toc-label]:not([data-toc-label=""]):not(.section)::before
{
    content: "W" attr(data-toc-label) "  ";
    /* min-width: 2.8rem; */
    padding-right: 0.5rem;
}

.toc li.subpart[data-toc-label]:not([data-toc-label=""]):not(.section)::before {
	content: attr(data-toc-label) "  ";
	font-size: 90%;
}

/* but NO counter for sections and subparts */
.toc li.section::before {
	content: "";
	min-width: 2.8rem;
    padding-right: 0.5rem;
}

/* Hack: tel weken nog eens, voor de eerste 'blokjes-pagina' */
.xourse {
    counter-reset: week -1;
}

.part {
    counter-increment: week;
}

.part::before
{
    content: "Week " counter(week) "  ";
    font-size: large;
    font-weight: bold;
}
