General :  K-Meleon Forum
General discussion about K-Meleon. 
link color?
Posted by: herolemming
Date: September 18, 2010 01:44AM

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/18/2010 01:46AM by herolemming.

Options: ReplyQuote
Re: link color?
Posted by: siria
Date: September 18, 2010 01:54AM

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 ; }

Options: ReplyQuote
Re: link color?
Posted by: herolemming
Date: September 18, 2010 06:32PM

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 06:37PM by herolemming.

Options: ReplyQuote
Re: link color?
Posted by: siria
Date: September 18, 2010 07: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

Options: ReplyQuote


K-Meleon forum is powered by Phorum.