View Single Post
zerojay's Avatar
Posts: 2,669 | Thanked: 2,555 times | Joined on Apr 2007 @ Halifax, Nova Scotia, Canada
#44
Originally Posted by YoDude View Post
Your 55k file over wrote my 6.5k file just fine with no conflicts.

Your larger file includes much more than mine did and I especially like how it handles ads in search results and other sites run by that company that starts with a "G" and ends with an "oogle".

I just added the customizations that I use for mostly iPhone formatted sites to the beginning of your file and it works like a charm...

Code:
@-moz-document url-prefix(http://www.dot.state.pa.us/Penndot/Districts/district5.nsf/) {
    img {width: 100%; height: 100% !important }
}

@-moz-document url-prefix(http://207.251.86.248) {
    img {width: 100%; height: 100% !important }
}

@-moz-document url-prefix(http://164.156.16.43/public/) {
    img {width: 100%; height: 100% !important }
}

@-moz-document url-prefix(http://www.marketwatch.com/m/) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://m.reference.com/) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://imode.langtolang.com/) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://sunset.ci.sunnyvale.ca.us/airpac/) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://mobile.usa.gov/) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://lyrics.twilightwap.com/) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://lyrics.twilightwap.com/) {
    img {display: none !important }
}

@-moz-document url-prefix(http://wapedia.mobi/) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://www.hopstop.com/pda) {
  body {font-size: 120% !important}
}

@-moz-document url-prefix(http://mobile.flightstats.com/) {
  body {font-size: 120% !important}
}

As I was saying before, a future feature request would be to provide a means for a user to add lines like those^ to your file as he comes across a site that would benifit from some simple CSS tweaks.

If not, the best way for a casual user might be after installing your package, make a copy of your newly installed UserContent.css in their easier to access, "MyDocs" directory.
When new lines need to be added, add them to the "MyDocs" file then overwrite the old file in the "chrome" directory from the command line...
I don't even think root privileges are required.

BTW, couldn't this also be made available in the Diablo repositories?

Thanks.
No root isn't required. Yeah, probably could be done for Diablo.