Excluding sites

edited March 2007 in Style Development
Is there a way, in Stylish, to exclude a site from the CSS? Specifically, I would like to modify all pages on USA Today's new website except for the homepage, www.usatoday.com/ Is there any way to do this? Thanks for your help.

Comments

  • edited March 2007
    At the moment there isn't anyway I know of, but you can do this
    @namespace url(http://www.w3.org/1999/xhtml); @-moz-document url-prefix("http://www.usatoday.com/news/"), url-prefix("http://usatoday.com/news/"), url-prefix("http://www.usatoday.com/travel/"), url-prefix("http://usatoday.com/travel/"), url-prefix("http://www.usatoday.com/money/"), url-prefix("http://usatoday.com/money/"), url-prefix("http://www.usatoday.com/sports/"), url-prefix("http://usatoday.com/sports/"), url-prefix("http://www.usatoday.com/life/"), url-prefix("http://usatoday.com/life/"), url-prefix("http://www.usatoday.com/tech/"), url-prefix("http://usatoday.com/tech/"), url-prefix("http://www.usatoday.com/weather/"), url-prefix("http://usatoday.com/weather/"){ }
  • That give me this error: Expected url(), url-prefix(), or domain() in @-moz-document rule but found '@-moz-document'. Unrecognized at-rule or error parsing at-rule '@-moz-document'.
  • I made a stupid mistake. It's fixed now.
Sign In or Register to comment.