guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/05: website: news: Correctly display inline images in posts.


From: Ludovic Courtès
Subject: 02/05: website: news: Correctly display inline images in posts.
Date: Thu, 10 Nov 2016 22:22:46 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix-artwork.

commit 4c322d36bc02e5e35464afa753fbf1b1da9de8f6
Author: Ludovic Courtès <address@hidden>
Date:   Thu Nov 10 23:05:19 2016 +0100

    website: news: Correctly display inline images in posts.
    
    * website/static/base/css/news.css (img): New category.
---
 website/static/base/css/news.css |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/website/static/base/css/news.css b/website/static/base/css/news.css
index 7e50998..370a5e1 100644
--- a/website/static/base/css/news.css
+++ b/website/static/base/css/news.css
@@ -29,3 +29,17 @@
 p {
     hyphens: auto;
 }
+
+img {
+    display: block;
+    margin: auto;
+    padding: 20px;
+}
+
address@hidden screen and (min-width: 1024px) {
+    img {
+       float: right;
+       margin-left: 20px;
+       padding: 0px;
+    }
+}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]