In the section "We also need to define a metric for pruning." the math afterwards (and in all other places) has a dark background, and black font. Not legible. The code seems to have a weird shadow effect that goes away if I mark the code. That doesn't seem to be intended.
That's one reason why I generally rely on the Dark background and Light text extension, as in such cases it's obvious the readability wasn't checked.