From 8f89fe635312f6a1982f71118d9a4c70ac2d48b0 Mon Sep 17 00:00:00 2001 From: lancewillett Date: Sun, 5 Aug 2012 19:56:42 +0000 Subject: [PATCH] Twenty Twelve: justify text in smaller views, props chriswallace. Fixes #21385. git-svn-id: http://core.svn.wordpress.org/trunk@21426 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- rtl.css | 3 +++ style.css | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/rtl.css b/rtl.css index 4aabe63ec..8a5347841 100644 --- a/rtl.css +++ b/rtl.css @@ -187,6 +187,9 @@ label ~ span.required { /* Minimum width of 600 pixels. */ @media screen and (min-width: 600px) { + .entry-content p { + text-align: right; + } .page-template-homepage-php .widget-area .widget_text img { float: right; margin: 8px 0 8px 24px; diff --git a/style.css b/style.css index 56429f075..33ab8b453 100644 --- a/style.css +++ b/style.css @@ -765,6 +765,8 @@ article.sticky .featured-post { margin: 0 0 24px; margin: 0 0 1.714285714rem; line-height: 1.714285714; + text-align: justify; + text-justify: distribute; } .entry-content ol, .comment-content ol, @@ -1321,6 +1323,10 @@ label ~ span.required { /* Minimum width of 600 pixels. */ @media screen and (min-width: 600px) { + .entry-content p { + text-align: left; + text-justify: auto; + } #author-avatar { float: left; margin-top: 8px;