Toggle paragraph indentation on and off.

- On by default
This commit is contained in:
Michael Rose 2014-07-31 14:44:23 -04:00
parent dd3dcdfbdf
commit f397374973
3 changed files with 9 additions and 5 deletions

View file

@ -112,10 +112,12 @@ blockquote {
// -------------------------------------------------- // --------------------------------------------------
p { p {
margin: 0 0 $indent-var; margin: 0 0 $indent-var;
& + p { // sibling indentation
//siblings indentation @if $paragraph-indent == true {
text-indent: $indent-var; & + p {
margin-top: -($indent-var); text-indent: $indent-var;
margin-top: -($indent-var);
}
} }
} }

View file

@ -1,6 +1,7 @@
// TYPOGRAPHY ================================================ // TYPOGRAPHY ================================================
$doc-font-size: 16; $doc-font-size: 16;
$doc-line-height: 26; $doc-line-height: 26;
$paragraph-indent: true !default;
$base-font: 'PT Serif', serif; $base-font: 'PT Serif', serif;
$heading-font: 'PT Sans Narrow', sans-serif; $heading-font: 'PT Sans Narrow', sans-serif;
$code-font: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace; $code-font: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;

View file

@ -24,4 +24,5 @@ sitemap: false
@import "forms"; @import "forms";
@import "page"; @import "page";
@import "vendor/font-awesome/font-awesome"; @import "vendor/font-awesome/font-awesome";
@import "vendor/magnific-popup/magnific-popup"; @import "vendor/magnific-popup/magnific-popup";
@import "vendor/google/fonts";