Widget:AdventureStyle: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
J* (Diskussion | Beiträge) |
J* (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
+ | <style type="text/css"> | ||
+ | |||
+ | /* blind */ | ||
+ | body.adventure-style-blind div#content { | ||
+ | color: white; | ||
+ | background-color: black; | ||
+ | } | ||
+ | |||
+ | </style> | ||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
function makeAdventureStyle() { | function makeAdventureStyle() { |
Version vom 22. Juni 2012, 07:47 Uhr
<style type="text/css">
/* blind */
body.adventure-style-blind div#content { color: white; background-color: black;
}
</style>
<script type="text/javascript"> function makeAdventureStyle() {
var styles = "".split("|"); for (s in styles) { var style = styles[s]; if (/[A-Za-z]/.test(style)) $(document.body).addClass("adventure-style-"+style); }
}
makeAdventureStyle(); </script>