link color?
Posted by: herolemming
Date: September 17, 2010 06:44PM

i'm editing my css(usercontent.css) and i want to make all links yellow. what is the code? I have managed to change the apperance with

{background: blue !important; }
* {font-weight: 900 !important; }
* {font-family: stentiga !important; }
* {color: white !important; }



Edited 1 time(s). Last edit at 09/17/2010 06:46PM by herolemming.

Re: link color?
Posted by: siria
Date: September 17, 2010 06:54PM

Just more syntax examples from a former test sheet of mine, if anyone needs.
By the way for testing styles first, without needing to restart the browser each time, one can just as well add a code to the adblock-stylesheet and toggle just that one on and off:
Toggle is in Tools>Privacy>Block Ads
Edit is in Edit>Configuration>Adblock-stylesheet (lies in profile folder/chrome)


a , a:link {
color: blue !important;
background-color: yellow !important ;
text-decoration: underline !important;
font-weight: bold !important ;
text-transform: inherit; }

a:visited {
color: mediumvioletred !important;
background-color: yellow !important ;
text-decoration: underline !important;
font-weight: bold !important ; }

a:hover, a:focus, a:active {
color: white !important;
background-color: red !important ;
font-weight: bold !important ; }

Re: link color?
Posted by: herolemming
Date: September 18, 2010 11:32AM

css is so much easier than html. it seems opera has a better ad-blocking method. i'll have to look into that (maybe edit adblock.csssmiling smiley but i did not know that the changes were made with out restarting neat trick..thanx

edit: I just used your code with out editing it, the web looks remnescent of ms word for dos ^_^



Edited 1 time(s). Last edit at 09/18/2010 11:37AM by herolemming.

Re: link color?
Posted by: siria
Date: September 18, 2010 12:07PM

grinning smiley
Of course the colors etc. are meant to be customized by yourself, just as css syntax example.
Those example colors are definitely no permanent setting for myself, I only inject this very rarely on single pages to see all links immediately jumping at me in that GLARING style, LOL! grinning smiley

K-Meleon forum is powered by Phorum.