Toggle paragraph indentation on and off.
- On by default
This commit is contained in:
parent
dd3dcdfbdf
commit
f397374973
3 changed files with 9 additions and 5 deletions
|
@ -112,11 +112,13 @@ blockquote {
|
|||
// --------------------------------------------------
|
||||
p {
|
||||
margin: 0 0 $indent-var;
|
||||
// sibling indentation
|
||||
@if $paragraph-indent == true {
|
||||
& + p {
|
||||
//siblings indentation
|
||||
text-indent: $indent-var;
|
||||
margin-top: -($indent-var);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Code
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -25,3 +25,4 @@ sitemap: false
|
|||
@import "page";
|
||||
@import "vendor/font-awesome/font-awesome";
|
||||
@import "vendor/magnific-popup/magnific-popup";
|
||||
@import "vendor/google/fonts";
|
Loading…
Reference in a new issue