Browse Source

Justification et césure automatique des paragraphes

Et préciser que les alinéas de paragraphe ne sont que dans le corps du billet et pas ailleurs.
Hugo Roy 9 years ago
parent
commit
4a638f2983
1 changed files with 9 additions and 1 deletions
  1. 9 1
      _sass/typography.scss

+ 9 - 1
_sass/typography.scss

@@ -132,11 +132,19 @@ blockquote {
 
 p {
 	margin: 0 0 $indent-var;
-	// sibling indentation
+    text-align: justify;
+    -webkit-hyphens: auto;
+    -ms-hyphens: auto;
+    -moz-hyphens: auto;
+    hyphens: auto;
+}
+
+.post p {
   @if $paragraph-indent == true {
     & {
 			text-indent: $indent-var;
 		}
+	// sibling indentation
     & + p {
 			text-indent: $indent-var;
 			margin-top: -($indent-var);