Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/JohnAlbin/normalize-scss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnAlbin <virtually.johnalbin@gmail.com>2012-03-17 18:30:25 +0400
committerJohnAlbin <virtually.johnalbin@gmail.com>2012-03-31 08:14:08 +0400
commite05a49377517728b6dd8f29513fe6babc670b306 (patch)
treeb7f32d5fe33e8fcd8457f5a6e59a1c04fa846397
parent44bb1cba2a767fab82a76db0ae393f1283ba2a7f (diff)
Add $indent-amount variable for lists and blockquotes. fixes #31.2
-rw-r--r--normalize.scss9
1 files changed, 6 insertions, 3 deletions
diff --git a/normalize.scss b/normalize.scss
index c2cd051..c2f78bb 100644
--- a/normalize.scss
+++ b/normalize.scss
@@ -35,6 +35,9 @@ $h6-font-size: 0.75 * $base-font-size !default;
// The default font family. You should set $base-font-family in your _base partial.
$base-font-family: sans-serif !default;
+// The amount lists and blockquotes are indented.
+$indent-amount: 40px !default;
+
// After the default variables are set, import the required Compass partials.
@import "compass/support";
@import "compass/css3/box-sizing";
@@ -227,7 +230,7 @@ strong {
blockquote {
/* Sets 1 unit of vertical rhythm on the top and bottom margin. */
- margin: rhythm(1) 40px;
+ margin: rhythm(1) $indent-amount;
}
/*
@@ -345,7 +348,7 @@ ul {
}
dd {
- margin: 0 0 0 40px;
+ margin: 0 0 0 $indent-amount;
}
/*
@@ -355,7 +358,7 @@ dd {
menu,
ol,
ul {
- padding: 0 0 0 40px;
+ padding: 0 0 0 $indent-amount;
}
/*