Commit Graph

7 Commits

Author SHA1 Message Date
Anthony Johnson
9f908fff9c Fix Safari over-scroll bug, fixes #218
Protect against negative scroll values or scroll values past the end of the
document. Stop scrolling if this is the case.
2015-07-17 15:48:27 -07:00
Anthony Johnson
b66be12f8c Add 3 + 4th levels to nav and more intuitive scrolling
Adds l3 + l4 nav menus, with more intuitive scrolling to make wandering the
additional nav menu items much easier. Resolves #25. Resolves #76.

* Reuses some styles for l3 + l4 navs items
* Nav interaction was changed to be more intuitive:
  * Nav is always sticky, doesn't scroll past end of content
  * Nav scrolls up immediately on window scroll events
  * Nav scrolls independently
  * Adds TOC expand plus links to the left of nav elements with children, these
    are added and update dynamically
  * Links in nav don't automatically scroll nav
  * Scrolling content will start scrolling nav again
  * Adds URL fragment handling to link and show current anchor links
2015-05-04 14:27:12 -07:00
Will Stevens
c6f7a1771e made sticky nav actually stick even on long menus 2015-03-09 14:16:15 -07:00
Thibault Cohen
e374f68b47 "Localize" modernizr 2014-08-27 11:42:14 -04:00
Eric Holscher
7f4fe26686 Clean up JS file 2014-01-19 07:50:22 +07:00
Eric Hough
30f5c683eb Turning off sticky navigation if navbar is taller than window
Conflicts:
	sass/_theme_layout.sass
	sphinx_rtd_theme/layout.html
2014-01-07 17:39:48 -05:00
Matthew Iversen
b99bad47b5 Update setup.py to work, rework file structure
- rebase sass files to ./sass
- Place all theme files in ./sphinx_rtd_theme
- Grunt now uses `default` and `build` tasks
- `build` will minify css for committing / dist
- Added Gemfile and requirements.txt for python/ruby requirements
- Cleaned up Gruntfile, copying no longer needed.
- moved compass config to compass.rb

Squashed commits:

- Move out sphinx_rtd_theme to root folder
- Manifest unneeded
- Move out sass to root dir
- Remove dist from git
- Reconfigure paths
- Add requirements for sphinx
- Add gemfile for compass
- Udpate components path
- Move to static/css
- Add line for rbenv
- Require livereload, don't need copy
- Comment static path, update theme path for demo conf.py
- Add css files
- Correct name of .ruby-version...
- Update path to theme.css
- Remove unprefixed badge_only.css
- Update location of theme.js
- Update paths in Gruntfile, tasks
- re-add __init__.py, bump version
- Update setup.py to pick up version easily
- Move config.rb to compass.rb
- Correct compass import paths
- Add debug / production environment
- Commit with production built css
- Add theme.conf, get requires from requirements.txt
- rename tasks, use sphinx-build, add comments
- Fix font path
- Update css files
2013-11-04 20:37:27 +11:00