Localisation updates from https://translatewiki.net.
[mediawiki.git] / skins / common / feed.css
blobdc0453dce2c61eff8a687aa6201409789b588d56
1 /*
2 Make RSS and Atom feeds at least semi-legible to folk who accidentally
3 load them in a browser...
5 Compatibility:
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.
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;
19 rss, 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%;
28 rss:before {
29 content: "This RSS feed is meant to be read in a syndicated news reader, and isn't ideal for a web browser.";
32 feed:before {
33 content: "This Atom feed is meant to be read in a syndicated news reader, and isn't ideal for a web browser.";
36 rss:before, feed:before {
37 color: red;
38 text-align: center;
39 line-height: 2em;
42 channel > title,
43 item > title,
44 feed > title,
45 entry > title {
46 font-weight: bold;
47 border-bottom: solid 1px #aaa;
48 margin-left: -0.5em;
51 channel > title, feed > title {
52 font-size: larger;
55 item > title, entry > title {
56 font-size: large;
59 item, entry {
60 margin-top: 1em;
61 margin-left: 2em;
64 item > description, entry > summary {
65 white-space: pre;
66 overflow: auto;
67 background: #f8f8ff;
70 pubDate:before {
71 content: "Date: ";
74 link:before {
75 content: "Link: ";
78 author:before, creator:before {
79 content: "Author: ";
82 description:before {
83 content: "Description: ";
86 id:before {
87 content: "Id: ";
90 generator:before {
91 content: "Generator: ";
94 language:before {
95 content: "Language: ";
98 lastBuildDate:before {
99 content: "Updated: ";
102 comments:before {
103 content: "Comments page: ";
106 tagline:before {
107 content: "Tagline: ";
110 issued:before {
111 content: "Issued: ";
114 created:before {
115 content: "Created: ";
118 modified:before {
119 content: "Modified: ";
122 updated:before {
123 content: "Updated: ";
126 summary:before {
127 content: "Summary: ";
130 comment:before {
131 content: "Comment: ";
134 pubDate:before, link:before, author:before, description:before,
135 language:before, generator:before, lastBuildDate:before, comments:before,
136 tagline:before, issued:before, created:before, modified:before,
137 summary:before, comment:before, creator:before, id:before, updated:before {
138 color: #224;
139 font-weight: bold;
142 feed link:after {
143 content: attr(href);