Skip navigation.

exploreopera

| Help

Sign up | Help

Oooh green tags

,

So, just had a new dig at using user stylesheets right here on MyOpera. I noticed after selecting a different theme that the tags didn't stand out from the text really well, so I decided to paint them green.

Unfortunately there wasn't a special class set for all tag links and similar when viewing the source, but luckily I noticed all tags links to an url containing "/tag/", in addition the tag cloud on the right side has a convoluting element with a tagcloud id. Here's the code:

#tagcloud a:link, a[href*="/tag/"]:link {
      color: #009900;
}
So basically, paint green all anchor links that are inside the tagcloud element, and all links in the document that has a href that contains the phrase "/tag/". Neat?

Want to do the same? Copy the content above and paste it in the text form after going to My accountChange designcustom style sheet. Remember to check the option: Use my custom style sheet together with the current theme

Opera 9.2 outZoom text only in web pages with Opera

Comments

avatar
Wow thanks! I didn't even know that was possible with CSS. But the green color should probably be a tad darker.

I think that the second selector you used covers the tag cloud too. But I'm not sure.

By drlaunch, # 5. May 2007, 09:31:07

avatar
I'll make it slightly darker.

I think the second selector needs to be that way to have more specificity than the default stylesheet rule.

By nicomen, # 6. May 2007, 20:27:39

avatar
:yes:

By rezadotcom, # 15. February 2008, 07:56:00

avatar
Thank you now my blog is more green

By lor74cas, # 10. April 2008, 14:33:53

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

Please type this security code : f73089

Smilies

July 2008
SMTWTFS
June 2008August 2008
12345
6789101112
13141516171819
20212223242526
2728293031