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

github.com/twbs/bootstrap-sass.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <github@chrisrebert.com>2015-12-16 10:59:47 +0300
committerChris Rebert <github@chrisrebert.com>2015-12-16 10:59:47 +0300
commitd07b75677e830090e11a0039613e9bdc5ba65df1 (patch)
treec85455f789beca494253910c27146fcacf5fa2be
parent70f6d4de61771e65be8ff1ec23c50d33c447ce01 (diff)
parent362dc3a081cc63a85f7fdb8939e43a2c8b803b60 (diff)
Merge pull request #994 from twbs/readme-config
README: Promote "Configuration" section to an <h2>
-rw-r--r--README.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index 290139ad..24365069 100644
--- a/README.md
+++ b/README.md
@@ -182,9 +182,9 @@ $ npm install bootstrap-sass
```
-### Configuration
+## Configuration
-#### Sass
+### Sass
By default all of Bootstrap is imported.
@@ -197,18 +197,18 @@ In the application Sass file, replace `@import 'bootstrap'` with:
@import 'bootstrap-custom';
```
-#### Sass: Number Precision
+### Sass: Number Precision
bootstrap-sass [requires](https://github.com/twbs/bootstrap-sass/issues/409) minimum [Sass number precision][sass-precision] of 8 (default is 5).
Precision is set for Rails and Compass automatically.
-When using ruby Sass compiler standalone or with the Bower version you can set it with:
+When using Ruby Sass compiler standalone or with the Bower version you can set it with:
```ruby
::Sass::Script::Value::Number.precision = [8, ::Sass::Script::Value::Number.precision].max
```
-#### Sass: Autoprefixer
+### Sass: Autoprefixer
Bootstrap requires the use of [Autoprefixer][autoprefixer].
[Autoprefixer][autoprefixer] adds vendor prefixes to CSS rules using values from [Can I Use](http://caniuse.com/).
@@ -227,7 +227,7 @@ To match [upstream Bootstrap's level of browser compatibility](http://getbootstr
]
```
-#### JavaScript
+### JavaScript
[`assets/javascripts/bootstrap.js`](/assets/javascripts/bootstrap.js) contains all of Bootstrap's JavaScript,
concatenated in the [correct order](/assets/javascripts/bootstrap-sprockets.js).
@@ -251,7 +251,7 @@ You can check dependencies in the [Bootstrap JS documentation][jsdocs].
//= require bootstrap/dropdown
```
-#### Fonts
+### Fonts
The fonts are referenced as: