Browse Source

basic css for the feed

master
vv01f 1 year ago
parent
commit
76733bb346
No known key found for this signature in database
GPG Key ID: 2625A16AC1D1FF6
  1. 38
      style-rss.css

38
style-rss.css

@ -2,6 +2,9 @@ rss {
display: block;
font-family: verdana, arial;
}
channel {
display: inline-grid;
}
channel title {
display: block;
margin: 5px;
@ -10,38 +13,33 @@ channel title {
border-bottom: 1px solid silver;
font-size: 2em;
}
link {
channel > link {
display: block;
font-size: small;
color: blue;
padding-left: 10px;
}
item {
display: block;
padding: 2px 30px 2px 30px;
}
docs {
display: block;
background-color: #ffffe6;
margin: 20px;
channel item {
display: inline-block;
text-align: center;
padding: 5px;
color: #7f7f7f;
border: 1px solid silver;
margin-top: 1em;
}
description {
display: block;
font-size: 1.2em;
}
pubDate:before {
pubDate::before {
content:"Veröffentlicht: ";
}
managingEditor:before{
managingEditor::before{
content:"E-Mail: ";
}
lastBuildDate:before{
lastBuildDate::before{
content:"Letzte Aktualisierung: ";
}
enclosure::before {
display: block;
content: attr(url);
font-size: small;
color: blue;
}
/* all hidden elements */
channel link, channel image, image title, language, ttl, guid, category {
item > link, item > description, channel image, image title, language, ttl, guid, category {
display: none;
}

Loading…
Cancel
Save