Start delivering, keep delivering

Removing line noise with a user style sheet

I find text with underlining or strikethough difficult to read, so I use the following user style sheet to remove it, except when hovering over links:


/*
 * This file can be used to apply a style to all web pages you view
 * Rules without !important are overruled by author rules if the
 * author sets any.  Rules with !important overrule author rules.
 */

:link, :visited {
  text-decoration : none !important ;
}
:link:hover, :visited:hover {
  text-decoration : underline !important ;
}
del {
  text-decoration : none !important ;
}
strike {
  text-decoration : none !important ;
}

In Firefox, the user style sheet file is called chrome/userContent.css in the user profile directory.

Comments

You can email me at geeks#stephen.viles.geek.nz (change # to @).

Articles

Copyright © Stephen Viles. You can share or adapt this material under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 New Zealand license. This site is built with nanoc and hosted by NearlyFreeSpeech.NET.