Widget:AdventureStyle: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
J* (Diskussion | Beiträge) |
J* (Diskussion | Beiträge) |
||
| 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, 09: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>