What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 129 Stack Exchange communities.

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.

share|improve this question
16  
That...is awesome. –  Tim Stone Jun 18 '12 at 19:07
8  
for proper effect, the text color should be red on black (and subtly dripping with blood) –  Ben Brocka Jun 18 '12 at 21:18
7  
    
While waiting for a proper fix from the SE folks, I've included a client-side fix for this (and a bunch of other spoiler CSS issues) in SOUP v1.6. –  Ilmari Karonen Feb 10 at 14:04
5  
Any chance this will ever be fixed? It's a most trivial CSS fix, in fact one of the comments links something that's basically ready to be pasted and committed. –  romkyns Mar 10 at 20:44
1  
@IlmariKaronen OKOKOK... installing already :-) –  Jan Dvorak Mar 12 at 10:16
1  
Comeoncomeoncomeon. Why isn't it fixed yet? Hopefully the bounty will work. –  bjb568 Apr 3 at 23:40

2 Answers 2

up vote 12 down vote accepted
+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

share|improve this answer
    
Yay! …Not that I really cared. –  bjb568 Apr 5 at 2:44
    
@Anna Have a unicoin. –  Daniel Apr 6 at 1:11
    
I’m seeing this issue on Meta, too, e.g. in this question. Is the fixed CSS in the pipeline to be pushed to Meta, or should I open a new bug? –  bdesham Apr 21 at 12:45
    
@bdesham Meta has a completely different style from beta sites, so this fix doesn't immediately apply. I'll take a look in a bit here. –  Anna Lear Apr 21 at 15:15

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)

share|improve this answer
    
By the way, 'quote' is a weird color because I was messing with the CSS. –  TheDoctor Mar 31 at 21:45
4  
BTW, carriage return are removed to reduce byte count and optimize loading time. –  nhahtdh Mar 31 at 21:53
1  
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 at 22:38

You must log in to answer this question.

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