[rb-general] [PATCH 1/4] Equalize width of <p>, <ul> & <ol> in posts

Clemens Lang cal at macports.org
Tue Dec 6 23:11:43 CET 2016


From: Clemens Lang <neverpanic at gmail.com>

The wide ul and ol lists look a little out of place next to the
width-limited paragraphs in posts, such as the announcement post for
Berlin at
  /news/2016/12/13/reproducible-builds-berlin-meeting/

Fix this by limiting the lists to the paragraph width as well. It seems
the meeting announcements are the only places where we used bulleted
lists with wide text.
---
 css/main.css | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/css/main.css b/css/main.css
index 0f168f4..88fb5f9 100644
--- a/css/main.css
+++ b/css/main.css
@@ -59,7 +59,7 @@
   }
 }
 
-.home .text p, .post-content .text p {
+.home .text p, .post-content .text p, .home .text ul, .home .text ol, .post-content .text ul, .post-content .text ol {
   max-width: 60ex;
   margin-bottom: 1rem;
 }
-- 
2.10.2



More information about the rb-general mailing list