Browse Source

reorganise rules

Hugo Roy 9 years ago
parent
commit
898f20ce57
1 changed files with 14 additions and 13 deletions
  1. 14 13
      _sass/typography.scss

+ 14 - 13
_sass/typography.scss

@@ -137,22 +137,23 @@ p {
     -ms-hyphens: auto;
     -ms-hyphens: auto;
     -moz-hyphens: auto;
     -moz-hyphens: auto;
     hyphens: auto;
     hyphens: auto;
-}
 
 
-.post article p {
-  @if $paragraph-indent == true {
-    & {
-			text-indent: $indent-var;
-		}
-	// sibling indentation
     & + p {
     & + p {
-			text-indent: $indent-var;
+        margin-top: -($indent-var);
-			margin-top: -($indent-var);
+    }
-		}
+}
-    blockquote &, table &, figure &, header &, footer &, .noindent & {
+
-        text-indent: 0;
+@if $paragraph-indent == true {
+    .post article {
+        p {
+                text-indent: $indent-var;
+            }
+    }
+    blockquote, table, figure, header, footer, .noindent {
+        p {
+            text-indent: 0;
+        }
     }
     }
-  }
 }
 }
 
 
 /*
 /*