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 {
margin: 0 0 $indent-var;
& + p {
//siblings indentation
text-indent: $indent-var;
margin-top: -($indent-var);
// sibling indentation
@if $paragraph-indent == true {
& + p {
text-indent: $indent-var;
margin-top: -($indent-var);
}
}
}

View file

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

View file

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