Color of links (General)

by Birgit ⌂, Tuesday, January 19, 2010, 11:57 (5226 days ago)

Hi all,

I would like to give the links in postings another color than the text itself, but I can't find the "css-location" to do this. I mean this: Klick! The word "Klick" should have another color than the text before and behind. In this forum it is okay (blue), but in my forum I made a mistake and all the links are black now.
Is there anybody who can help me?

--
Best wishes,
Birgit

Avatar

Color of links

by Micha ⌂, Tuesday, January 19, 2010, 12:43 (5226 days ago) @ Birgit

Hi,

look for "default links". Default-CSS:

/* default links: */
a                        { color:#0000cc; text-decoration:none; }
a:visited                { color:#0000cc; }
a:hover                  { color:#0000ff; text-decoration:underline; }
a:active                 { color:#ff0000; }

regards
Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Color of links

by Birgit ⌂, Tuesday, January 19, 2010, 15:42 (5226 days ago) @ Micha

Thank you so much, Micha! :ok:

--
Best wishes,
Birgit

Avatar

Color of links

by Auge ⌂, Tuesday, January 19, 2010, 18:26 (5226 days ago) @ Micha

Hello

look for "default links". Default-CSS:

/* default links: */
a                        { color:#0000cc; text-decoration:none; }
a:visited                { color:#0000cc; }
a:hover                  { color:#0000ff; text-decoration:underline; }
a:active                 { color:#ff0000; }

a hint:
If it is wanted to format links in postings different from the standard style, you should grab the links with .posting a[:pseudoclasses] for forum-view or .ct-postingbody a[:pseudoclasses] for table-view.

next one:
for users who use the keyboard instead the mouse to navigate, you shlould use a:focus before a:hover.

a:focus, a:hover { ... }

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

Color of links

by Birgit ⌂, Tuesday, January 19, 2010, 19:06 (5226 days ago) @ Auge

Wow, thank you, Auge, that's great! Now only the links in the postings have the color I wanted them to have, all other links are untouched - thanks! :ok:

--
Best wishes,
Birgit

RSS Feed of thread