Topic on User talk:GethN7

Actually, the best solution is to probably do what I did at Kings Wiki:

http://en.kingswiki.com/w/index.php?title=MediaWiki:Common.css&diff=16688&oldid=12348

Have one class ("spoiler") for the background and border and a separate class ("spoilerhidden") for the color of the text, then have Template:Spoiler be <span class="spoiler spoilerhidden">{{{1}}}</span>. That way, the gadget could be rewritten to toggle "spoilerhidden" out / in.