Responsive label sizes?

I have poor luck with CSS styling of bokeh:

But a more specific problem, usually solved in CSS with media queries, also applies to plots I now have. I’ve embedded them in a web page that is responsive (thanks to Bootstrap), and the graphs aren’t half bad per se but suddenly the labels are seriously crowded and overlapping. And I’d like to lower the text font size on smaller screens for starters, and I’d also like to consider dropping every other tick label or showing only every nth major tick label etc. Be nice to find a way to that at all, but in a responsive manner even better.