• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Make dark text display lighter

wdb

Active member
#1
wdb submitted a new resource:

Make dark text display lighter (version 0.1) - Make dark text more readable on a dark background

If you have a problem with dark text in forum posts being hard to read against a dark background you can use this script to make it display lighter. The code needs to go in the footer template.

Code:
<script type="text/javascript">
    // Lighten dark text (wdb)
    var minRGB=150;
    var RGBfact=(255-minRGB)/255;
    $('.messageContent span').each(function(j) {
        var textcol = this.style.color;
        if (textcol) {
            var rgb =...
Read more about this resource...