I just learned there's a tab-size CSS property. So I assume you can style code blocks so that they have different indentation under different screen sizes, or that users could adjust tab size according to their preferences.
(And maybe code blocks using tabs for indentation are more accessible than code blocks using spaces for indentation, but I have my doubts.)