Flask uses the mimetypes module to determine the MIME type of a file, based on its extension. If you get text/plain
for a CSS file it means this module returns the wrong MIME type.
On Windows it uses data from the registry, so if the "Content Type" value in HKCR/.css
is not set to the proper MIME type it can cause your problem.