a friend showed me a government website (in Spain) with a really broken layout so I took a peek at the HTML & CSS to see if I could make it work by hand and I was not prepared for what I saw
first: in the header, a style block before any of the stylesheet imports. sure, that's fine
then SEVENTY ONE STYLESHEETS IN A ROW, EACH OVERLAPPING THE PREVIOUS ONES, EACH ONE SET TO MEDIA="ALL" SO THEY AREN'T FOR DIFFERENT DEVICES
then two more style blocks
then two more stylesheets
then another style block
I have never seen this before. What the hell is going on
I found a broken media query in there that made it work on mobile when you manually remove it, but frankly, with the 70+ stylesheets, I lost it again and now I can't find what it was applying to and there's no way I'm looking through all those stylesheets to find out.
If anyone has contacts at the national library of Spain, their website is very, VERY sick, and I will fix it, but not cheaply