X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=stylesheets%2Ffeed.css;h=fa52a45c2219e7fdf7d8ab046d7376975a981cbe;hb=61819d059b783efc09f0dd6e5dc0061353818744;hp=73cce5415aa49faa37539445a7bb5b86bdf950bd;hpb=29804835657280d77082b72fbd23f44fffdc3512;p=lhc%2Fweb%2Fwiklou.git diff --git a/stylesheets/feed.css b/stylesheets/feed.css index 73cce5415a..fa52a45c22 100644 --- a/stylesheets/feed.css +++ b/stylesheets/feed.css @@ -1,6 +1,17 @@ -/* Make RSS and Atom feeds at least semi-legible to folk who accidentally load them in a browser */ +/* +Make RSS and Atom feeds at least semi-legible to folk who accidentally +load them in a browser... -/* RSS: */ rss, channel, title, link, description, language, generator, lastBuildDate, item, pubDate, author, comments, +Compatibility: +* Mozilla is fine. +* Safari 1.2: the RSS text isn't shown +* Opera 7.5 uses the style sheet instead of its native RSS mode. +* IE/Mac 5.2: none of the :before content works; doesn't get the charset right and displays garbage for non-ASCII. +* IE/Win 6.0: No background color, borders, font size, font weight, or :before content. + +*/ + +/* RSS: */ rss, channel, title, link, description, language, generator, lastBuildDate, item, pubDate, author, comments, creator, /* Atom: */ feed, modified, tagline, entry, issued, created, summary, comment { display: block; } @@ -14,11 +25,11 @@ rss, feed { } rss:before { - content: "This RSS feed is meant to be read by a syndicated news reader, and isn't ideal for a web browser."; + content: "This RSS feed is meant to be read in a syndicated news reader, and isn't ideal for a web browser."; } feed:before { - content: "This Atom feed is meant to be read by a syndicated news reader, and isn't ideal for a web browser."; + content: "This Atom feed is meant to be read in a syndicated news reader, and isn't ideal for a web browser."; } rss:before, feed:before { color: red; @@ -53,7 +64,7 @@ item>description, entry>summary { pubDate:before { content: "Date: " } link:before { content: "Link: " } -author:before { content: "Author: " } +author:before, creator:before { content: "Author: " } description:before { content: "Description: " } generator:before { content: "Generator: " } @@ -71,8 +82,11 @@ comment:before { content: "Comment: " } pubDate:before, link:before, author:before, description:before, language:before, generator:before, lastBuildDate:before, comments:before, tagline:before, issued:before, created:before, modified:before, -summary:before, comment:before { +summary:before, comment:before, creator:before { color: #224; font-weight: bold; } +feed link:after { + content: attr(href); +}