default: remove "underline" links

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
chris_goe
Regular
Posts: 11
Joined: Wed Sep 21, 2011 1:53 am

default: remove "underline" links

Post by chris_goe » Mon Mar 12, 2012 7:30 am

(I hope this is the correct sub-forum to post, since the "why don't you contribute it" link gives a 404)

I'm using the "default" theme but I don't like hyperlinks to be underlined. They are underlined anyway, because the default settings of Firefox (and IE, last I checked) will underline hyperlinks. The attached diff to templates/default/style.css and templates/default/admin/style.css removes this forced underlining, leaving hyperlinks underlined when hovered over.
Attachments
css-underline.diff.txt
Removed "text-decoration: underline" from !hover links
(747 Bytes) Downloaded 256 times

User avatar
onli
Regular
Posts: 2440
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: default: remove "underline" links

Post by onli » Mon Mar 12, 2012 12:31 pm

Hi
Thanks for contributing that.

Default is a really old template, even a table-based one. S9y uses it as a fallback when the real template has no instructions on how to render things. It'll probably be reworked or replaced in future releases.
It's probably not the best choice as the main-template.

chris_goe
Regular
Posts: 11
Joined: Wed Sep 21, 2011 1:53 am

Re: default: remove "underline" links

Post by chris_goe » Mon Mar 12, 2012 12:38 pm

Hm, old it may be, yet I'm using it because I like it the most - plain & simple. And if it ever is reworked, please consider removing those underlined links. I'm keeping the change in my local repository for now :-)

Post Reply