Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Include documentation on disabling animations (mmistakes#1150)
Browse files Browse the repository at this point in the history
  • Loading branch information
makaroniame committed Aug 3, 2017
1 parent af93fb4 commit c1837fd
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 c1837fd

Please sign in to comment.