changeset 30:b9dc94ce2eeb

Use a more compact style for feed entry content
author Guido Berhoerster <guido+feed-preview@berhoerster.name>
date Tue, 22 Jan 2019 10:43:24 +0100
parents 688d75e554e0
children 76e23b361e92
files web_resources/style/entry-content.css web_resources/style/feed-preview.css
diffstat 2 files changed, 15 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/web_resources/style/entry-content.css	Mon Jan 21 15:15:59 2019 +0100
+++ b/web_resources/style/entry-content.css	Tue Jan 22 10:43:24 2019 +0100
@@ -8,7 +8,20 @@
 
 @import url("common.css");
 
-html,
 body {
   padding: 4px;
 }
+
+body > :first-child {
+  margin-block-start: 0;
+}
+
+p {
+  margin-block-start: 0;
+  margin-block-stop: 0;
+}
+
+img {
+  margin-block-start: 0;
+  margin-block-stop: 0;
+}
--- a/web_resources/style/feed-preview.css	Mon Jan 21 15:15:59 2019 +0100
+++ b/web_resources/style/feed-preview.css	Tue Jan 22 10:43:24 2019 +0100
@@ -261,7 +261,7 @@
 
 .entry-content {
   width: 100%;
-  height: 24em;
+  height: 16em;
   border: var(--entry-content-border);
 }