guix-commits
[Top][All Lists]
Advanced

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

01/01: website: Limit the width of blog posts.


From: Ludovic Courtès
Subject: 01/01: website: Limit the width of blog posts.
Date: Fri, 25 Oct 2019 08:14:48 -0400 (EDT)

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

commit 08b152d4b6169c3f503e01c10a3a2b2d1b5c4d56
Author: Ludovic Courtès <address@hidden>
Date:   Fri Oct 25 14:09:46 2019 +0200

    website: Limit the width of blog posts.
    
    * website/static/blog/css/post.css (article.limit-width): New element.
---
 website/static/blog/css/post.css | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/website/static/blog/css/post.css b/website/static/blog/css/post.css
index 29d4c1a..f668dda 100644
--- a/website/static/blog/css/post.css
+++ b/website/static/blog/css/post.css
@@ -33,3 +33,8 @@ article {
     font-weight: bold;
     margin-bottom: 30px;
 }
+
+/* Aim for ~12 words per line for good readability.  */
+article.limit-width {
+    max-width: 720px;
+}



reply via email to

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