mmistakes / jekyll-theme-skinny-bones

A Jekyll starter with a variety of flexible layouts and components.
https://mmistakes.github.io/jekyll-theme-skinny-bones
MIT License
802 stars 907 forks source link

disable page open animation #62

Closed maxheld83 closed 8 years ago

maxheld83 commented 8 years ago

I really like the subtle animations throughout the theme.

I'd like to disable the animation on page open, though.

Is there an elegant simple way to disable this?

mmistakes commented 8 years ago

I'm pretty sure the only animations used are for the overlay menu that slides in on click. Unless I'm completely delusional there shouldn't be any sort of page open animation. I have one on my personal site but not on the theme.

If you want to remove animations they're all done via CSS. Look for declarations that start with transition:, those set the type of easing and the duration between states. If that's removed it won't tween the states and you'll just get a static cut without the smoothness between.

maxheld83 commented 8 years ago

It's very possible that I am delusional, and I can't seem to be able to reproduce this reliably, but sometimes when I refresh (though not open) a page on http://www.maxheld.de it looks the like the main body is being squeezed in from the top left corner in both safari and chrome.

The transitions, as you point out, all seem to refer to the overlay on click.

mmistakes commented 8 years ago

I don't think it's an animation doing that. Most likely it's the page loading and/or an image that pushes the content out as it comes in. Giving the impression things are moving.

On Sunday, March 6, 2016, Maximilian Held notifications@github.com wrote:

It's very possible that I am delusional, and I can't seem to be able to reproduce this reliably, but sometimes when I refresh (though not open) a page on http://www.maxheld.de it looks the like the main body is being squeezed in from the top left corner in both safari and chrome.

The transitions, as you point out, all seem to refer to the overlay on click.

— Reply to this email directly or view it on GitHub https://github.com/mmistakes/skinny-bones-jekyll/issues/62#issuecomment-192890109 .

maxheld83 commented 8 years ago

hehe, that's funny. Makes sense