Skip to content

Commit

Permalink
Include documentation on disabling animations (mmistakes#1150)
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Dimou authored and mmistakes committed Aug 3, 2017
1 parent c9ef5d3 commit ff27ea6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/_docs/16-stylesheets.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ To override the default [Sass](http://sass-lang.com/guide) (located in theme's

1. Copy directly from the Minimal Mistakes theme gem

- Go to your local Minimal Mistakes gem installation directory (run
- Go to your local Basically Basic gem installation directory (run
`bundle show minimal-mistakes-jekyll` to get the path to it).
- Copy the contents of `/assets/css/main.scss` from there to
`<your_project>`.
Expand Down Expand Up @@ -161,3 +161,12 @@ And `$susy` is used for setting [the grid](http://susy.oddbird.net/) the theme u
<img src="{{ '/assets/images/mm-susy-grid-overlay.jpg' | absolute_url }}" alt="Susy grid overlay for debugging">
<figcaption>Susy grid debug overlay enabled.</figcaption>
</figure>

### Disabling Animations

You can disable either the fade-in intro animation, element tranisition animations, or both by overriding the corresponding variables. For example if you wanted to disable all animations you could include the following lines:

```scss
$intro-transition : none;
$global-transition : none;
```

0 comments on commit ff27ea6

Please sign in to comment.