From 76733bb3468888028e6f619928569d5275561142 Mon Sep 17 00:00:00 2001 From: vv01f Date: Thu, 8 Apr 2021 10:22:44 +0200 Subject: [PATCH] basic css for the feed --- style-rss.css | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/style-rss.css b/style-rss.css index ec04c9b..09b46fb 100644 --- a/style-rss.css +++ b/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; }