clean up 2011 files
[libreplanet-static.git] / 2011 / skins / common / feed.css
CommitLineData
64a19c3d
ML
1/*
2Make RSS and Atom feeds at least semi-legible to folk who accidentally
3load them in a browser...
4
5Compatibility:
6* Mozilla is fine.
7* Safari 1.2: the RSS <link> text isn't shown
8* Opera 7.5 uses the style sheet instead of its native RSS mode.
9* IE/Mac 5.2: none of the :before content works; doesn't get the charset right and displays garbage for non-ASCII.
10* IE/Win 6.0: No background color, borders, font size, font weight, or :before content.
11
12*/
13
14/* RSS: */ rss, channel, title, link, description, language, generator, lastBuildDate, item, pubDate, author, comments, creator,
15/* Atom: */ feed, id, modified, tagline, entry, issued, created, updated, summary, comment {
16 display: block;
17}
18
19rss, feed {
20 background: white;
21 color: black;
22 margin: 1em;
23 font-family: "Verdana", "Tahoma", "Arial", "Helvetica", sans-serif;
24 line-height: 1.5em;
25 font-size: 76%;
26}
27
28rss:before {
29 content: "This RSS feed is meant to be read in a syndicated news reader, and isn't ideal for a web browser.";
30}
31
32feed:before {
33 content: "This Atom feed is meant to be read in a syndicated news reader, and isn't ideal for a web browser.";
34}
35rss:before, feed:before {
36 color: red;
37 text-align: center;
38 line-height: 2em;
39}
40
41channel>title,
42item>title,
43feed>title,
44entry>title {
45 font-weight: bold;
46 border-bottom: solid 1px #aaa;
47 margin-left: -0.5em;
48}
49channel>title, feed>title {
50 font-size: larger;
51}
52item>title, entry>title {
53 font-size: large;
54}
55item, entry {
56 margin-top: 1em;
57 margin-left: 2em;
58}
59
60item>description, entry>summary {
61 white-space: pre;
62 overflow: auto;
63 background: #f8f8ff;
64}
65
66pubDate:before { content: "Date: " }
67link:before { content: "Link: " }
68author:before, creator:before { content: "Author: " }
69description:before { content: "Description: " }
70id:before { content: "Id: " }
71
72generator:before { content: "Generator: " }
73language:before { content: "Language: " }
74lastBuildDate:before { content: "Updated: " }
75comments:before { content: "Comments page: " }
76
77tagline:before { content: "Tagline: " }
78issued:before { content: "Issued: " }
79created:before { content: "Created: " }
80modified:before { content: "Modified: " }
81updated:before { content: "Updated: " }
82summary:before { content: "Summary: " }
83comment:before { content: "Comment: " }
84
85pubDate:before, link:before, author:before, description:before,
86language:before, generator:before, lastBuildDate:before, comments:before,
87tagline:before, issued:before, created:before, modified:before,
88summary:before, comment:before, creator:before, id:before, updated:before {
89 color: #224;
90 font-weight: bold;
91}
92
93feed link:after {
94 content: attr(href);
95}