Widget:AdventureStyle: Unterschied zwischen den Versionen

aus Kamelopedia, der wüsten Enzyklopädie
Zur Navigation springen Zur Suche springen
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>