addons/firefox-addons/feed-preview

changeset 30:b9dc94ce2eeb

Use a more compact style for feed entry content
author Guido Berhoerster <guido+feed-preview@berhoerster.name>
date Tue Jan 22 10:43:24 2019 +0100 (16 months ago)
parents 688d75e554e0
children 76e23b361e92
files web_resources/style/entry-content.css web_resources/style/feed-preview.css
line diff
     1.1 --- a/web_resources/style/entry-content.css	Mon Jan 21 15:15:59 2019 +0100
     1.2 +++ b/web_resources/style/entry-content.css	Tue Jan 22 10:43:24 2019 +0100
     1.3 @@ -8,7 +8,20 @@
     1.4  
     1.5  @import url("common.css");
     1.6  
     1.7 -html,
     1.8  body {
     1.9    padding: 4px;
    1.10  }
    1.11 +
    1.12 +body > :first-child {
    1.13 +  margin-block-start: 0;
    1.14 +}
    1.15 +
    1.16 +p {
    1.17 +  margin-block-start: 0;
    1.18 +  margin-block-stop: 0;
    1.19 +}
    1.20 +
    1.21 +img {
    1.22 +  margin-block-start: 0;
    1.23 +  margin-block-stop: 0;
    1.24 +}
     2.1 --- a/web_resources/style/feed-preview.css	Mon Jan 21 15:15:59 2019 +0100
     2.2 +++ b/web_resources/style/feed-preview.css	Tue Jan 22 10:43:24 2019 +0100
     2.3 @@ -261,7 +261,7 @@
     2.4  
     2.5  .entry-content {
     2.6    width: 100%;
     2.7 -  height: 24em;
     2.8 +  height: 16em;
     2.9    border: var(--entry-content-border);
    2.10  }
    2.11