93

It doesn't reproduce on Meta, but it will on any beta site. To see an example, check out this meta.chess post:

enter image description here

Edit:

I noticed that on SciFi, English, Area 51, and Electrical Engineering (at least - those are the only ones I've tried), spoilers with monospace will show the monospace part whether or not the mouse is hovering over the block (though the normal font will continue to operate normally). On those sites, however, it hasn't yet joined the Dark Side.

1

2 Answers 2

13
+50

I removed the background styling for <code> elements inside spoilers, so now they should match the normal "code inside a blockquote" styling and look much less evil as of the next build:

enter image description here

0
10
+50

It's a bug in the all.css file used for formatting the page. In the file (which is missing several thousand carriage returns), the style for a spoiler code on hover is

.spoiler:hover code{color:#222;background-color:#444}

Someone a SE needs to change it to

.spoiler:hover code{color:#222;background-color:#eee}

Voila! Problem solved.

fixed spoiler

If you want to, you can manually edit inside Dev tools in your browser, but it would be easier for the SE devs to change it. (ahem)

3
  • By the way, 'quote' is a weird color because I was messing with the CSS.
    – TheDoctor
    Mar 31, 2014 at 21:45
  • 5
    BTW, carriage return are removed to reduce byte count and optimize loading time.
    – nhahtdh
    Mar 31, 2014 at 21:53
  • 2
    As @nhahtdh said CSS files are generally shrunk down to one line for optimization, however some dev tools like what are in chrome can be set to display them back in a more readable manner with a pretty print option
    – Joe W
    Mar 31, 2014 at 22:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .