[Spun out from T271710 to track the specific Site-Request configuration aspect.]
Could we please have subpages of Index: pages at enwikisource set to sanitized-css if they end in CSS?
This is done (if I understand the manual) by adding the Index namespace to $wgTemplateStylesNamespaces.