Widget:AdventureStyle: Unterschied zwischen den Versionen

aus Kamelopedia, der wüsten Enzyklopädie
Zur Navigation springen Zur Suche springen
Zeile 5: Zeile 5:
 
     color: white;
 
     color: white;
 
     background-color: black;
 
     background-color: black;
 +
}
 +
 +
/* blind mit lesbaren Linkfarben */
 +
body.adventure-style-blind-readable div#content {
 +
    color: white;
 +
    background-color: black;
 +
}
 +
 +
body.adventure-style-blind-readable div#content a {
 +
    color: #ddddff;
 
}
 
}
  

Version vom 22. Juni 2012, 08:02 Uhr

<style type="text/css">

/* blind */

body.adventure-style-blind div#content {
   color: white;
   background-color: black;

}

/* blind mit lesbaren Linkfarben */

body.adventure-style-blind-readable div#content {
   color: white;
   background-color: black;

}

body.adventure-style-blind-readable div#content a {
   color: #ddddff;

}

</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>