From 581e6bb537db2bca38a722ad1a0b36686fb4d7e2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 2 May 2006 07:43:40 +0100 Subject: [PATCH] mobile version improvements --- mobile/functions.php | 24 +++++++++++------------- mobile/mobile.css | 15 ++++++++------- 2 files changed, 19 insertions(+), 20 deletions(-) diff --git a/mobile/functions.php b/mobile/functions.php index a251433a1..6169a352f 100644 --- a/mobile/functions.php +++ b/mobile/functions.php @@ -1,4 +1,5 @@ $feed_title"; print "
  • "; - if (get_pref($link, 'ENABLE_FEED_ICONS')) { - print "$feed_icon"; - } +# if (get_pref($link, 'ENABLE_FEED_ICONS')) { +# print "$feed_icon"; +# } print "$feed "; @@ -570,9 +571,9 @@ } print "
    "; - if (!$cat_view && file_exists("../icons/$feed.ico") && filesize("../icons/$feed.ico") > 0) { - print ""; - } + # if (!$cat_view && file_exists("../icons/$feed.ico") && filesize("../icons/$feed.ico") > 0) { + # print ""; + # } print "$feed_title ("; print "Back, "; @@ -644,7 +645,7 @@ $line["feed_title"].")"; } - print " — $updated_fmt"; + print " ($updated_fmt)"; print "
  • "; @@ -737,9 +738,9 @@ print "
    "; - if (file_exists("../icons/$feed_id.ico") && filesize("../icons/$feed_id.ico") > 0) { - print ""; - } + # if (file_exists("../icons/$feed_id.ico") && filesize("../icons/$feed_id.ico") > 0) { + # print ""; + # } $feed_link = "Feed"; @@ -756,9 +757,6 @@ } print ""; - - - } ?> diff --git a/mobile/mobile.css b/mobile/mobile.css index d89f1fefa..a77e96bfd 100644 --- a/mobile/mobile.css +++ b/mobile/mobile.css @@ -46,15 +46,12 @@ td > input, div > input { padding : 2px; border-width : 0px 0px 1px 0px; border-style : solid; - border-color : #c0c0c0; + border-color : #a0a0a0; font-weight : bold; - background-color : #e0e0e0; } #content { - background-color : white; - background-position : top left; - background-repeat : repeat-x; + background : white; } #footer { @@ -120,13 +117,17 @@ hr { border-color : #e0e0e0; } -a { +ul.headlines a, ul.feedList a { color : black; +} + +a { + color : #5050aa; text-decoration : none; } a:hover { - color : #5050aa; + color : black; } ul.feedList img, img.tinyFeedIcon {