Mobile browsers set the viewport width to a default of 960px (Android might be a little different from iOS). That's why a plain text file displays so poorly on mobile. It's rendering to a pixel width larger than the display (and zoomed to fit).
For the "plain text" look set the font family to monospace. Bam readable and responsive "plain text" look.
in CSS you can do "max-width: 40ch" on smaller devices if you want. For fancy decorations you'd need need to draw them with css and/or pseudo elements.
I really like the style, but it doesn't work well on phones.