basic css for the feed

This commit is contained in:
vv01f 2021-04-08 10:22:44 +02:00
parent 061a3cbcee
commit 76733bb346
No known key found for this signature in database
GPG Key ID: 02625A16AC1D1FF6
1 changed files with 18 additions and 20 deletions

View File

@ -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;
}